Class GlAccountClassFactory
java.lang.Object
com.echothree.model.data.accounting.server.factory.GlAccountClassFactory
- All Implemented Interfaces:
BaseFactory<GlAccountClassPK,GlAccountClass>
@ApplicationScoped
public class GlAccountClassFactory
extends Object
implements BaseFactory<GlAccountClassPK,GlAccountClass>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of GlAccountClassFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate()create(GlAccountClassDetailPK activeDetailPK, GlAccountClassDetailPK lastDetailPK) create(GlAccountClassDetail activeDetail, GlAccountClassDetail lastDetail) voidcreate(Collection<GlAccountClassValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<GlAccountClassPK> 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, GlAccountClassPK 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, GlAccountClassValue value) static GlAccountClassFactorygetPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(GlAccountClass entity) voidremove(Collection<GlAccountClassPK> pks) voidstore(GlAccountClass entity) voidstore(Collection<GlAccountClass> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
GLACLS_GLACCOUNTCLASSID
- See Also:
-
GLACLS_ACTIVEDETAILID
- See Also:
-
GLACLS_LASTDETAILID
- See Also:
-
-
Constructor Details
-
GlAccountClassFactory
protected GlAccountClassFactory()Creates a new instance of GlAccountClassFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<GlAccountClassPK,GlAccountClass>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<GlAccountClassPK,GlAccountClass>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<GlAccountClassPK,GlAccountClass>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<GlAccountClassPK,GlAccountClass>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<GlAccountClassPK,GlAccountClass>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<GlAccountClassPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<GlAccountClassPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<GlAccountClassValue> getValuesFromPKs(Collection<GlAccountClassPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
- Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<GlAccountClassValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
- Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<GlAccountClass> getEntitiesFromPKs(EntityPermission entityPermission, Collection<GlAccountClassPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public GlAccountClass getEntityFromValue(EntityPermission entityPermission, GlAccountClassValue value) -
getEntityFromCache
-
getEntityFromPK
public GlAccountClass getEntityFromPK(EntityPermission entityPermission, GlAccountClassPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<GlAccountClassPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<GlAccountClassPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public GlAccountClassPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<GlAccountClass> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<GlAccountClass> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<GlAccountClass> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public GlAccountClass getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public GlAccountClass getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public GlAccountClass getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<GlAccountClass> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public GlAccountClass getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
-
create
public GlAccountClass create(GlAccountClassDetail activeDetail, GlAccountClassDetail lastDetail) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public GlAccountClass create(GlAccountClassDetailPK activeDetailPK, GlAccountClassDetailPK lastDetailPK) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<GlAccountClassValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<GlAccountClassPK,GlAccountClass> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
storein interfaceBaseFactory<GlAccountClassPK,GlAccountClass> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<GlAccountClassPK,GlAccountClass> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<GlAccountClassPK,GlAccountClass> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<GlAccountClassPK,GlAccountClass> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<GlAccountClassPK,GlAccountClass> - Throws:
PersistenceDatabaseException
-