Class ContentCatalogDescriptionFactory
java.lang.Object
com.echothree.model.data.content.server.factory.ContentCatalogDescriptionFactory
- All Implemented Interfaces:
BaseFactory<ContentCatalogDescriptionPK,ContentCatalogDescription>
@ApplicationScoped
public class ContentCatalogDescriptionFactory
extends Object
implements BaseFactory<ContentCatalogDescriptionPK,ContentCatalogDescription>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of ContentCatalogDescriptionFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(ContentCatalogPK contentCatalogPK, LanguagePK languagePK, String description, Long fromTime, Long thruTime) create(ContentCatalog contentCatalog, Language language, String description, Long fromTime, Long thruTime) voidcreate(Collection<ContentCatalogDescriptionValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<ContentCatalogDescriptionPK> 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, ContentCatalogDescriptionPK 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, ContentCatalogDescriptionValue value) getPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(ContentCatalogDescription entity) voidvoidstore(ContentCatalogDescription entity) voidstore(Collection<ContentCatalogDescription> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
CNTCTD_CONTENTCATALOGDESCRIPTIONID
- See Also:
-
CNTCTD_CNTCT_CONTENTCATALOGID
- See Also:
-
CNTCTD_LANG_LANGUAGEID
- See Also:
-
CNTCTD_DESCRIPTION
- See Also:
-
CNTCTD_FROMTIME
- See Also:
-
CNTCTD_THRUTIME
- See Also:
-
-
Constructor Details
-
ContentCatalogDescriptionFactory
protected ContentCatalogDescriptionFactory()Creates a new instance of ContentCatalogDescriptionFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<ContentCatalogDescriptionPK,ContentCatalogDescription>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<ContentCatalogDescriptionPK,ContentCatalogDescription>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<ContentCatalogDescriptionPK,ContentCatalogDescription>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<ContentCatalogDescriptionPK,ContentCatalogDescription>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<ContentCatalogDescriptionPK,ContentCatalogDescription>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<ContentCatalogDescriptionPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<ContentCatalogDescriptionPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
public ContentCatalogDescriptionPK getPKFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<ContentCatalogDescriptionValue> getValuesFromPKs(Collection<ContentCatalogDescriptionPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public ContentCatalogDescriptionValue getValueFromPK(ContentCatalogDescriptionPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<ContentCatalogDescriptionValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public ContentCatalogDescriptionValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<ContentCatalogDescription> getEntitiesFromPKs(EntityPermission entityPermission, Collection<ContentCatalogDescriptionPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public ContentCatalogDescription getEntityFromValue(EntityPermission entityPermission, ContentCatalogDescriptionValue value) -
getEntityFromCache
-
getEntityFromPK
public ContentCatalogDescription getEntityFromPK(EntityPermission entityPermission, ContentCatalogDescriptionPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<ContentCatalogDescriptionPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<ContentCatalogDescriptionPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public ContentCatalogDescriptionPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ContentCatalogDescription> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ContentCatalogDescription> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ContentCatalogDescription> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ContentCatalogDescription getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ContentCatalogDescription getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ContentCatalogDescription getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<ContentCatalogDescription> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public ContentCatalogDescription getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public ContentCatalogDescription create(ContentCatalog contentCatalog, Language language, String description, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public ContentCatalogDescription create(ContentCatalogPK contentCatalogPK, LanguagePK languagePK, String description, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<ContentCatalogDescriptionValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<ContentCatalogDescriptionPK,ContentCatalogDescription> - Throws:
PersistenceDatabaseException
-
store
public void store(Collection<ContentCatalogDescription> entities) throws PersistenceDatabaseException - Specified by:
storein interfaceBaseFactory<ContentCatalogDescriptionPK,ContentCatalogDescription> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<ContentCatalogDescriptionPK,ContentCatalogDescription> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<ContentCatalogDescriptionPK,ContentCatalogDescription> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<ContentCatalogDescriptionPK,ContentCatalogDescription> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<ContentCatalogDescriptionPK,ContentCatalogDescription> - Throws:
PersistenceDatabaseException
-