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) voidcreate(Collection<PrinterGroupValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<PrinterGroupPK> 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, PrinterGroupPK 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, PrinterGroupValue value) static PrinterGroupFactorygetPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidremove(PrinterGroupPK pk) voidremove(PrinterGroup entity) voidremove(Collection<PrinterGroupPK> pks) voidstore(PrinterGroup entity) voidstore(Collection<PrinterGroup> entities) boolean
-
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(Collection<PrinterGroupPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
- Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<PrinterGroupValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
- Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<PrinterGroup> getEntitiesFromPKs(EntityPermission entityPermission, Collection<PrinterGroupPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
-
getEntityFromCache
-
getEntityFromPK
public PrinterGroup getEntityFromPK(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(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) 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, 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(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PrinterGroup getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<PrinterGroup> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public PrinterGroup getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
-
create
public PrinterGroup create(PrinterGroupDetail activeDetail, PrinterGroupDetail lastDetail) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public PrinterGroup create(PrinterGroupDetailPK activeDetailPK, PrinterGroupDetailPK lastDetailPK) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<PrinterGroupValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- 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
- Specified by:
removein interfaceBaseFactory<PrinterGroupPK,PrinterGroup> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<PrinterGroupPK,PrinterGroup> - Throws:
PersistenceDatabaseException
-