Class VendorItemCostFactory
java.lang.Object
com.echothree.model.data.vendor.server.factory.VendorItemCostFactory
- All Implemented Interfaces:
BaseFactory<VendorItemCostPK,
VendorItemCost>
public class VendorItemCostFactory
extends Object
implements BaseFactory<VendorItemCostPK,VendorItemCost>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncreate
(VendorItemPK vendorItemPK, InventoryConditionPK inventoryConditionPK, UnitOfMeasureTypePK unitOfMeasureTypePK, Long unitCost, Long fromTime, Long thruTime) create
(VendorItem vendorItem, InventoryCondition inventoryCondition, UnitOfMeasureType unitOfMeasureType, Long unitCost, Long fromTime, Long thruTime) create
(Session session, VendorItemPK vendorItemPK, InventoryConditionPK inventoryConditionPK, UnitOfMeasureTypePK unitOfMeasureTypePK, Long unitCost, Long fromTime, Long thruTime) create
(Session session, VendorItem vendorItem, InventoryCondition inventoryCondition, UnitOfMeasureType unitOfMeasureType, Long unitCost, Long fromTime, Long thruTime) void
create
(Session session, Collection<VendorItemCostValue> _values) void
create
(Collection<VendorItemCostValue> _values) getEntitiesFromPKs
(EntityPermission entityPermission, Collection<VendorItemCostPK> pks) getEntitiesFromPKs
(Session session, EntityPermission entityPermission, Collection<VendorItemCostPK> pks) getEntitiesFromQuery
(EntityPermission entityPermission, PreparedStatement ps) getEntitiesFromQuery
(EntityPermission entityPermission, PreparedStatement ps, Object... params) getEntitiesFromQuery
(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) getEntitiesFromQuery
(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) getEntitiesFromQuery
(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) getEntitiesFromQuery
(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) getEntitiesFromQuery
(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) getEntitiesFromResultSet
(EntityPermission entityPermission, ResultSet rs) getEntitiesFromResultSet
(Session session, EntityPermission entityPermission, ResultSet rs) getEntityFromCache
(Session session, VendorItemCostPK pk) getEntityFromPK
(EntityPermission entityPermission, VendorItemCostPK pk) getEntityFromPK
(Session session, EntityPermission entityPermission, VendorItemCostPK pk) getEntityFromQuery
(EntityPermission entityPermission, PreparedStatement ps) getEntityFromQuery
(EntityPermission entityPermission, PreparedStatement ps, Object... params) getEntityFromQuery
(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) getEntityFromQuery
(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) getEntityFromQuery
(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) getEntityFromQuery
(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) getEntityFromQuery
(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) getEntityFromResultSet
(EntityPermission entityPermission, ResultSet rs) getEntityFromResultSet
(Session session, EntityPermission entityPermission, ResultSet rs) getEntityFromValue
(EntityPermission entityPermission, VendorItemCostValue value) getEntityFromValue
(Session session, EntityPermission entityPermission, VendorItemCostValue value) static VendorItemCostFactory
getPKFromQuery
(PreparedStatement ps, Object... params) getPKsFromQueryAsList
(PreparedStatement ps, Object... params) getPKsFromQueryAsSet
(PreparedStatement ps, Object... params) getValueFromPK
(Session session, VendorItemCostPK pk) getValueFromResultSet
(Session session, ResultSet rs) getValuesFromPKs
(Session session, Collection<VendorItemCostPK> pks) getValuesFromResultSet
(Session session, ResultSet rs) prepareStatement
(String query) void
remove
(Session session, VendorItemCostPK pk) void
remove
(Session session, VendorItemCost entity) void
remove
(Session session, Collection<VendorItemCostPK> pks) void
remove
(Collection<VendorItemCostPK> pks) void
store
(Session session, VendorItemCost entity) void
store
(Session session, Collection<VendorItemCost> entities) void
store
(Collection<VendorItemCost> entities) boolean
validPK
(Session session, VendorItemCostPK pk)
-
Field Details
-
TABLE_NAME
- See Also:
-
VNDRITMC_VENDORITEMCOSTID
- See Also:
-
VNDRITMC_VNDRITM_VENDORITEMID
- See Also:
-
VNDRITMC_INVCON_INVENTORYCONDITIONID
- See Also:
-
VNDRITMC_UOMT_UNITOFMEASURETYPEID
- See Also:
-
VNDRITMC_UNITCOST
- See Also:
-
VNDRITMC_FROMTIME
- See Also:
-
VNDRITMC_THRUTIME
- See Also:
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumn
in interfaceBaseFactory<VendorItemCostPK,
VendorItemCost>
-
getAllColumns
- Specified by:
getAllColumns
in interfaceBaseFactory<VendorItemCostPK,
VendorItemCost>
-
getTableName
- Specified by:
getTableName
in interfaceBaseFactory<VendorItemCostPK,
VendorItemCost>
-
getComponentVendorName
- Specified by:
getComponentVendorName
in interfaceBaseFactory<VendorItemCostPK,
VendorItemCost>
-
getEntityTypeName
- Specified by:
getEntityTypeName
in interfaceBaseFactory<VendorItemCostPK,
VendorItemCost>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<VendorItemCostPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<VendorItemCostPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<VendorItemCostValue> getValuesFromPKs(Session session, Collection<VendorItemCostPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public VendorItemCostValue getValueFromPK(Session session, VendorItemCostPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<VendorItemCostValue> getValuesFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public VendorItemCostValue getValueFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<VendorItemCost> getEntitiesFromPKs(EntityPermission entityPermission, Collection<VendorItemCostPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<VendorItemCost> getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<VendorItemCostPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public VendorItemCost getEntityFromValue(EntityPermission entityPermission, VendorItemCostValue value) -
getEntityFromValue
public VendorItemCost getEntityFromValue(Session session, EntityPermission entityPermission, VendorItemCostValue value) -
getEntityFromPK
public VendorItemCost getEntityFromPK(EntityPermission entityPermission, VendorItemCostPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromCache
-
getEntityFromPK
public VendorItemCost getEntityFromPK(Session session, EntityPermission entityPermission, VendorItemCostPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<VendorItemCostPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<VendorItemCostPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public VendorItemCostPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<VendorItemCost> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<VendorItemCost> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<VendorItemCost> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<VendorItemCost> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<VendorItemCost> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<VendorItemCost> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<VendorItemCost> getEntitiesFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public VendorItemCost getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public VendorItemCost getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public VendorItemCost getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public VendorItemCost getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public VendorItemCost getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public VendorItemCost getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public VendorItemCost getEntityFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<VendorItemCost> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<VendorItemCost> getEntitiesFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public VendorItemCost getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public VendorItemCost getEntityFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public VendorItemCost create(Session session, VendorItem vendorItem, InventoryCondition inventoryCondition, UnitOfMeasureType unitOfMeasureType, Long unitCost, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public VendorItemCost create(VendorItem vendorItem, InventoryCondition inventoryCondition, UnitOfMeasureType unitOfMeasureType, Long unitCost, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public VendorItemCost create(Session session, VendorItemPK vendorItemPK, InventoryConditionPK inventoryConditionPK, UnitOfMeasureTypePK unitOfMeasureTypePK, Long unitCost, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public VendorItemCost create(VendorItemPK vendorItemPK, InventoryConditionPK inventoryConditionPK, UnitOfMeasureTypePK unitOfMeasureTypePK, Long unitCost, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Session session, Collection<VendorItemCostValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<VendorItemCostValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
store
in interfaceBaseFactory<VendorItemCostPK,
VendorItemCost> - Throws:
PersistenceDatabaseException
-
store
public void store(Session session, Collection<VendorItemCost> entities) throws PersistenceDatabaseException - Specified by:
store
in interfaceBaseFactory<VendorItemCostPK,
VendorItemCost> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
store
in interfaceBaseFactory<VendorItemCostPK,
VendorItemCost> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<VendorItemCostPK,
VendorItemCost> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<VendorItemCostPK,
VendorItemCost> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Session session, Collection<VendorItemCostPK> pks) throws PersistenceDatabaseException - Specified by:
remove
in interfaceBaseFactory<VendorItemCostPK,
VendorItemCost> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<VendorItemCostPK,
VendorItemCost> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPK
in interfaceBaseFactory<VendorItemCostPK,
VendorItemCost> - Throws:
PersistenceDatabaseException
-