Class FinancialAccountDetailFactory
java.lang.Object
com.echothree.model.data.financial.server.factory.FinancialAccountDetailFactory
- All Implemented Interfaces:
BaseFactory<FinancialAccountDetailPK,FinancialAccountDetail>
@ApplicationScoped
public class FinancialAccountDetailFactory
extends Object
implements BaseFactory<FinancialAccountDetailPK,FinancialAccountDetail>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of FinancialAccountDetailFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(FinancialAccountPK financialAccountPK, FinancialAccountTypePK financialAccountTypePK, String financialAccountName, CurrencyPK currencyPK, GlAccountPK glAccountPK, String reference, String description, Long fromTime, Long thruTime) create(FinancialAccount financialAccount, FinancialAccountType financialAccountType, String financialAccountName, Currency currency, GlAccount glAccount, String reference, String description, Long fromTime, Long thruTime) voidcreate(Collection<FinancialAccountDetailValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<FinancialAccountDetailPK> 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, FinancialAccountDetailPK 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, FinancialAccountDetailValue value) getPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(FinancialAccountDetail entity) voidvoidstore(FinancialAccountDetail entity) voidstore(Collection<FinancialAccountDetail> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
FINADT_FINANCIALACCOUNTDETAILID
- See Also:
-
FINADT_FINA_FINANCIALACCOUNTID
- See Also:
-
FINADT_FNATYP_FINANCIALACCOUNTTYPEID
- See Also:
-
FINADT_FINANCIALACCOUNTNAME
- See Also:
-
FINADT_CUR_CURRENCYID
- See Also:
-
FINADT_GLA_GLACCOUNTID
- See Also:
-
FINADT_REFERENCE
- See Also:
-
FINADT_DESCRIPTION
- See Also:
-
FINADT_FROMTIME
- See Also:
-
FINADT_THRUTIME
- See Also:
-
-
Constructor Details
-
FinancialAccountDetailFactory
protected FinancialAccountDetailFactory()Creates a new instance of FinancialAccountDetailFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<FinancialAccountDetailPK,FinancialAccountDetail>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<FinancialAccountDetailPK,FinancialAccountDetail>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<FinancialAccountDetailPK,FinancialAccountDetail>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<FinancialAccountDetailPK,FinancialAccountDetail>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<FinancialAccountDetailPK,FinancialAccountDetail>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<FinancialAccountDetailPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<FinancialAccountDetailPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
public FinancialAccountDetailPK getPKFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<FinancialAccountDetailValue> getValuesFromPKs(Collection<FinancialAccountDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public FinancialAccountDetailValue getValueFromPK(FinancialAccountDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<FinancialAccountDetailValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public FinancialAccountDetailValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<FinancialAccountDetail> getEntitiesFromPKs(EntityPermission entityPermission, Collection<FinancialAccountDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public FinancialAccountDetail getEntityFromValue(EntityPermission entityPermission, FinancialAccountDetailValue value) -
getEntityFromCache
-
getEntityFromPK
public FinancialAccountDetail getEntityFromPK(EntityPermission entityPermission, FinancialAccountDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<FinancialAccountDetailPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<FinancialAccountDetailPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public FinancialAccountDetailPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<FinancialAccountDetail> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<FinancialAccountDetail> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<FinancialAccountDetail> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public FinancialAccountDetail getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public FinancialAccountDetail getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public FinancialAccountDetail getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<FinancialAccountDetail> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public FinancialAccountDetail getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public FinancialAccountDetail create(FinancialAccount financialAccount, FinancialAccountType financialAccountType, String financialAccountName, Currency currency, GlAccount glAccount, String reference, String description, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public FinancialAccountDetail create(FinancialAccountPK financialAccountPK, FinancialAccountTypePK financialAccountTypePK, String financialAccountName, CurrencyPK currencyPK, GlAccountPK glAccountPK, String reference, String description, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<FinancialAccountDetailValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<FinancialAccountDetailPK,FinancialAccountDetail> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
storein interfaceBaseFactory<FinancialAccountDetailPK,FinancialAccountDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<FinancialAccountDetailPK,FinancialAccountDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<FinancialAccountDetailPK,FinancialAccountDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<FinancialAccountDetailPK,FinancialAccountDetail> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<FinancialAccountDetailPK,FinancialAccountDetail> - Throws:
PersistenceDatabaseException
-