Class InventoryConditionGlAccountFactory
java.lang.Object
com.echothree.model.data.inventory.server.factory.InventoryConditionGlAccountFactory
- All Implemented Interfaces:
BaseFactory<InventoryConditionGlAccountPK,InventoryConditionGlAccount>
@ApplicationScoped
public class InventoryConditionGlAccountFactory
extends Object
implements BaseFactory<InventoryConditionGlAccountPK,InventoryConditionGlAccount>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of InventoryConditionGlAccountFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(InventoryConditionPK inventoryConditionPK, ItemAccountingCategoryPK itemAccountingCategoryPK, GlAccountPK inventoryGlAccountPK, GlAccountPK salesGlAccountPK, GlAccountPK returnsGlAccountPK, GlAccountPK cogsGlAccountPK, GlAccountPK returnsCogsGlAccountPK, Long fromTime, Long thruTime) create(InventoryCondition inventoryCondition, ItemAccountingCategory itemAccountingCategory, GlAccount inventoryGlAccount, GlAccount salesGlAccount, GlAccount returnsGlAccount, GlAccount cogsGlAccount, GlAccount returnsCogsGlAccount, Long fromTime, Long thruTime) voidcreate(Collection<InventoryConditionGlAccountValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<InventoryConditionGlAccountPK> 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, InventoryConditionGlAccountPK 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, InventoryConditionGlAccountValue value) getPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(InventoryConditionGlAccount entity) voidvoidstore(InventoryConditionGlAccount entity) voidstore(Collection<InventoryConditionGlAccount> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
INVCONGLA_INVENTORYCONDITIONGLACCOUNTID
- See Also:
-
INVCONGLA_INVCON_INVENTORYCONDITIONID
- See Also:
-
INVCONGLA_IACTGC_ITEMACCOUNTINGCATEGORYID
- See Also:
-
INVCONGLA_INVENTORYGLACCOUNTID
- See Also:
-
INVCONGLA_SALESGLACCOUNTID
- See Also:
-
INVCONGLA_RETURNSGLACCOUNTID
- See Also:
-
INVCONGLA_COGSGLACCOUNTID
- See Also:
-
INVCONGLA_RETURNSCOGSGLACCOUNTID
- See Also:
-
INVCONGLA_FROMTIME
- See Also:
-
INVCONGLA_THRUTIME
- See Also:
-
-
Constructor Details
-
InventoryConditionGlAccountFactory
protected InventoryConditionGlAccountFactory()Creates a new instance of InventoryConditionGlAccountFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<InventoryConditionGlAccountPK,InventoryConditionGlAccount>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<InventoryConditionGlAccountPK,InventoryConditionGlAccount>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<InventoryConditionGlAccountPK,InventoryConditionGlAccount>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<InventoryConditionGlAccountPK,InventoryConditionGlAccount>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<InventoryConditionGlAccountPK,InventoryConditionGlAccount>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<InventoryConditionGlAccountPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<InventoryConditionGlAccountPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
public InventoryConditionGlAccountPK getPKFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<InventoryConditionGlAccountValue> getValuesFromPKs(Collection<InventoryConditionGlAccountPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public InventoryConditionGlAccountValue getValueFromPK(InventoryConditionGlAccountPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<InventoryConditionGlAccountValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public InventoryConditionGlAccountValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<InventoryConditionGlAccount> getEntitiesFromPKs(EntityPermission entityPermission, Collection<InventoryConditionGlAccountPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public InventoryConditionGlAccount getEntityFromValue(EntityPermission entityPermission, InventoryConditionGlAccountValue value) -
getEntityFromCache
-
getEntityFromPK
public InventoryConditionGlAccount getEntityFromPK(EntityPermission entityPermission, InventoryConditionGlAccountPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<InventoryConditionGlAccountPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<InventoryConditionGlAccountPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public InventoryConditionGlAccountPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<InventoryConditionGlAccount> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<InventoryConditionGlAccount> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<InventoryConditionGlAccount> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InventoryConditionGlAccount getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InventoryConditionGlAccount getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public InventoryConditionGlAccount getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<InventoryConditionGlAccount> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public InventoryConditionGlAccount getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public InventoryConditionGlAccount create(InventoryCondition inventoryCondition, ItemAccountingCategory itemAccountingCategory, GlAccount inventoryGlAccount, GlAccount salesGlAccount, GlAccount returnsGlAccount, GlAccount cogsGlAccount, GlAccount returnsCogsGlAccount, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public InventoryConditionGlAccount create(InventoryConditionPK inventoryConditionPK, ItemAccountingCategoryPK itemAccountingCategoryPK, GlAccountPK inventoryGlAccountPK, GlAccountPK salesGlAccountPK, GlAccountPK returnsGlAccountPK, GlAccountPK cogsGlAccountPK, GlAccountPK returnsCogsGlAccountPK, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<InventoryConditionGlAccountValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<InventoryConditionGlAccountPK,InventoryConditionGlAccount> - Throws:
PersistenceDatabaseException
-
store
public void store(Collection<InventoryConditionGlAccount> entities) throws PersistenceDatabaseException - Specified by:
storein interfaceBaseFactory<InventoryConditionGlAccountPK,InventoryConditionGlAccount> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<InventoryConditionGlAccountPK,InventoryConditionGlAccount> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<InventoryConditionGlAccountPK,InventoryConditionGlAccount> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Collection<InventoryConditionGlAccountPK> pks) throws PersistenceDatabaseException - Specified by:
removein interfaceBaseFactory<InventoryConditionGlAccountPK,InventoryConditionGlAccount> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<InventoryConditionGlAccountPK,InventoryConditionGlAccount> - Throws:
PersistenceDatabaseException
-