Class ContentCollectionDetailFactory
java.lang.Object
com.echothree.model.data.content.server.factory.ContentCollectionDetailFactory
- All Implemented Interfaces:
BaseFactory<ContentCollectionDetailPK,ContentCollectionDetail>
@ApplicationScoped
public class ContentCollectionDetailFactory
extends Object
implements BaseFactory<ContentCollectionDetailPK,ContentCollectionDetail>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of ContentCollectionDetailFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(ContentCollectionPK contentCollectionPK, String contentCollectionName, OfferUsePK defaultOfferUsePK, Long fromTime, Long thruTime) create(ContentCollection contentCollection, String contentCollectionName, OfferUse defaultOfferUse, Long fromTime, Long thruTime) create(Session session, ContentCollectionPK contentCollectionPK, String contentCollectionName, OfferUsePK defaultOfferUsePK, Long fromTime, Long thruTime) create(Session session, ContentCollection contentCollection, String contentCollectionName, OfferUse defaultOfferUse, Long fromTime, Long thruTime) voidcreate(Session session, Collection<ContentCollectionDetailValue> _values) voidcreate(Collection<ContentCollectionDetailValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<ContentCollectionDetailPK> pks) getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<ContentCollectionDetailPK> pks) getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps) getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) getEntitiesFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) getEntitiesFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) getEntityFromCache(Session session, ContentCollectionDetailPK pk) getEntityFromPK(EntityPermission entityPermission, ContentCollectionDetailPK pk) getEntityFromPK(Session session, EntityPermission entityPermission, ContentCollectionDetailPK pk) getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps) getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) getEntityFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) getEntityFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) getEntityFromValue(EntityPermission entityPermission, ContentCollectionDetailValue value) getEntityFromValue(Session session, EntityPermission entityPermission, ContentCollectionDetailValue value) getPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) getValueFromPK(Session session, ContentCollectionDetailPK pk) getValueFromResultSet(Session session, ResultSet rs) getValuesFromPKs(Session session, Collection<ContentCollectionDetailPK> pks) getValuesFromResultSet(Session session, ResultSet rs) prepareStatement(String query) voidremove(Session session, ContentCollectionDetailPK pk) voidremove(Session session, ContentCollectionDetail entity) voidremove(Session session, Collection<ContentCollectionDetailPK> pks) voidvoidstore(Session session, ContentCollectionDetail entity) voidstore(Session session, Collection<ContentCollectionDetail> entities) voidstore(Collection<ContentCollectionDetail> entities) booleanvalidPK(Session session, ContentCollectionDetailPK pk)
-
Field Details
-
TABLE_NAME
- See Also:
-
CNTCDT_CONTENTCOLLECTIONDETAILID
- See Also:
-
CNTCDT_CNTC_CONTENTCOLLECTIONID
- See Also:
-
CNTCDT_CONTENTCOLLECTIONNAME
- See Also:
-
CNTCDT_DEFAULTOFFERUSEID
- See Also:
-
CNTCDT_FROMTIME
- See Also:
-
CNTCDT_THRUTIME
- See Also:
-
-
Constructor Details
-
ContentCollectionDetailFactory
protected ContentCollectionDetailFactory()Creates a new instance of ContentCollectionDetailFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<ContentCollectionDetailPK,ContentCollectionDetail>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<ContentCollectionDetailPK,ContentCollectionDetail>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<ContentCollectionDetailPK,ContentCollectionDetail>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<ContentCollectionDetailPK,ContentCollectionDetail>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<ContentCollectionDetailPK,ContentCollectionDetail>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<ContentCollectionDetailPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<ContentCollectionDetailPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
public ContentCollectionDetailPK getPKFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<ContentCollectionDetailValue> getValuesFromPKs(Session session, Collection<ContentCollectionDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public ContentCollectionDetailValue getValueFromPK(Session session, ContentCollectionDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<ContentCollectionDetailValue> getValuesFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public ContentCollectionDetailValue getValueFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<ContentCollectionDetail> getEntitiesFromPKs(EntityPermission entityPermission, Collection<ContentCollectionDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<ContentCollectionDetail> getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<ContentCollectionDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public ContentCollectionDetail getEntityFromValue(EntityPermission entityPermission, ContentCollectionDetailValue value) -
getEntityFromValue
public ContentCollectionDetail getEntityFromValue(Session session, EntityPermission entityPermission, ContentCollectionDetailValue value) -
getEntityFromPK
public ContentCollectionDetail getEntityFromPK(EntityPermission entityPermission, ContentCollectionDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromCache
-
getEntityFromPK
public ContentCollectionDetail getEntityFromPK(Session session, EntityPermission entityPermission, ContentCollectionDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<ContentCollectionDetailPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<ContentCollectionDetailPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public ContentCollectionDetailPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ContentCollectionDetail> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ContentCollectionDetail> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ContentCollectionDetail> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ContentCollectionDetail> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ContentCollectionDetail> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ContentCollectionDetail> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ContentCollectionDetail> getEntitiesFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ContentCollectionDetail getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ContentCollectionDetail getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ContentCollectionDetail getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ContentCollectionDetail getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ContentCollectionDetail getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ContentCollectionDetail getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ContentCollectionDetail getEntityFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<ContentCollectionDetail> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<ContentCollectionDetail> getEntitiesFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public ContentCollectionDetail getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public ContentCollectionDetail getEntityFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public ContentCollectionDetail create(Session session, ContentCollection contentCollection, String contentCollectionName, OfferUse defaultOfferUse, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public ContentCollectionDetail create(ContentCollection contentCollection, String contentCollectionName, OfferUse defaultOfferUse, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public ContentCollectionDetail create(Session session, ContentCollectionPK contentCollectionPK, String contentCollectionName, OfferUsePK defaultOfferUsePK, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public ContentCollectionDetail create(ContentCollectionPK contentCollectionPK, String contentCollectionName, OfferUsePK defaultOfferUsePK, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Session session, Collection<ContentCollectionDetailValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<ContentCollectionDetailValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
public void store(Session session, ContentCollectionDetail entity) throws PersistenceDatabaseException - Specified by:
storein interfaceBaseFactory<ContentCollectionDetailPK,ContentCollectionDetail> - Throws:
PersistenceDatabaseException
-
store
public void store(Session session, Collection<ContentCollectionDetail> entities) throws PersistenceDatabaseException - Specified by:
storein interfaceBaseFactory<ContentCollectionDetailPK,ContentCollectionDetail> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
storein interfaceBaseFactory<ContentCollectionDetailPK,ContentCollectionDetail> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Session session, ContentCollectionDetail entity) throws PersistenceDatabaseException - Specified by:
removein interfaceBaseFactory<ContentCollectionDetailPK,ContentCollectionDetail> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Session session, ContentCollectionDetailPK pk) throws PersistenceDatabaseException - Specified by:
removein interfaceBaseFactory<ContentCollectionDetailPK,ContentCollectionDetail> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Session session, Collection<ContentCollectionDetailPK> pks) throws PersistenceDatabaseException - Specified by:
removein interfaceBaseFactory<ContentCollectionDetailPK,ContentCollectionDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<ContentCollectionDetailPK,ContentCollectionDetail> - Throws:
PersistenceDatabaseException
-
validPK
public boolean validPK(Session session, ContentCollectionDetailPK pk) throws PersistenceDatabaseException - Specified by:
validPKin interfaceBaseFactory<ContentCollectionDetailPK,ContentCollectionDetail> - Throws:
PersistenceDatabaseException
-