Class PrinterGroupFactory
java.lang.Object
com.echothree.model.data.printer.server.factory.PrinterGroupFactory
- All Implemented Interfaces:
BaseFactory<PrinterGroupPK,
PrinterGroup>
-
Field Summary
Fields -
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) void
create
(Session session, Collection<PrinterGroupValue> _values) void
create
(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 PrinterGroupFactory
getPKFromQuery
(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) void
remove
(Session session, PrinterGroupPK pk) void
remove
(Session session, PrinterGroup entity) void
remove
(Session session, Collection<PrinterGroupPK> pks) void
remove
(Collection<PrinterGroupPK> pks) void
store
(Session session, PrinterGroup entity) void
store
(Session session, Collection<PrinterGroup> entities) void
store
(Collection<PrinterGroup> entities) boolean
validPK
(Session session, PrinterGroupPK pk)
-
Field Details
-
TABLE_NAME
- See Also:
-
PRNGRP_PRINTERGROUPID
- See Also:
-
PRNGRP_ACTIVEDETAILID
- See Also:
-
PRNGRP_LASTDETAILID
- See Also:
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumn
in interfaceBaseFactory<PrinterGroupPK,
PrinterGroup>
-
getAllColumns
- Specified by:
getAllColumns
in interfaceBaseFactory<PrinterGroupPK,
PrinterGroup>
-
getTableName
- Specified by:
getTableName
in interfaceBaseFactory<PrinterGroupPK,
PrinterGroup>
-
getComponentVendorName
- Specified by:
getComponentVendorName
in interfaceBaseFactory<PrinterGroupPK,
PrinterGroup>
-
getEntityTypeName
- Specified by:
getEntityTypeName
in 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:
store
in interfaceBaseFactory<PrinterGroupPK,
PrinterGroup> - Throws:
PersistenceDatabaseException
-
store
public void store(Session session, Collection<PrinterGroup> entities) throws PersistenceDatabaseException - Specified by:
store
in interfaceBaseFactory<PrinterGroupPK,
PrinterGroup> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
store
in interfaceBaseFactory<PrinterGroupPK,
PrinterGroup> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<PrinterGroupPK,
PrinterGroup> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<PrinterGroupPK,
PrinterGroup> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Session session, Collection<PrinterGroupPK> pks) throws PersistenceDatabaseException - Specified by:
remove
in interfaceBaseFactory<PrinterGroupPK,
PrinterGroup> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<PrinterGroupPK,
PrinterGroup> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPK
in interfaceBaseFactory<PrinterGroupPK,
PrinterGroup> - Throws:
PersistenceDatabaseException
-