Class ContentSectionFactory
java.lang.Object
com.echothree.model.data.content.server.factory.ContentSectionFactory
- All Implemented Interfaces:
BaseFactory<ContentSectionPK,
ContentSection>
public class ContentSectionFactory
extends Object
implements BaseFactory<ContentSectionPK,ContentSection>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncreate()
create
(ContentSectionDetailPK activeDetailPK, ContentSectionDetailPK lastDetailPK) create
(ContentSectionDetail activeDetail, ContentSectionDetail lastDetail) create
(Session session, ContentSectionDetailPK activeDetailPK, ContentSectionDetailPK lastDetailPK) create
(Session session, ContentSectionDetail activeDetail, ContentSectionDetail lastDetail) void
create
(Session session, Collection<ContentSectionValue> _values) void
create
(Collection<ContentSectionValue> _values) getEntitiesFromPKs
(EntityPermission entityPermission, Collection<ContentSectionPK> pks) getEntitiesFromPKs
(Session session, EntityPermission entityPermission, Collection<ContentSectionPK> 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, ContentSectionPK pk) getEntityFromPK
(EntityPermission entityPermission, ContentSectionPK pk) getEntityFromPK
(Session session, EntityPermission entityPermission, ContentSectionPK 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, ContentSectionValue value) getEntityFromValue
(Session session, EntityPermission entityPermission, ContentSectionValue value) static ContentSectionFactory
getPKFromQuery
(PreparedStatement ps, Object... params) getPKsFromQueryAsList
(PreparedStatement ps, Object... params) getPKsFromQueryAsSet
(PreparedStatement ps, Object... params) getValueFromPK
(Session session, ContentSectionPK pk) getValueFromResultSet
(Session session, ResultSet rs) getValuesFromPKs
(Session session, Collection<ContentSectionPK> pks) getValuesFromResultSet
(Session session, ResultSet rs) prepareStatement
(String query) void
remove
(Session session, ContentSectionPK pk) void
remove
(Session session, ContentSection entity) void
remove
(Session session, Collection<ContentSectionPK> pks) void
remove
(Collection<ContentSectionPK> pks) void
store
(Session session, ContentSection entity) void
store
(Session session, Collection<ContentSection> entities) void
store
(Collection<ContentSection> entities) boolean
validPK
(Session session, ContentSectionPK pk)
-
Field Details
-
TABLE_NAME
- See Also:
-
CNTS_CONTENTSECTIONID
- See Also:
-
CNTS_ACTIVEDETAILID
- See Also:
-
CNTS_LASTDETAILID
- See Also:
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumn
in interfaceBaseFactory<ContentSectionPK,
ContentSection>
-
getAllColumns
- Specified by:
getAllColumns
in interfaceBaseFactory<ContentSectionPK,
ContentSection>
-
getTableName
- Specified by:
getTableName
in interfaceBaseFactory<ContentSectionPK,
ContentSection>
-
getComponentVendorName
- Specified by:
getComponentVendorName
in interfaceBaseFactory<ContentSectionPK,
ContentSection>
-
getEntityTypeName
- Specified by:
getEntityTypeName
in interfaceBaseFactory<ContentSectionPK,
ContentSection>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<ContentSectionPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<ContentSectionPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<ContentSectionValue> getValuesFromPKs(Session session, Collection<ContentSectionPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public ContentSectionValue getValueFromPK(Session session, ContentSectionPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<ContentSectionValue> getValuesFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public ContentSectionValue getValueFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<ContentSection> getEntitiesFromPKs(EntityPermission entityPermission, Collection<ContentSectionPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<ContentSection> getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<ContentSectionPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public ContentSection getEntityFromValue(EntityPermission entityPermission, ContentSectionValue value) -
getEntityFromValue
public ContentSection getEntityFromValue(Session session, EntityPermission entityPermission, ContentSectionValue value) -
getEntityFromPK
public ContentSection getEntityFromPK(EntityPermission entityPermission, ContentSectionPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromCache
-
getEntityFromPK
public ContentSection getEntityFromPK(Session session, EntityPermission entityPermission, ContentSectionPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<ContentSectionPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<ContentSectionPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public ContentSectionPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ContentSection> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ContentSection> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ContentSection> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ContentSection> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ContentSection> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ContentSection> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ContentSection> getEntitiesFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ContentSection getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ContentSection getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ContentSection getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ContentSection getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ContentSection getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ContentSection getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ContentSection getEntityFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<ContentSection> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<ContentSection> getEntitiesFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public ContentSection getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public ContentSection getEntityFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public ContentSection create(Session session) throws PersistenceDatabaseException, PersistenceNotNullException -
create
-
create
public ContentSection create(Session session, ContentSectionDetail activeDetail, ContentSectionDetail lastDetail) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public ContentSection create(ContentSectionDetail activeDetail, ContentSectionDetail lastDetail) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public ContentSection create(Session session, ContentSectionDetailPK activeDetailPK, ContentSectionDetailPK lastDetailPK) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public ContentSection create(ContentSectionDetailPK activeDetailPK, ContentSectionDetailPK lastDetailPK) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Session session, Collection<ContentSectionValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<ContentSectionValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
store
in interfaceBaseFactory<ContentSectionPK,
ContentSection> - Throws:
PersistenceDatabaseException
-
store
public void store(Session session, Collection<ContentSection> entities) throws PersistenceDatabaseException - Specified by:
store
in interfaceBaseFactory<ContentSectionPK,
ContentSection> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
store
in interfaceBaseFactory<ContentSectionPK,
ContentSection> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<ContentSectionPK,
ContentSection> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<ContentSectionPK,
ContentSection> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Session session, Collection<ContentSectionPK> pks) throws PersistenceDatabaseException - Specified by:
remove
in interfaceBaseFactory<ContentSectionPK,
ContentSection> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<ContentSectionPK,
ContentSection> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPK
in interfaceBaseFactory<ContentSectionPK,
ContentSection> - Throws:
PersistenceDatabaseException
-