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) create(Session session, InvoiceLinePK invoiceLinePK, GlAccountPK glAccountPK, Long fromTime, Long thruTime) voidcreate(Session session, Collection<InvoiceLineGlAccountValue> _values) voidcreate(Collection<InvoiceLineGlAccountValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<InvoiceLineGlAccountPK> pks) getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<InvoiceLineGlAccountPK> 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, InvoiceLineGlAccountPK pk) getEntityFromPK(EntityPermission entityPermission, InvoiceLineGlAccountPK pk) getEntityFromPK(Session session, EntityPermission entityPermission, InvoiceLineGlAccountPK 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, InvoiceLineGlAccountValue value) getEntityFromValue(Session session, EntityPermission entityPermission, InvoiceLineGlAccountValue value) static InvoiceLineGlAccountFactorygetPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) getValueFromPK(Session session, InvoiceLineGlAccountPK pk) getValueFromResultSet(Session session, ResultSet rs) getValuesFromPKs(Session session, Collection<InvoiceLineGlAccountPK> pks) getValuesFromResultSet(Session session, ResultSet rs) prepareStatement(String query) voidremove(Session session, InvoiceLineGlAccountPK pk) voidremove(Session session, InvoiceLineGlAccount entity) voidremove(Session session, Collection<InvoiceLineGlAccountPK> pks) voidvoidstore(Session session, InvoiceLineGlAccount entity) voidstore(Session session, Collection<InvoiceLineGlAccount> entities) voidstore(Collection<InvoiceLineGlAccount> entities) booleanvalidPK(Session session, InvoiceLineGlAccountPK pk)
-
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(Session session, Collection<InvoiceLineGlAccountPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public InvoiceLineGlAccountValue getValueFromPK(Session session, InvoiceLineGlAccountPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<InvoiceLineGlAccountValue> getValuesFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public InvoiceLineGlAccountValue getValueFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<InvoiceLineGlAccount> getEntitiesFromPKs(EntityPermission entityPermission, Collection<InvoiceLineGlAccountPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<InvoiceLineGlAccount> getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<InvoiceLineGlAccountPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public InvoiceLineGlAccount getEntityFromValue(EntityPermission entityPermission, InvoiceLineGlAccountValue value) -
getEntityFromValue
public InvoiceLineGlAccount getEntityFromValue(Session session, EntityPermission entityPermission, InvoiceLineGlAccountValue value) -
getEntityFromPK
public InvoiceLineGlAccount getEntityFromPK(EntityPermission entityPermission, InvoiceLineGlAccountPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromCache
-
getEntityFromPK
public InvoiceLineGlAccount getEntityFromPK(Session session, 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(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, 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(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) 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) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<InvoiceLineGlAccount> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<InvoiceLineGlAccount> getEntitiesFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InvoiceLineGlAccount getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, 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(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) 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) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InvoiceLineGlAccount getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InvoiceLineGlAccount getEntityFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<InvoiceLineGlAccount> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<InvoiceLineGlAccount> getEntitiesFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public InvoiceLineGlAccount getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public InvoiceLineGlAccount getEntityFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public InvoiceLineGlAccount create(Session session, InvoiceLine invoiceLine, GlAccount glAccount, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public InvoiceLineGlAccount create(InvoiceLine invoiceLine, GlAccount glAccount, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public InvoiceLineGlAccount create(Session session, InvoiceLinePK invoiceLinePK, GlAccountPK glAccountPK, 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(Session session, Collection<InvoiceLineGlAccountValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<InvoiceLineGlAccountValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<InvoiceLineGlAccountPK,InvoiceLineGlAccount> - Throws:
PersistenceDatabaseException
-
store
public void store(Session session, Collection<InvoiceLineGlAccount> entities) throws PersistenceDatabaseException - Specified by:
storein interfaceBaseFactory<InvoiceLineGlAccountPK,InvoiceLineGlAccount> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
storein interfaceBaseFactory<InvoiceLineGlAccountPK,InvoiceLineGlAccount> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Session session, InvoiceLineGlAccount entity) throws PersistenceDatabaseException - Specified by:
removein interfaceBaseFactory<InvoiceLineGlAccountPK,InvoiceLineGlAccount> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<InvoiceLineGlAccountPK,InvoiceLineGlAccount> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Session session, Collection<InvoiceLineGlAccountPK> pks) throws PersistenceDatabaseException - Specified by:
removein interfaceBaseFactory<InvoiceLineGlAccountPK,InvoiceLineGlAccount> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<InvoiceLineGlAccountPK,InvoiceLineGlAccount> - Throws:
PersistenceDatabaseException
-
validPK
public boolean validPK(Session session, InvoiceLineGlAccountPK pk) throws PersistenceDatabaseException - Specified by:
validPKin interfaceBaseFactory<InvoiceLineGlAccountPK,InvoiceLineGlAccount> - Throws:
PersistenceDatabaseException
-