Class InvoiceAliasFactory
java.lang.Object
com.echothree.model.data.invoice.server.factory.InvoiceAliasFactory
- All Implemented Interfaces:
BaseFactory<InvoiceAliasPK,InvoiceAlias>
@ApplicationScoped
public class InvoiceAliasFactory
extends Object
implements BaseFactory<InvoiceAliasPK,InvoiceAlias>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of InvoiceAliasFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(InvoicePK invoicePK, InvoiceAliasTypePK invoiceAliasTypePK, String alias, Long fromTime, Long thruTime) create(Invoice invoice, InvoiceAliasType invoiceAliasType, String alias, Long fromTime, Long thruTime) voidcreate(Collection<InvoiceAliasValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<InvoiceAliasPK> 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, InvoiceAliasPK 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, InvoiceAliasValue value) static InvoiceAliasFactorygetPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidremove(InvoiceAliasPK pk) voidremove(InvoiceAlias entity) voidremove(Collection<InvoiceAliasPK> pks) voidstore(InvoiceAlias entity) voidstore(Collection<InvoiceAlias> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
INVCAL_INVOICEALIASID
- See Also:
-
INVCAL_INVC_INVOICEID
- See Also:
-
INVCAL_INVCALTYP_INVOICEALIASTYPEID
- See Also:
-
INVCAL_ALIAS
- See Also:
-
INVCAL_FROMTIME
- See Also:
-
INVCAL_THRUTIME
- See Also:
-
-
Constructor Details
-
InvoiceAliasFactory
protected InvoiceAliasFactory()Creates a new instance of InvoiceAliasFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<InvoiceAliasPK,InvoiceAlias>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<InvoiceAliasPK,InvoiceAlias>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<InvoiceAliasPK,InvoiceAlias>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<InvoiceAliasPK,InvoiceAlias>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<InvoiceAliasPK,InvoiceAlias>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<InvoiceAliasPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<InvoiceAliasPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<InvoiceAliasValue> getValuesFromPKs(Collection<InvoiceAliasPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
- Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<InvoiceAliasValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
- Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<InvoiceAlias> getEntitiesFromPKs(EntityPermission entityPermission, Collection<InvoiceAliasPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
-
getEntityFromCache
-
getEntityFromPK
public InvoiceAlias getEntityFromPK(EntityPermission entityPermission, InvoiceAliasPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<InvoiceAliasPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<InvoiceAliasPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public InvoiceAliasPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<InvoiceAlias> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<InvoiceAlias> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<InvoiceAlias> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InvoiceAlias getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InvoiceAlias getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InvoiceAlias getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<InvoiceAlias> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public InvoiceAlias getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public InvoiceAlias create(Invoice invoice, InvoiceAliasType invoiceAliasType, String alias, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public InvoiceAlias create(InvoicePK invoicePK, InvoiceAliasTypePK invoiceAliasTypePK, String alias, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<InvoiceAliasValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<InvoiceAliasPK,InvoiceAlias> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
storein interfaceBaseFactory<InvoiceAliasPK,InvoiceAlias> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<InvoiceAliasPK,InvoiceAlias> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<InvoiceAliasPK,InvoiceAlias> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<InvoiceAliasPK,InvoiceAlias> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<InvoiceAliasPK,InvoiceAlias> - Throws:
PersistenceDatabaseException
-