Class InvoiceLineGlAccountFactory
java.lang.Object
com.echothree.model.data.invoice.server.factory.InvoiceLineGlAccountFactory
- All Implemented Interfaces:
BaseFactory<InvoiceLineGlAccountPK,InvoiceLineGlAccount>
@ApplicationScoped
public class InvoiceLineGlAccountFactory
extends Object
implements BaseFactory<InvoiceLineGlAccountPK,InvoiceLineGlAccount>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of InvoiceLineGlAccountFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(InvoiceLinePK invoiceLinePK, GlAccountPK glAccountPK, Long fromTime, Long thruTime) create(InvoiceLine invoiceLine, GlAccount glAccount, Long fromTime, Long thruTime) voidcreate(Collection<InvoiceLineGlAccountValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<InvoiceLineGlAccountPK> 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, InvoiceLineGlAccountPK 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, InvoiceLineGlAccountValue value) static InvoiceLineGlAccountFactorygetPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(InvoiceLineGlAccount entity) voidvoidstore(InvoiceLineGlAccount entity) voidstore(Collection<InvoiceLineGlAccount> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
INVCLGLA_INVOICELINEGLACCOUNTID
- See Also:
-
INVCLGLA_INVCL_INVOICELINEID
- See Also:
-
INVCLGLA_GLA_GLACCOUNTID
- See Also:
-
INVCLGLA_FROMTIME
- See Also:
-
INVCLGLA_THRUTIME
- See Also:
-
-
Constructor Details
-
InvoiceLineGlAccountFactory
protected InvoiceLineGlAccountFactory()Creates a new instance of InvoiceLineGlAccountFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<InvoiceLineGlAccountPK,InvoiceLineGlAccount>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<InvoiceLineGlAccountPK,InvoiceLineGlAccount>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<InvoiceLineGlAccountPK,InvoiceLineGlAccount>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<InvoiceLineGlAccountPK,InvoiceLineGlAccount>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<InvoiceLineGlAccountPK,InvoiceLineGlAccount>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<InvoiceLineGlAccountPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<InvoiceLineGlAccountPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<InvoiceLineGlAccountValue> getValuesFromPKs(Collection<InvoiceLineGlAccountPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public InvoiceLineGlAccountValue getValueFromPK(InvoiceLineGlAccountPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<InvoiceLineGlAccountValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public InvoiceLineGlAccountValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<InvoiceLineGlAccount> getEntitiesFromPKs(EntityPermission entityPermission, Collection<InvoiceLineGlAccountPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public InvoiceLineGlAccount getEntityFromValue(EntityPermission entityPermission, InvoiceLineGlAccountValue value) -
getEntityFromCache
-
getEntityFromPK
public InvoiceLineGlAccount getEntityFromPK(EntityPermission entityPermission, InvoiceLineGlAccountPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<InvoiceLineGlAccountPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<InvoiceLineGlAccountPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public InvoiceLineGlAccountPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<InvoiceLineGlAccount> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<InvoiceLineGlAccount> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<InvoiceLineGlAccount> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InvoiceLineGlAccount getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InvoiceLineGlAccount getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InvoiceLineGlAccount getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<InvoiceLineGlAccount> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public InvoiceLineGlAccount getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public InvoiceLineGlAccount create(InvoiceLine invoiceLine, GlAccount glAccount, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public InvoiceLineGlAccount create(InvoiceLinePK invoiceLinePK, GlAccountPK glAccountPK, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<InvoiceLineGlAccountValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<InvoiceLineGlAccountPK,InvoiceLineGlAccount> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
storein interfaceBaseFactory<InvoiceLineGlAccountPK,InvoiceLineGlAccount> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<InvoiceLineGlAccountPK,InvoiceLineGlAccount> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<InvoiceLineGlAccountPK,InvoiceLineGlAccount> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<InvoiceLineGlAccountPK,InvoiceLineGlAccount> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<InvoiceLineGlAccountPK,InvoiceLineGlAccount> - Throws:
PersistenceDatabaseException
-