Class ContentPageLayoutAreaFactory
java.lang.Object
com.echothree.model.data.content.server.factory.ContentPageLayoutAreaFactory
- All Implemented Interfaces:
BaseFactory<ContentPageLayoutAreaPK,ContentPageLayoutArea>
@ApplicationScoped
public class ContentPageLayoutAreaFactory
extends Object
implements BaseFactory<ContentPageLayoutAreaPK,ContentPageLayoutArea>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of ContentPageLayoutAreaFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(ContentPageLayoutPK contentPageLayoutPK, ContentPageAreaTypePK contentPageAreaTypePK, Boolean showDescriptionField, Integer sortOrder) create(ContentPageLayout contentPageLayout, ContentPageAreaType contentPageAreaType, Boolean showDescriptionField, Integer sortOrder) voidcreate(Collection<ContentPageLayoutAreaValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<ContentPageLayoutAreaPK> 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, ContentPageLayoutAreaPK 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, ContentPageLayoutAreaValue value) static ContentPageLayoutAreaFactorygetPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(ContentPageLayoutArea entity) voidvoidstore(ContentPageLayoutArea entity) voidstore(Collection<ContentPageLayoutArea> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
CNTPLA_CONTENTPAGELAYOUTAREAID
- See Also:
-
CNTPLA_CNTPL_CONTENTPAGELAYOUTID
- See Also:
-
CNTPLA_CNTPAT_CONTENTPAGEAREATYPEID
- See Also:
-
CNTPLA_SHOWDESCRIPTIONFIELD
- See Also:
-
CNTPLA_SORTORDER
- See Also:
-
-
Constructor Details
-
ContentPageLayoutAreaFactory
protected ContentPageLayoutAreaFactory()Creates a new instance of ContentPageLayoutAreaFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<ContentPageLayoutAreaPK,ContentPageLayoutArea>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<ContentPageLayoutAreaPK,ContentPageLayoutArea>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<ContentPageLayoutAreaPK,ContentPageLayoutArea>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<ContentPageLayoutAreaPK,ContentPageLayoutArea>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<ContentPageLayoutAreaPK,ContentPageLayoutArea>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<ContentPageLayoutAreaPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<ContentPageLayoutAreaPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<ContentPageLayoutAreaValue> getValuesFromPKs(Collection<ContentPageLayoutAreaPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public ContentPageLayoutAreaValue getValueFromPK(ContentPageLayoutAreaPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<ContentPageLayoutAreaValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public ContentPageLayoutAreaValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<ContentPageLayoutArea> getEntitiesFromPKs(EntityPermission entityPermission, Collection<ContentPageLayoutAreaPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public ContentPageLayoutArea getEntityFromValue(EntityPermission entityPermission, ContentPageLayoutAreaValue value) -
getEntityFromCache
-
getEntityFromPK
public ContentPageLayoutArea getEntityFromPK(EntityPermission entityPermission, ContentPageLayoutAreaPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<ContentPageLayoutAreaPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<ContentPageLayoutAreaPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public ContentPageLayoutAreaPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ContentPageLayoutArea> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ContentPageLayoutArea> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ContentPageLayoutArea> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ContentPageLayoutArea getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ContentPageLayoutArea getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ContentPageLayoutArea getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<ContentPageLayoutArea> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public ContentPageLayoutArea getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public ContentPageLayoutArea create(ContentPageLayout contentPageLayout, ContentPageAreaType contentPageAreaType, Boolean showDescriptionField, Integer sortOrder) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public ContentPageLayoutArea create(ContentPageLayoutPK contentPageLayoutPK, ContentPageAreaTypePK contentPageAreaTypePK, Boolean showDescriptionField, Integer sortOrder) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<ContentPageLayoutAreaValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<ContentPageLayoutAreaPK,ContentPageLayoutArea> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
storein interfaceBaseFactory<ContentPageLayoutAreaPK,ContentPageLayoutArea> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<ContentPageLayoutAreaPK,ContentPageLayoutArea> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<ContentPageLayoutAreaPK,ContentPageLayoutArea> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<ContentPageLayoutAreaPK,ContentPageLayoutArea> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<ContentPageLayoutAreaPK,ContentPageLayoutArea> - Throws:
PersistenceDatabaseException
-