Class GlAccountClassDetailFactory
java.lang.Object
com.echothree.model.data.accounting.server.factory.GlAccountClassDetailFactory
- All Implemented Interfaces:
BaseFactory<GlAccountClassDetailPK,GlAccountClassDetail>
@ApplicationScoped
public class GlAccountClassDetailFactory
extends Object
implements BaseFactory<GlAccountClassDetailPK,GlAccountClassDetail>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of GlAccountClassDetailFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(GlAccountClassPK glAccountClassPK, String glAccountClassName, GlAccountClassPK parentGlAccountClassPK, Boolean isDefault, Integer sortOrder, Long fromTime, Long thruTime) create(GlAccountClass glAccountClass, String glAccountClassName, GlAccountClass parentGlAccountClass, Boolean isDefault, Integer sortOrder, Long fromTime, Long thruTime) voidcreate(Collection<GlAccountClassDetailValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<GlAccountClassDetailPK> 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, GlAccountClassDetailPK 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, GlAccountClassDetailValue value) static GlAccountClassDetailFactorygetPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(GlAccountClassDetail entity) voidvoidstore(GlAccountClassDetail entity) voidstore(Collection<GlAccountClassDetail> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
GLACLSDT_GLACCOUNTCLASSDETAILID
- See Also:
-
GLACLSDT_GLACLS_GLACCOUNTCLASSID
- See Also:
-
GLACLSDT_GLACCOUNTCLASSNAME
- See Also:
-
GLACLSDT_PARENTGLACCOUNTCLASSID
- See Also:
-
GLACLSDT_ISDEFAULT
- See Also:
-
GLACLSDT_SORTORDER
- See Also:
-
GLACLSDT_FROMTIME
- See Also:
-
GLACLSDT_THRUTIME
- See Also:
-
-
Constructor Details
-
GlAccountClassDetailFactory
protected GlAccountClassDetailFactory()Creates a new instance of GlAccountClassDetailFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<GlAccountClassDetailPK,GlAccountClassDetail>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<GlAccountClassDetailPK,GlAccountClassDetail>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<GlAccountClassDetailPK,GlAccountClassDetail>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<GlAccountClassDetailPK,GlAccountClassDetail>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<GlAccountClassDetailPK,GlAccountClassDetail>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<GlAccountClassDetailPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<GlAccountClassDetailPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<GlAccountClassDetailValue> getValuesFromPKs(Collection<GlAccountClassDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public GlAccountClassDetailValue getValueFromPK(GlAccountClassDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<GlAccountClassDetailValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public GlAccountClassDetailValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<GlAccountClassDetail> getEntitiesFromPKs(EntityPermission entityPermission, Collection<GlAccountClassDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public GlAccountClassDetail getEntityFromValue(EntityPermission entityPermission, GlAccountClassDetailValue value) -
getEntityFromCache
-
getEntityFromPK
public GlAccountClassDetail getEntityFromPK(EntityPermission entityPermission, GlAccountClassDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<GlAccountClassDetailPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<GlAccountClassDetailPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public GlAccountClassDetailPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<GlAccountClassDetail> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<GlAccountClassDetail> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<GlAccountClassDetail> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public GlAccountClassDetail getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public GlAccountClassDetail getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public GlAccountClassDetail getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<GlAccountClassDetail> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public GlAccountClassDetail getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public GlAccountClassDetail create(GlAccountClass glAccountClass, String glAccountClassName, GlAccountClass parentGlAccountClass, Boolean isDefault, Integer sortOrder, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public GlAccountClassDetail create(GlAccountClassPK glAccountClassPK, String glAccountClassName, GlAccountClassPK parentGlAccountClassPK, Boolean isDefault, Integer sortOrder, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<GlAccountClassDetailValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<GlAccountClassDetailPK,GlAccountClassDetail> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
storein interfaceBaseFactory<GlAccountClassDetailPK,GlAccountClassDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<GlAccountClassDetailPK,GlAccountClassDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<GlAccountClassDetailPK,GlAccountClassDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<GlAccountClassDetailPK,GlAccountClassDetail> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<GlAccountClassDetailPK,GlAccountClassDetail> - Throws:
PersistenceDatabaseException
-