Class FinancialAccountAliasFactory
java.lang.Object
com.echothree.model.data.financial.server.factory.FinancialAccountAliasFactory
- All Implemented Interfaces:
BaseFactory<FinancialAccountAliasPK,FinancialAccountAlias>
@ApplicationScoped
public class FinancialAccountAliasFactory
extends Object
implements BaseFactory<FinancialAccountAliasPK,FinancialAccountAlias>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of FinancialAccountAliasFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(FinancialAccountPK financialAccountPK, FinancialAccountAliasTypePK financialAccountAliasTypePK, String alias, Long fromTime, Long thruTime) create(FinancialAccount financialAccount, FinancialAccountAliasType financialAccountAliasType, String alias, Long fromTime, Long thruTime) voidcreate(Collection<FinancialAccountAliasValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<FinancialAccountAliasPK> 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, FinancialAccountAliasPK 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, FinancialAccountAliasValue value) static FinancialAccountAliasFactorygetPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(FinancialAccountAlias entity) voidvoidstore(FinancialAccountAlias entity) voidstore(Collection<FinancialAccountAlias> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
FINAAL_FINANCIALACCOUNTALIASID
- See Also:
-
FINAAL_FINA_FINANCIALACCOUNTID
- See Also:
-
FINAAL_FINAAT_FINANCIALACCOUNTALIASTYPEID
- See Also:
-
FINAAL_ALIAS
- See Also:
-
FINAAL_FROMTIME
- See Also:
-
FINAAL_THRUTIME
- See Also:
-
-
Constructor Details
-
FinancialAccountAliasFactory
protected FinancialAccountAliasFactory()Creates a new instance of FinancialAccountAliasFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<FinancialAccountAliasPK,FinancialAccountAlias>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<FinancialAccountAliasPK,FinancialAccountAlias>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<FinancialAccountAliasPK,FinancialAccountAlias>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<FinancialAccountAliasPK,FinancialAccountAlias>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<FinancialAccountAliasPK,FinancialAccountAlias>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<FinancialAccountAliasPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<FinancialAccountAliasPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<FinancialAccountAliasValue> getValuesFromPKs(Collection<FinancialAccountAliasPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public FinancialAccountAliasValue getValueFromPK(FinancialAccountAliasPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<FinancialAccountAliasValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public FinancialAccountAliasValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<FinancialAccountAlias> getEntitiesFromPKs(EntityPermission entityPermission, Collection<FinancialAccountAliasPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public FinancialAccountAlias getEntityFromValue(EntityPermission entityPermission, FinancialAccountAliasValue value) -
getEntityFromCache
-
getEntityFromPK
public FinancialAccountAlias getEntityFromPK(EntityPermission entityPermission, FinancialAccountAliasPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<FinancialAccountAliasPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<FinancialAccountAliasPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public FinancialAccountAliasPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<FinancialAccountAlias> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<FinancialAccountAlias> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<FinancialAccountAlias> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public FinancialAccountAlias getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public FinancialAccountAlias getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public FinancialAccountAlias getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<FinancialAccountAlias> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public FinancialAccountAlias getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public FinancialAccountAlias create(FinancialAccount financialAccount, FinancialAccountAliasType financialAccountAliasType, String alias, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public FinancialAccountAlias create(FinancialAccountPK financialAccountPK, FinancialAccountAliasTypePK financialAccountAliasTypePK, String alias, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<FinancialAccountAliasValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<FinancialAccountAliasPK,FinancialAccountAlias> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
storein interfaceBaseFactory<FinancialAccountAliasPK,FinancialAccountAlias> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<FinancialAccountAliasPK,FinancialAccountAlias> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<FinancialAccountAliasPK,FinancialAccountAlias> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<FinancialAccountAliasPK,FinancialAccountAlias> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<FinancialAccountAliasPK,FinancialAccountAlias> - Throws:
PersistenceDatabaseException
-