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