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