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) create(Session session, PrinterGroupPK printerGroupPK, String printerGroupName, Long keepPrintedJobsTime, Boolean isDefault, Integer sortOrder, Long fromTime, Long thruTime) create(Session session, PrinterGroup printerGroup, String printerGroupName, Long keepPrintedJobsTime, Boolean isDefault, Integer sortOrder, Long fromTime, Long thruTime) voidcreate(Session session, Collection<PrinterGroupDetailValue> _values) voidcreate(Collection<PrinterGroupDetailValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<PrinterGroupDetailPK> pks) getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<PrinterGroupDetailPK> 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, PrinterGroupDetailPK pk) getEntityFromPK(EntityPermission entityPermission, PrinterGroupDetailPK pk) getEntityFromPK(Session session, EntityPermission entityPermission, PrinterGroupDetailPK 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, PrinterGroupDetailValue value) getEntityFromValue(Session session, EntityPermission entityPermission, PrinterGroupDetailValue value) static PrinterGroupDetailFactorygetPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) getValueFromPK(Session session, PrinterGroupDetailPK pk) getValueFromResultSet(Session session, ResultSet rs) getValuesFromPKs(Session session, Collection<PrinterGroupDetailPK> pks) getValuesFromResultSet(Session session, ResultSet rs) prepareStatement(String query) voidremove(Session session, PrinterGroupDetailPK pk) voidremove(Session session, PrinterGroupDetail entity) voidremove(Session session, Collection<PrinterGroupDetailPK> pks) voidvoidstore(Session session, PrinterGroupDetail entity) voidstore(Session session, Collection<PrinterGroupDetail> entities) voidstore(Collection<PrinterGroupDetail> entities) booleanvalidPK(Session session, PrinterGroupDetailPK pk)
-
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(Session session, Collection<PrinterGroupDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public PrinterGroupDetailValue getValueFromPK(Session session, PrinterGroupDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<PrinterGroupDetailValue> getValuesFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public PrinterGroupDetailValue getValueFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<PrinterGroupDetail> getEntitiesFromPKs(EntityPermission entityPermission, Collection<PrinterGroupDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<PrinterGroupDetail> getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<PrinterGroupDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public PrinterGroupDetail getEntityFromValue(EntityPermission entityPermission, PrinterGroupDetailValue value) -
getEntityFromValue
public PrinterGroupDetail getEntityFromValue(Session session, EntityPermission entityPermission, PrinterGroupDetailValue value) -
getEntityFromPK
public PrinterGroupDetail getEntityFromPK(EntityPermission entityPermission, PrinterGroupDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromCache
-
getEntityFromPK
public PrinterGroupDetail getEntityFromPK(Session session, 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(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, 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(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) 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) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PrinterGroupDetail> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PrinterGroupDetail> getEntitiesFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PrinterGroupDetail getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, 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(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) 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) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PrinterGroupDetail getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PrinterGroupDetail getEntityFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<PrinterGroupDetail> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<PrinterGroupDetail> getEntitiesFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public PrinterGroupDetail getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public PrinterGroupDetail getEntityFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public PrinterGroupDetail create(Session session, PrinterGroup printerGroup, String printerGroupName, Long keepPrintedJobsTime, Boolean isDefault, Integer sortOrder, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
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(Session session, PrinterGroupPK printerGroupPK, 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(Session session, Collection<PrinterGroupDetailValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<PrinterGroupDetailValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<PrinterGroupDetailPK,PrinterGroupDetail> - Throws:
PersistenceDatabaseException
-
store
public void store(Session session, Collection<PrinterGroupDetail> entities) throws PersistenceDatabaseException - 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
public void remove(Session session, Collection<PrinterGroupDetailPK> pks) throws PersistenceDatabaseException - Specified by:
removein interfaceBaseFactory<PrinterGroupDetailPK,PrinterGroupDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<PrinterGroupDetailPK,PrinterGroupDetail> - Throws:
PersistenceDatabaseException
-
validPK
public boolean validPK(Session session, PrinterGroupDetailPK pk) throws PersistenceDatabaseException - Specified by:
validPKin interfaceBaseFactory<PrinterGroupDetailPK,PrinterGroupDetail> - Throws:
PersistenceDatabaseException
-