Class PrinterGroupDetailFactory
java.lang.Object
com.echothree.model.data.printer.server.factory.PrinterGroupDetailFactory
- All Implemented Interfaces:
BaseFactory<PrinterGroupDetailPK,PrinterGroupDetail>
@ApplicationScoped
public class PrinterGroupDetailFactory
extends Object
implements BaseFactory<PrinterGroupDetailPK,PrinterGroupDetail>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of PrinterGroupDetailFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(PrinterGroupPK printerGroupPK, String printerGroupName, Long keepPrintedJobsTime, Boolean isDefault, Integer sortOrder, Long fromTime, Long thruTime) create(PrinterGroup printerGroup, String printerGroupName, Long keepPrintedJobsTime, Boolean isDefault, Integer sortOrder, Long fromTime, Long thruTime) voidcreate(Collection<PrinterGroupDetailValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<PrinterGroupDetailPK> 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, PrinterGroupDetailPK 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, PrinterGroupDetailValue value) static PrinterGroupDetailFactorygetPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(PrinterGroupDetail entity) voidvoidstore(PrinterGroupDetail entity) voidstore(Collection<PrinterGroupDetail> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
PRNGRPDT_PRINTERGROUPDETAILID
- See Also:
-
PRNGRPDT_PRNGRP_PRINTERGROUPID
- See Also:
-
PRNGRPDT_PRINTERGROUPNAME
- See Also:
-
PRNGRPDT_KEEPPRINTEDJOBSTIME
- See Also:
-
PRNGRPDT_ISDEFAULT
- See Also:
-
PRNGRPDT_SORTORDER
- See Also:
-
PRNGRPDT_FROMTIME
- See Also:
-
PRNGRPDT_THRUTIME
- See Also:
-
-
Constructor Details
-
PrinterGroupDetailFactory
protected PrinterGroupDetailFactory()Creates a new instance of PrinterGroupDetailFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<PrinterGroupDetailPK,PrinterGroupDetail>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<PrinterGroupDetailPK,PrinterGroupDetail>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<PrinterGroupDetailPK,PrinterGroupDetail>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<PrinterGroupDetailPK,PrinterGroupDetail>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<PrinterGroupDetailPK,PrinterGroupDetail>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<PrinterGroupDetailPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<PrinterGroupDetailPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<PrinterGroupDetailValue> getValuesFromPKs(Collection<PrinterGroupDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public PrinterGroupDetailValue getValueFromPK(PrinterGroupDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<PrinterGroupDetailValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public PrinterGroupDetailValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<PrinterGroupDetail> getEntitiesFromPKs(EntityPermission entityPermission, Collection<PrinterGroupDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public PrinterGroupDetail getEntityFromValue(EntityPermission entityPermission, PrinterGroupDetailValue value) -
getEntityFromCache
-
getEntityFromPK
public PrinterGroupDetail getEntityFromPK(EntityPermission entityPermission, PrinterGroupDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<PrinterGroupDetailPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<PrinterGroupDetailPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public PrinterGroupDetailPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PrinterGroupDetail> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PrinterGroupDetail> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PrinterGroupDetail> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PrinterGroupDetail getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PrinterGroupDetail getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PrinterGroupDetail getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<PrinterGroupDetail> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public PrinterGroupDetail getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public PrinterGroupDetail create(PrinterGroup printerGroup, String printerGroupName, Long keepPrintedJobsTime, Boolean isDefault, Integer sortOrder, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public PrinterGroupDetail create(PrinterGroupPK printerGroupPK, String printerGroupName, Long keepPrintedJobsTime, Boolean isDefault, Integer sortOrder, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<PrinterGroupDetailValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<PrinterGroupDetailPK,PrinterGroupDetail> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
storein interfaceBaseFactory<PrinterGroupDetailPK,PrinterGroupDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<PrinterGroupDetailPK,PrinterGroupDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<PrinterGroupDetailPK,PrinterGroupDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<PrinterGroupDetailPK,PrinterGroupDetail> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<PrinterGroupDetailPK,PrinterGroupDetail> - Throws:
PersistenceDatabaseException
-