Class FinancialAccountDetailFactory
java.lang.Object
com.echothree.model.data.financial.server.factory.FinancialAccountDetailFactory
- All Implemented Interfaces:
BaseFactory<FinancialAccountDetailPK,
FinancialAccountDetail>
public class FinancialAccountDetailFactory
extends Object
implements BaseFactory<FinancialAccountDetailPK,FinancialAccountDetail>
-
Field Summary
Fields -
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) create
(Session session, FinancialAccountPK financialAccountPK, FinancialAccountTypePK financialAccountTypePK, String financialAccountName, CurrencyPK currencyPK, GlAccountPK glAccountPK, String reference, String description, Long fromTime, Long thruTime) create
(Session session, FinancialAccount financialAccount, FinancialAccountType financialAccountType, String financialAccountName, Currency currency, GlAccount glAccount, String reference, String description, Long fromTime, Long thruTime) void
create
(Session session, Collection<FinancialAccountDetailValue> _values) void
create
(Collection<FinancialAccountDetailValue> _values) getEntitiesFromPKs
(EntityPermission entityPermission, Collection<FinancialAccountDetailPK> pks) getEntitiesFromPKs
(Session session, EntityPermission entityPermission, Collection<FinancialAccountDetailPK> 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, FinancialAccountDetailPK pk) getEntityFromPK
(EntityPermission entityPermission, FinancialAccountDetailPK pk) getEntityFromPK
(Session session, EntityPermission entityPermission, FinancialAccountDetailPK 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, FinancialAccountDetailValue value) getEntityFromValue
(Session session, EntityPermission entityPermission, FinancialAccountDetailValue value) getPKFromQuery
(PreparedStatement ps, Object... params) getPKsFromQueryAsList
(PreparedStatement ps, Object... params) getPKsFromQueryAsSet
(PreparedStatement ps, Object... params) getValueFromPK
(Session session, FinancialAccountDetailPK pk) getValueFromResultSet
(Session session, ResultSet rs) getValuesFromPKs
(Session session, Collection<FinancialAccountDetailPK> pks) getValuesFromResultSet
(Session session, ResultSet rs) prepareStatement
(String query) void
remove
(Session session, FinancialAccountDetailPK pk) void
remove
(Session session, FinancialAccountDetail entity) void
remove
(Session session, Collection<FinancialAccountDetailPK> pks) void
void
store
(Session session, FinancialAccountDetail entity) void
store
(Session session, Collection<FinancialAccountDetail> entities) void
store
(Collection<FinancialAccountDetail> entities) boolean
validPK
(Session session, FinancialAccountDetailPK pk)
-
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:
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumn
in interfaceBaseFactory<FinancialAccountDetailPK,
FinancialAccountDetail>
-
getAllColumns
- Specified by:
getAllColumns
in interfaceBaseFactory<FinancialAccountDetailPK,
FinancialAccountDetail>
-
getTableName
- Specified by:
getTableName
in interfaceBaseFactory<FinancialAccountDetailPK,
FinancialAccountDetail>
-
getComponentVendorName
- Specified by:
getComponentVendorName
in interfaceBaseFactory<FinancialAccountDetailPK,
FinancialAccountDetail>
-
getEntityTypeName
- Specified by:
getEntityTypeName
in 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(Session session, Collection<FinancialAccountDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public FinancialAccountDetailValue getValueFromPK(Session session, FinancialAccountDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<FinancialAccountDetailValue> getValuesFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public FinancialAccountDetailValue getValueFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<FinancialAccountDetail> getEntitiesFromPKs(EntityPermission entityPermission, Collection<FinancialAccountDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<FinancialAccountDetail> getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<FinancialAccountDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public FinancialAccountDetail getEntityFromValue(EntityPermission entityPermission, FinancialAccountDetailValue value) -
getEntityFromValue
public FinancialAccountDetail getEntityFromValue(Session session, EntityPermission entityPermission, FinancialAccountDetailValue value) -
getEntityFromPK
public FinancialAccountDetail getEntityFromPK(EntityPermission entityPermission, FinancialAccountDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromCache
-
getEntityFromPK
public FinancialAccountDetail getEntityFromPK(Session session, 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(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, 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(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) 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) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<FinancialAccountDetail> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<FinancialAccountDetail> getEntitiesFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public FinancialAccountDetail getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, 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(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) 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) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public FinancialAccountDetail getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public FinancialAccountDetail getEntityFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<FinancialAccountDetail> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<FinancialAccountDetail> getEntitiesFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public FinancialAccountDetail getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public FinancialAccountDetail getEntityFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public FinancialAccountDetail create(Session session, 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(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(Session session, FinancialAccountPK financialAccountPK, FinancialAccountTypePK financialAccountTypePK, String financialAccountName, CurrencyPK currencyPK, GlAccountPK glAccountPK, 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(Session session, Collection<FinancialAccountDetailValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<FinancialAccountDetailValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
public void store(Session session, FinancialAccountDetail entity) throws PersistenceDatabaseException - Specified by:
store
in interfaceBaseFactory<FinancialAccountDetailPK,
FinancialAccountDetail> - Throws:
PersistenceDatabaseException
-
store
public void store(Session session, Collection<FinancialAccountDetail> entities) throws PersistenceDatabaseException - Specified by:
store
in interfaceBaseFactory<FinancialAccountDetailPK,
FinancialAccountDetail> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
store
in interfaceBaseFactory<FinancialAccountDetailPK,
FinancialAccountDetail> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Session session, FinancialAccountDetail entity) throws PersistenceDatabaseException - Specified by:
remove
in interfaceBaseFactory<FinancialAccountDetailPK,
FinancialAccountDetail> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Session session, FinancialAccountDetailPK pk) throws PersistenceDatabaseException - Specified by:
remove
in interfaceBaseFactory<FinancialAccountDetailPK,
FinancialAccountDetail> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Session session, Collection<FinancialAccountDetailPK> pks) throws PersistenceDatabaseException - Specified by:
remove
in interfaceBaseFactory<FinancialAccountDetailPK,
FinancialAccountDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<FinancialAccountDetailPK,
FinancialAccountDetail> - Throws:
PersistenceDatabaseException
-
validPK
public boolean validPK(Session session, FinancialAccountDetailPK pk) throws PersistenceDatabaseException - Specified by:
validPK
in interfaceBaseFactory<FinancialAccountDetailPK,
FinancialAccountDetail> - Throws:
PersistenceDatabaseException
-