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