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) create(Session session, ContentSectionPK contentSectionPK, LanguagePK languagePK, String description, Long fromTime, Long thruTime) create(Session session, ContentSection contentSection, Language language, String description, Long fromTime, Long thruTime) voidcreate(Session session, Collection<ContentSectionDescriptionValue> _values) voidcreate(Collection<ContentSectionDescriptionValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<ContentSectionDescriptionPK> pks) getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<ContentSectionDescriptionPK> 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, ContentSectionDescriptionPK pk) getEntityFromPK(EntityPermission entityPermission, ContentSectionDescriptionPK pk) getEntityFromPK(Session session, EntityPermission entityPermission, ContentSectionDescriptionPK 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, ContentSectionDescriptionValue value) getEntityFromValue(Session session, EntityPermission entityPermission, ContentSectionDescriptionValue value) getPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) getValueFromPK(Session session, ContentSectionDescriptionPK pk) getValueFromResultSet(Session session, ResultSet rs) getValuesFromPKs(Session session, Collection<ContentSectionDescriptionPK> pks) getValuesFromResultSet(Session session, ResultSet rs) prepareStatement(String query) voidremove(Session session, ContentSectionDescriptionPK pk) voidremove(Session session, ContentSectionDescription entity) voidremove(Session session, Collection<ContentSectionDescriptionPK> pks) voidvoidstore(Session session, ContentSectionDescription entity) voidstore(Session session, Collection<ContentSectionDescription> entities) voidstore(Collection<ContentSectionDescription> entities) booleanvalidPK(Session session, ContentSectionDescriptionPK pk)
-
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(Session session, Collection<ContentSectionDescriptionPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public ContentSectionDescriptionValue getValueFromPK(Session session, ContentSectionDescriptionPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<ContentSectionDescriptionValue> getValuesFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public ContentSectionDescriptionValue getValueFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<ContentSectionDescription> getEntitiesFromPKs(EntityPermission entityPermission, Collection<ContentSectionDescriptionPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<ContentSectionDescription> getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<ContentSectionDescriptionPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public ContentSectionDescription getEntityFromValue(EntityPermission entityPermission, ContentSectionDescriptionValue value) -
getEntityFromValue
public ContentSectionDescription getEntityFromValue(Session session, EntityPermission entityPermission, ContentSectionDescriptionValue value) -
getEntityFromPK
public ContentSectionDescription getEntityFromPK(EntityPermission entityPermission, ContentSectionDescriptionPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromCache
public ContentSectionDescription getEntityFromCache(Session session, ContentSectionDescriptionPK pk) -
getEntityFromPK
public ContentSectionDescription getEntityFromPK(Session session, 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(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, 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(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) 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) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ContentSectionDescription> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ContentSectionDescription> getEntitiesFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ContentSectionDescription getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, 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(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) 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) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ContentSectionDescription getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ContentSectionDescription getEntityFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<ContentSectionDescription> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<ContentSectionDescription> getEntitiesFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public ContentSectionDescription getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public ContentSectionDescription getEntityFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public ContentSectionDescription create(Session session, ContentSection contentSection, Language language, String description, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public ContentSectionDescription create(ContentSection contentSection, Language language, String description, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public ContentSectionDescription create(Session session, ContentSectionPK contentSectionPK, LanguagePK languagePK, 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(Session session, Collection<ContentSectionDescriptionValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<ContentSectionDescriptionValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
public void store(Session session, ContentSectionDescription entity) throws PersistenceDatabaseException - Specified by:
storein interfaceBaseFactory<ContentSectionDescriptionPK,ContentSectionDescription> - Throws:
PersistenceDatabaseException
-
store
public void store(Session session, Collection<ContentSectionDescription> entities) throws PersistenceDatabaseException - 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
public void remove(Session session, ContentSectionDescription entity) throws PersistenceDatabaseException - Specified by:
removein interfaceBaseFactory<ContentSectionDescriptionPK,ContentSectionDescription> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Session session, ContentSectionDescriptionPK pk) throws PersistenceDatabaseException - Specified by:
removein interfaceBaseFactory<ContentSectionDescriptionPK,ContentSectionDescription> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Session session, Collection<ContentSectionDescriptionPK> pks) throws PersistenceDatabaseException - Specified by:
removein interfaceBaseFactory<ContentSectionDescriptionPK,ContentSectionDescription> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<ContentSectionDescriptionPK,ContentSectionDescription> - Throws:
PersistenceDatabaseException
-
validPK
public boolean validPK(Session session, ContentSectionDescriptionPK pk) throws PersistenceDatabaseException - Specified by:
validPKin interfaceBaseFactory<ContentSectionDescriptionPK,ContentSectionDescription> - Throws:
PersistenceDatabaseException
-