Class TransactionGlEntryFactory
java.lang.Object
com.echothree.model.data.accounting.server.factory.TransactionGlEntryFactory
- All Implemented Interfaces:
BaseFactory<TransactionGlEntryPK,
TransactionGlEntry>
public class TransactionGlEntryFactory
extends Object
implements BaseFactory<TransactionGlEntryPK,TransactionGlEntry>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncreate
(TransactionPK transactionPK, Integer transactionGlEntrySequence, TransactionGlEntryPK parentTransactionGlEntryPK, PartyPK groupPartyPK, TransactionGlAccountCategoryPK transactionGlAccountCategoryPK, GlAccountPK glAccountPK, CurrencyPK originalCurrencyPK, Long originalAmount, Long amount, Long fromTime, Long thruTime) create
(Transaction transaction, Integer transactionGlEntrySequence, TransactionGlEntry parentTransactionGlEntry, Party groupParty, TransactionGlAccountCategory transactionGlAccountCategory, GlAccount glAccount, Currency originalCurrency, Long originalAmount, Long amount, Long fromTime, Long thruTime) create
(Session session, TransactionPK transactionPK, Integer transactionGlEntrySequence, TransactionGlEntryPK parentTransactionGlEntryPK, PartyPK groupPartyPK, TransactionGlAccountCategoryPK transactionGlAccountCategoryPK, GlAccountPK glAccountPK, CurrencyPK originalCurrencyPK, Long originalAmount, Long amount, Long fromTime, Long thruTime) create
(Session session, Transaction transaction, Integer transactionGlEntrySequence, TransactionGlEntry parentTransactionGlEntry, Party groupParty, TransactionGlAccountCategory transactionGlAccountCategory, GlAccount glAccount, Currency originalCurrency, Long originalAmount, Long amount, Long fromTime, Long thruTime) void
create
(Session session, Collection<TransactionGlEntryValue> _values) void
create
(Collection<TransactionGlEntryValue> _values) getEntitiesFromPKs
(EntityPermission entityPermission, Collection<TransactionGlEntryPK> pks) getEntitiesFromPKs
(Session session, EntityPermission entityPermission, Collection<TransactionGlEntryPK> 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, TransactionGlEntryPK pk) getEntityFromPK
(EntityPermission entityPermission, TransactionGlEntryPK pk) getEntityFromPK
(Session session, EntityPermission entityPermission, TransactionGlEntryPK 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, TransactionGlEntryValue value) getEntityFromValue
(Session session, EntityPermission entityPermission, TransactionGlEntryValue value) static TransactionGlEntryFactory
getPKFromQuery
(PreparedStatement ps, Object... params) getPKsFromQueryAsList
(PreparedStatement ps, Object... params) getPKsFromQueryAsSet
(PreparedStatement ps, Object... params) getValueFromPK
(Session session, TransactionGlEntryPK pk) getValueFromResultSet
(Session session, ResultSet rs) getValuesFromPKs
(Session session, Collection<TransactionGlEntryPK> pks) getValuesFromResultSet
(Session session, ResultSet rs) prepareStatement
(String query) void
remove
(Session session, TransactionGlEntryPK pk) void
remove
(Session session, TransactionGlEntry entity) void
remove
(Session session, Collection<TransactionGlEntryPK> pks) void
void
store
(Session session, TransactionGlEntry entity) void
store
(Session session, Collection<TransactionGlEntry> entities) void
store
(Collection<TransactionGlEntry> entities) boolean
validPK
(Session session, TransactionGlEntryPK pk)
-
Field Details
-
TABLE_NAME
- See Also:
-
TRXGLENT_TRANSACTIONGLENTRYID
- See Also:
-
TRXGLENT_TRX_TRANSACTIONID
- See Also:
-
TRXGLENT_TRANSACTIONGLENTRYSEQUENCE
- See Also:
-
TRXGLENT_PARENTTRANSACTIONGLENTRYID
- See Also:
-
TRXGLENT_GROUPPARTYID
- See Also:
-
TRXGLENT_TRXGLAC_TRANSACTIONGLACCOUNTCATEGORYID
- See Also:
-
TRXGLENT_GLA_GLACCOUNTID
- See Also:
-
TRXGLENT_ORIGINALCURRENCYID
- See Also:
-
TRXGLENT_ORIGINALAMOUNT
- See Also:
-
TRXGLENT_AMOUNT
- See Also:
-
TRXGLENT_FROMTIME
- See Also:
-
TRXGLENT_THRUTIME
- See Also:
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumn
in interfaceBaseFactory<TransactionGlEntryPK,
TransactionGlEntry>
-
getAllColumns
- Specified by:
getAllColumns
in interfaceBaseFactory<TransactionGlEntryPK,
TransactionGlEntry>
-
getTableName
- Specified by:
getTableName
in interfaceBaseFactory<TransactionGlEntryPK,
TransactionGlEntry>
-
getComponentVendorName
- Specified by:
getComponentVendorName
in interfaceBaseFactory<TransactionGlEntryPK,
TransactionGlEntry>
-
getEntityTypeName
- Specified by:
getEntityTypeName
in interfaceBaseFactory<TransactionGlEntryPK,
TransactionGlEntry>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<TransactionGlEntryPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<TransactionGlEntryPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<TransactionGlEntryValue> getValuesFromPKs(Session session, Collection<TransactionGlEntryPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public TransactionGlEntryValue getValueFromPK(Session session, TransactionGlEntryPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<TransactionGlEntryValue> getValuesFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public TransactionGlEntryValue getValueFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<TransactionGlEntry> getEntitiesFromPKs(EntityPermission entityPermission, Collection<TransactionGlEntryPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<TransactionGlEntry> getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<TransactionGlEntryPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public TransactionGlEntry getEntityFromValue(EntityPermission entityPermission, TransactionGlEntryValue value) -
getEntityFromValue
public TransactionGlEntry getEntityFromValue(Session session, EntityPermission entityPermission, TransactionGlEntryValue value) -
getEntityFromPK
public TransactionGlEntry getEntityFromPK(EntityPermission entityPermission, TransactionGlEntryPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromCache
-
getEntityFromPK
public TransactionGlEntry getEntityFromPK(Session session, EntityPermission entityPermission, TransactionGlEntryPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<TransactionGlEntryPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<TransactionGlEntryPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public TransactionGlEntryPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<TransactionGlEntry> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<TransactionGlEntry> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<TransactionGlEntry> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<TransactionGlEntry> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<TransactionGlEntry> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<TransactionGlEntry> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<TransactionGlEntry> getEntitiesFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public TransactionGlEntry getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public TransactionGlEntry getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public TransactionGlEntry getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public TransactionGlEntry getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public TransactionGlEntry getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public TransactionGlEntry getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public TransactionGlEntry getEntityFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<TransactionGlEntry> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<TransactionGlEntry> getEntitiesFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public TransactionGlEntry getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public TransactionGlEntry getEntityFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public TransactionGlEntry create(Session session, Transaction transaction, Integer transactionGlEntrySequence, TransactionGlEntry parentTransactionGlEntry, Party groupParty, TransactionGlAccountCategory transactionGlAccountCategory, GlAccount glAccount, Currency originalCurrency, Long originalAmount, Long amount, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public TransactionGlEntry create(Transaction transaction, Integer transactionGlEntrySequence, TransactionGlEntry parentTransactionGlEntry, Party groupParty, TransactionGlAccountCategory transactionGlAccountCategory, GlAccount glAccount, Currency originalCurrency, Long originalAmount, Long amount, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public TransactionGlEntry create(Session session, TransactionPK transactionPK, Integer transactionGlEntrySequence, TransactionGlEntryPK parentTransactionGlEntryPK, PartyPK groupPartyPK, TransactionGlAccountCategoryPK transactionGlAccountCategoryPK, GlAccountPK glAccountPK, CurrencyPK originalCurrencyPK, Long originalAmount, Long amount, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public TransactionGlEntry create(TransactionPK transactionPK, Integer transactionGlEntrySequence, TransactionGlEntryPK parentTransactionGlEntryPK, PartyPK groupPartyPK, TransactionGlAccountCategoryPK transactionGlAccountCategoryPK, GlAccountPK glAccountPK, CurrencyPK originalCurrencyPK, Long originalAmount, Long amount, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Session session, Collection<TransactionGlEntryValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<TransactionGlEntryValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
store
in interfaceBaseFactory<TransactionGlEntryPK,
TransactionGlEntry> - Throws:
PersistenceDatabaseException
-
store
public void store(Session session, Collection<TransactionGlEntry> entities) throws PersistenceDatabaseException - Specified by:
store
in interfaceBaseFactory<TransactionGlEntryPK,
TransactionGlEntry> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
store
in interfaceBaseFactory<TransactionGlEntryPK,
TransactionGlEntry> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<TransactionGlEntryPK,
TransactionGlEntry> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<TransactionGlEntryPK,
TransactionGlEntry> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Session session, Collection<TransactionGlEntryPK> pks) throws PersistenceDatabaseException - Specified by:
remove
in interfaceBaseFactory<TransactionGlEntryPK,
TransactionGlEntry> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<TransactionGlEntryPK,
TransactionGlEntry> - Throws:
PersistenceDatabaseException
-
validPK
public boolean validPK(Session session, TransactionGlEntryPK pk) throws PersistenceDatabaseException - Specified by:
validPK
in interfaceBaseFactory<TransactionGlEntryPK,
TransactionGlEntry> - Throws:
PersistenceDatabaseException
-