Class PartyInventoryCostingMethodFactory
java.lang.Object
com.echothree.model.data.inventory.server.factory.PartyInventoryCostingMethodFactory
- All Implemented Interfaces:
BaseFactory<PartyInventoryCostingMethodPK,PartyInventoryCostingMethod>
@ApplicationScoped
public class PartyInventoryCostingMethodFactory
extends Object
implements BaseFactory<PartyInventoryCostingMethodPK,PartyInventoryCostingMethod>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of PartyInventoryCostingMethodFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(LanguagePK partyPK, InventoryCostingMethodPK inventoryCostingMethodPK, Long fromTime, Long thruTime) create(Language party, InventoryCostingMethod inventoryCostingMethod, Long fromTime, Long thruTime) voidcreate(Collection<PartyInventoryCostingMethodValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<PartyInventoryCostingMethodPK> 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, PartyInventoryCostingMethodPK 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, PartyInventoryCostingMethodValue value) getPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(PartyInventoryCostingMethod entity) voidvoidstore(PartyInventoryCostingMethod entity) voidstore(Collection<PartyInventoryCostingMethod> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
PARINVCM_PARTYINVENTORYCOSTINGMETHODID
- See Also:
-
PARINVCM_PARTYID
- See Also:
-
PARINVCM_INVCM_INVENTORYCOSTINGMETHODID
- See Also:
-
PARINVCM_FROMTIME
- See Also:
-
PARINVCM_THRUTIME
- See Also:
-
-
Constructor Details
-
PartyInventoryCostingMethodFactory
protected PartyInventoryCostingMethodFactory()Creates a new instance of PartyInventoryCostingMethodFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<PartyInventoryCostingMethodPK,PartyInventoryCostingMethod>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<PartyInventoryCostingMethodPK,PartyInventoryCostingMethod>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<PartyInventoryCostingMethodPK,PartyInventoryCostingMethod>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<PartyInventoryCostingMethodPK,PartyInventoryCostingMethod>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<PartyInventoryCostingMethodPK,PartyInventoryCostingMethod>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<PartyInventoryCostingMethodPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<PartyInventoryCostingMethodPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
public PartyInventoryCostingMethodPK getPKFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<PartyInventoryCostingMethodValue> getValuesFromPKs(Collection<PartyInventoryCostingMethodPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public PartyInventoryCostingMethodValue getValueFromPK(PartyInventoryCostingMethodPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<PartyInventoryCostingMethodValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public PartyInventoryCostingMethodValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<PartyInventoryCostingMethod> getEntitiesFromPKs(EntityPermission entityPermission, Collection<PartyInventoryCostingMethodPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public PartyInventoryCostingMethod getEntityFromValue(EntityPermission entityPermission, PartyInventoryCostingMethodValue value) -
getEntityFromCache
-
getEntityFromPK
public PartyInventoryCostingMethod getEntityFromPK(EntityPermission entityPermission, PartyInventoryCostingMethodPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<PartyInventoryCostingMethodPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<PartyInventoryCostingMethodPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public PartyInventoryCostingMethodPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PartyInventoryCostingMethod> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PartyInventoryCostingMethod> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<PartyInventoryCostingMethod> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PartyInventoryCostingMethod getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PartyInventoryCostingMethod getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public PartyInventoryCostingMethod getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<PartyInventoryCostingMethod> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public PartyInventoryCostingMethod getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public PartyInventoryCostingMethod create(Language party, InventoryCostingMethod inventoryCostingMethod, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public PartyInventoryCostingMethod create(LanguagePK partyPK, InventoryCostingMethodPK inventoryCostingMethodPK, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<PartyInventoryCostingMethodValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<PartyInventoryCostingMethodPK,PartyInventoryCostingMethod> - Throws:
PersistenceDatabaseException
-
store
public void store(Collection<PartyInventoryCostingMethod> entities) throws PersistenceDatabaseException - Specified by:
storein interfaceBaseFactory<PartyInventoryCostingMethodPK,PartyInventoryCostingMethod> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<PartyInventoryCostingMethodPK,PartyInventoryCostingMethod> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<PartyInventoryCostingMethodPK,PartyInventoryCostingMethod> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Collection<PartyInventoryCostingMethodPK> pks) throws PersistenceDatabaseException - Specified by:
removein interfaceBaseFactory<PartyInventoryCostingMethodPK,PartyInventoryCostingMethod> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<PartyInventoryCostingMethodPK,PartyInventoryCostingMethod> - Throws:
PersistenceDatabaseException
-