Class PrinterGroupDescriptionFactory
java.lang.Object
com.echothree.model.data.printer.server.factory.PrinterGroupDescriptionFactory
- All Implemented Interfaces:
BaseFactory<PrinterGroupDescriptionPK,PrinterGroupDescription>
@ApplicationScoped
public class PrinterGroupDescriptionFactory
extends Object
implements BaseFactory<PrinterGroupDescriptionPK,PrinterGroupDescription>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of PrinterGroupDescriptionFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(PrinterGroupPK printerGroupPK, LanguagePK languagePK, String description, Long fromTime, Long thruTime) create(PrinterGroup printerGroup, Language language, String description, Long fromTime, Long thruTime) voidcreate(Collection<PrinterGroupDescriptionValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<PrinterGroupDescriptionPK> 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, PrinterGroupDescriptionPK 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, PrinterGroupDescriptionValue value) getPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(PrinterGroupDescription entity) voidvoidstore(PrinterGroupDescription entity) voidstore(Collection<PrinterGroupDescription> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
PRNGRPD_PRINTERGROUPDESCRIPTIONID
- See Also:
-
PRNGRPD_PRNGRP_PRINTERGROUPID
- See Also:
-
PRNGRPD_LANG_LANGUAGEID
- See Also:
-
PRNGRPD_DESCRIPTION
- See Also:
-
PRNGRPD_FROMTIME
- See Also:
-
PRNGRPD_THRUTIME
- See Also:
-
-
Constructor Details
-
PrinterGroupDescriptionFactory
protected PrinterGroupDescriptionFactory()Creates a new instance of PrinterGroupDescriptionFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<PrinterGroupDescriptionPK,PrinterGroupDescription>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<PrinterGroupDescriptionPK,PrinterGroupDescription>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<PrinterGroupDescriptionPK,PrinterGroupDescription>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<PrinterGroupDescriptionPK,PrinterGroupDescription>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<PrinterGroupDescriptionPK,PrinterGroupDescription>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<PrinterGroupDescriptionPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<PrinterGroupDescriptionPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
public PrinterGroupDescriptionPK getPKFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<PrinterGroupDescriptionValue> getValuesFromPKs(Collection<PrinterGroupDescriptionPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public PrinterGroupDescriptionValue getValueFromPK(PrinterGroupDescriptionPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<PrinterGroupDescriptionValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public PrinterGroupDescriptionValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<PrinterGroupDescription> getEntitiesFromPKs(EntityPermission entityPermission, Collection<PrinterGroupDescriptionPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public PrinterGroupDescription getEntityFromValue(EntityPermission entityPermission, PrinterGroupDescriptionValue value) -
getEntityFromCache
-
getEntityFromPK
public PrinterGroupDescription getEntityFromPK(EntityPermission entityPermission, PrinterGroupDescriptionPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<PrinterGroupDescriptionPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<PrinterGroupDescriptionPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public PrinterGroupDescriptionPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PrinterGroupDescription> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PrinterGroupDescription> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PrinterGroupDescription> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PrinterGroupDescription getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PrinterGroupDescription getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PrinterGroupDescription getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<PrinterGroupDescription> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public PrinterGroupDescription getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public PrinterGroupDescription create(PrinterGroup printerGroup, Language language, String description, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public PrinterGroupDescription create(PrinterGroupPK printerGroupPK, LanguagePK languagePK, String description, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<PrinterGroupDescriptionValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<PrinterGroupDescriptionPK,PrinterGroupDescription> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
storein interfaceBaseFactory<PrinterGroupDescriptionPK,PrinterGroupDescription> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<PrinterGroupDescriptionPK,PrinterGroupDescription> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<PrinterGroupDescriptionPK,PrinterGroupDescription> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<PrinterGroupDescriptionPK,PrinterGroupDescription> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<PrinterGroupDescriptionPK,PrinterGroupDescription> - Throws:
PersistenceDatabaseException
-