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