Class GlAccountDetailFactory
java.lang.Object
com.echothree.model.data.accounting.server.factory.GlAccountDetailFactory
- All Implemented Interfaces:
BaseFactory<GlAccountDetailPK,GlAccountDetail>
@ApplicationScoped
public class GlAccountDetailFactory
extends Object
implements BaseFactory<GlAccountDetailPK,GlAccountDetail>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of GlAccountDetailFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(GlAccountPK glAccountPK, String glAccountName, GlAccountPK parentGlAccountPK, GlAccountTypePK glAccountTypePK, GlAccountClassPK glAccountClassPK, GlAccountCategoryPK glAccountCategoryPK, GlResourceTypePK glResourceTypePK, CurrencyPK currencyPK, Boolean isDefault, Long fromTime, Long thruTime) create(GlAccount glAccount, String glAccountName, GlAccount parentGlAccount, GlAccountType glAccountType, GlAccountClass glAccountClass, GlAccountCategory glAccountCategory, GlResourceType glResourceType, Currency currency, Boolean isDefault, Long fromTime, Long thruTime) voidcreate(Collection<GlAccountDetailValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<GlAccountDetailPK> 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, GlAccountDetailPK 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, GlAccountDetailValue value) static GlAccountDetailFactorygetPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(GlAccountDetail entity) voidvoidstore(GlAccountDetail entity) voidstore(Collection<GlAccountDetail> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
GLADT_GLACCOUNTDETAILID
- See Also:
-
GLADT_GLA_GLACCOUNTID
- See Also:
-
GLADT_GLACCOUNTNAME
- See Also:
-
GLADT_PARENTGLACCOUNTID
- See Also:
-
GLADT_GLATYP_GLACCOUNTTYPEID
- See Also:
-
GLADT_GLACLS_GLACCOUNTCLASSID
- See Also:
-
GLADT_GLAC_GLACCOUNTCATEGORYID
- See Also:
-
GLADT_GLRTYP_GLRESOURCETYPEID
- See Also:
-
GLADT_CUR_CURRENCYID
- See Also:
-
GLADT_ISDEFAULT
- See Also:
-
GLADT_FROMTIME
- See Also:
-
GLADT_THRUTIME
- See Also:
-
-
Constructor Details
-
GlAccountDetailFactory
protected GlAccountDetailFactory()Creates a new instance of GlAccountDetailFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<GlAccountDetailPK,GlAccountDetail>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<GlAccountDetailPK,GlAccountDetail>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<GlAccountDetailPK,GlAccountDetail>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<GlAccountDetailPK,GlAccountDetail>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<GlAccountDetailPK,GlAccountDetail>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<GlAccountDetailPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<GlAccountDetailPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<GlAccountDetailValue> getValuesFromPKs(Collection<GlAccountDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public GlAccountDetailValue getValueFromPK(GlAccountDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<GlAccountDetailValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
- Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<GlAccountDetail> getEntitiesFromPKs(EntityPermission entityPermission, Collection<GlAccountDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public GlAccountDetail getEntityFromValue(EntityPermission entityPermission, GlAccountDetailValue value) -
getEntityFromCache
-
getEntityFromPK
public GlAccountDetail getEntityFromPK(EntityPermission entityPermission, GlAccountDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<GlAccountDetailPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<GlAccountDetailPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public GlAccountDetailPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<GlAccountDetail> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<GlAccountDetail> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<GlAccountDetail> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public GlAccountDetail getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public GlAccountDetail getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public GlAccountDetail getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<GlAccountDetail> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public GlAccountDetail getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public GlAccountDetail create(GlAccount glAccount, String glAccountName, GlAccount parentGlAccount, GlAccountType glAccountType, GlAccountClass glAccountClass, GlAccountCategory glAccountCategory, GlResourceType glResourceType, Currency currency, Boolean isDefault, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public GlAccountDetail create(GlAccountPK glAccountPK, String glAccountName, GlAccountPK parentGlAccountPK, GlAccountTypePK glAccountTypePK, GlAccountClassPK glAccountClassPK, GlAccountCategoryPK glAccountCategoryPK, GlResourceTypePK glResourceTypePK, CurrencyPK currencyPK, Boolean isDefault, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<GlAccountDetailValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<GlAccountDetailPK,GlAccountDetail> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
storein interfaceBaseFactory<GlAccountDetailPK,GlAccountDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<GlAccountDetailPK,GlAccountDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<GlAccountDetailPK,GlAccountDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<GlAccountDetailPK,GlAccountDetail> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<GlAccountDetailPK,GlAccountDetail> - Throws:
PersistenceDatabaseException
-