Class ContentCatalogFactory
java.lang.Object
com.echothree.model.data.content.server.factory.ContentCatalogFactory
- All Implemented Interfaces:
BaseFactory<ContentCatalogPK,ContentCatalog>
@ApplicationScoped
public class ContentCatalogFactory
extends Object
implements BaseFactory<ContentCatalogPK,ContentCatalog>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of ContentCatalogFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate()create(ContentCatalogDetailPK activeDetailPK, ContentCatalogDetailPK lastDetailPK) create(ContentCatalogDetail activeDetail, ContentCatalogDetail lastDetail) create(Session session, ContentCatalogDetailPK activeDetailPK, ContentCatalogDetailPK lastDetailPK) create(Session session, ContentCatalogDetail activeDetail, ContentCatalogDetail lastDetail) voidcreate(Session session, Collection<ContentCatalogValue> _values) voidcreate(Collection<ContentCatalogValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<ContentCatalogPK> pks) getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<ContentCatalogPK> 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, ContentCatalogPK pk) getEntityFromPK(EntityPermission entityPermission, ContentCatalogPK pk) getEntityFromPK(Session session, EntityPermission entityPermission, ContentCatalogPK 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, ContentCatalogValue value) getEntityFromValue(Session session, EntityPermission entityPermission, ContentCatalogValue value) static ContentCatalogFactorygetPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) getValueFromPK(Session session, ContentCatalogPK pk) getValueFromResultSet(Session session, ResultSet rs) getValuesFromPKs(Session session, Collection<ContentCatalogPK> pks) getValuesFromResultSet(Session session, ResultSet rs) prepareStatement(String query) voidremove(Session session, ContentCatalogPK pk) voidremove(Session session, ContentCatalog entity) voidremove(Session session, Collection<ContentCatalogPK> pks) voidremove(Collection<ContentCatalogPK> pks) voidstore(Session session, ContentCatalog entity) voidstore(Session session, Collection<ContentCatalog> entities) voidstore(Collection<ContentCatalog> entities) booleanvalidPK(Session session, ContentCatalogPK pk)
-
Field Details
-
TABLE_NAME
- See Also:
-
CNTCT_CONTENTCATALOGID
- See Also:
-
CNTCT_ACTIVEDETAILID
- See Also:
-
CNTCT_LASTDETAILID
- See Also:
-
-
Constructor Details
-
ContentCatalogFactory
protected ContentCatalogFactory()Creates a new instance of ContentCatalogFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<ContentCatalogPK,ContentCatalog>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<ContentCatalogPK,ContentCatalog>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<ContentCatalogPK,ContentCatalog>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<ContentCatalogPK,ContentCatalog>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<ContentCatalogPK,ContentCatalog>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<ContentCatalogPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<ContentCatalogPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<ContentCatalogValue> getValuesFromPKs(Session session, Collection<ContentCatalogPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public ContentCatalogValue getValueFromPK(Session session, ContentCatalogPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<ContentCatalogValue> getValuesFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public ContentCatalogValue getValueFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<ContentCatalog> getEntitiesFromPKs(EntityPermission entityPermission, Collection<ContentCatalogPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<ContentCatalog> getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<ContentCatalogPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public ContentCatalog getEntityFromValue(EntityPermission entityPermission, ContentCatalogValue value) -
getEntityFromValue
public ContentCatalog getEntityFromValue(Session session, EntityPermission entityPermission, ContentCatalogValue value) -
getEntityFromPK
public ContentCatalog getEntityFromPK(EntityPermission entityPermission, ContentCatalogPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromCache
-
getEntityFromPK
public ContentCatalog getEntityFromPK(Session session, EntityPermission entityPermission, ContentCatalogPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<ContentCatalogPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<ContentCatalogPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public ContentCatalogPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ContentCatalog> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ContentCatalog> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ContentCatalog> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ContentCatalog> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ContentCatalog> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ContentCatalog> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ContentCatalog> getEntitiesFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ContentCatalog getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ContentCatalog getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ContentCatalog getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ContentCatalog getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ContentCatalog getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ContentCatalog getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ContentCatalog getEntityFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<ContentCatalog> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<ContentCatalog> getEntitiesFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public ContentCatalog getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public ContentCatalog getEntityFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public ContentCatalog create(Session session) throws PersistenceDatabaseException, PersistenceNotNullException -
create
-
create
public ContentCatalog create(Session session, ContentCatalogDetail activeDetail, ContentCatalogDetail lastDetail) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public ContentCatalog create(ContentCatalogDetail activeDetail, ContentCatalogDetail lastDetail) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public ContentCatalog create(Session session, ContentCatalogDetailPK activeDetailPK, ContentCatalogDetailPK lastDetailPK) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public ContentCatalog create(ContentCatalogDetailPK activeDetailPK, ContentCatalogDetailPK lastDetailPK) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Session session, Collection<ContentCatalogValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<ContentCatalogValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<ContentCatalogPK,ContentCatalog> - Throws:
PersistenceDatabaseException
-
store
public void store(Session session, Collection<ContentCatalog> entities) throws PersistenceDatabaseException - Specified by:
storein interfaceBaseFactory<ContentCatalogPK,ContentCatalog> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
storein interfaceBaseFactory<ContentCatalogPK,ContentCatalog> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<ContentCatalogPK,ContentCatalog> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<ContentCatalogPK,ContentCatalog> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Session session, Collection<ContentCatalogPK> pks) throws PersistenceDatabaseException - Specified by:
removein interfaceBaseFactory<ContentCatalogPK,ContentCatalog> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<ContentCatalogPK,ContentCatalog> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<ContentCatalogPK,ContentCatalog> - Throws:
PersistenceDatabaseException
-