Class InvoiceStatusFactory
java.lang.Object
com.echothree.model.data.invoice.server.factory.InvoiceStatusFactory
- All Implemented Interfaces:
BaseFactory<InvoiceStatusPK,InvoiceStatus>
@ApplicationScoped
public class InvoiceStatusFactory
extends Object
implements BaseFactory<InvoiceStatusPK,InvoiceStatus>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of InvoiceStatusFactory -
Method Summary
Modifier and TypeMethodDescriptionvoidcreate(Collection<InvoiceStatusValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<InvoiceStatusPK> 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, InvoiceStatusPK 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, InvoiceStatusValue value) static InvoiceStatusFactorygetPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(InvoiceStatus entity) voidremove(Collection<InvoiceStatusPK> pks) voidstore(InvoiceStatus entity) voidstore(Collection<InvoiceStatus> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
INVCST_INVOICESTATUSID
- See Also:
-
INVCST_INVC_INVOICEID
- See Also:
-
INVCST_INVOICELINESEQUENCE
- See Also:
-
-
Constructor Details
-
InvoiceStatusFactory
protected InvoiceStatusFactory()Creates a new instance of InvoiceStatusFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<InvoiceStatusPK,InvoiceStatus>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<InvoiceStatusPK,InvoiceStatus>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<InvoiceStatusPK,InvoiceStatus>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<InvoiceStatusPK,InvoiceStatus>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<InvoiceStatusPK,InvoiceStatus>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<InvoiceStatusPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<InvoiceStatusPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<InvoiceStatusValue> getValuesFromPKs(Collection<InvoiceStatusPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
- Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<InvoiceStatusValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
- Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<InvoiceStatus> getEntitiesFromPKs(EntityPermission entityPermission, Collection<InvoiceStatusPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public InvoiceStatus getEntityFromValue(EntityPermission entityPermission, InvoiceStatusValue value) -
getEntityFromCache
-
getEntityFromPK
public InvoiceStatus getEntityFromPK(EntityPermission entityPermission, InvoiceStatusPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<InvoiceStatusPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<InvoiceStatusPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public InvoiceStatusPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<InvoiceStatus> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<InvoiceStatus> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<InvoiceStatus> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InvoiceStatus getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InvoiceStatus getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InvoiceStatus getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<InvoiceStatus> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public InvoiceStatus getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public InvoiceStatus create(Invoice invoice, Integer invoiceLineSequence) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public InvoiceStatus create(InvoicePK invoicePK, Integer invoiceLineSequence) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<InvoiceStatusValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<InvoiceStatusPK,InvoiceStatus> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
storein interfaceBaseFactory<InvoiceStatusPK,InvoiceStatus> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<InvoiceStatusPK,InvoiceStatus> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<InvoiceStatusPK,InvoiceStatus> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<InvoiceStatusPK,InvoiceStatus> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<InvoiceStatusPK,InvoiceStatus> - Throws:
PersistenceDatabaseException
-