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) voidcreate(Collection<ContentCollectionDetailValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<ContentCollectionDetailPK> pks) getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) getEntityFromPK(EntityPermission entityPermission, ContentCollectionDetailPK pk) getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) getEntityFromValue(EntityPermission entityPermission, ContentCollectionDetailValue value) getPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(ContentCollectionDetail entity) voidvoidstore(ContentCollectionDetail entity) voidstore(Collection<ContentCollectionDetail> entities) boolean
-
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(Collection<ContentCollectionDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public ContentCollectionDetailValue getValueFromPK(ContentCollectionDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<ContentCollectionDetailValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public ContentCollectionDetailValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<ContentCollectionDetail> getEntitiesFromPKs(EntityPermission entityPermission, Collection<ContentCollectionDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public ContentCollectionDetail getEntityFromValue(EntityPermission entityPermission, ContentCollectionDetailValue value) -
getEntityFromCache
-
getEntityFromPK
public ContentCollectionDetail getEntityFromPK(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(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) 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, 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(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ContentCollectionDetail getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<ContentCollectionDetail> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public ContentCollectionDetail getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public ContentCollectionDetail create(ContentCollection contentCollection, String contentCollectionName, OfferUse defaultOfferUse, 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(Collection<ContentCollectionDetailValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<ContentCollectionDetailPK,ContentCollectionDetail> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
storein interfaceBaseFactory<ContentCollectionDetailPK,ContentCollectionDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<ContentCollectionDetailPK,ContentCollectionDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<ContentCollectionDetailPK,ContentCollectionDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<ContentCollectionDetailPK,ContentCollectionDetail> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<ContentCollectionDetailPK,ContentCollectionDetail> - Throws:
PersistenceDatabaseException
-