Class VendorItemDetailFactory
java.lang.Object
com.echothree.model.data.vendor.server.factory.VendorItemDetailFactory
- All Implemented Interfaces:
BaseFactory<VendorItemDetailPK,VendorItemDetail>
@ApplicationScoped
public class VendorItemDetailFactory
extends Object
implements BaseFactory<VendorItemDetailPK,VendorItemDetail>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of VendorItemDetailFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(VendorItemPK vendorItemPK, ItemPK itemPK, PartyPK vendorPartyPK, String vendorItemName, String description, Integer priority, CancellationPolicyPK cancellationPolicyPK, ReturnPolicyPK returnPolicyPK, Long fromTime, Long thruTime) create(VendorItem vendorItem, Item item, Party vendorParty, String vendorItemName, String description, Integer priority, CancellationPolicy cancellationPolicy, ReturnPolicy returnPolicy, Long fromTime, Long thruTime) voidcreate(Collection<VendorItemDetailValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<VendorItemDetailPK> 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, VendorItemDetailPK 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, VendorItemDetailValue value) static VendorItemDetailFactorygetPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(VendorItemDetail entity) voidvoidstore(VendorItemDetail entity) voidstore(Collection<VendorItemDetail> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
VNDRITMDT_VENDORITEMDETAILID
- See Also:
-
VNDRITMDT_VNDRITM_VENDORITEMID
- See Also:
-
VNDRITMDT_ITM_ITEMID
- See Also:
-
VNDRITMDT_VENDORPARTYID
- See Also:
-
VNDRITMDT_VENDORITEMNAME
- See Also:
-
VNDRITMDT_DESCRIPTION
- See Also:
-
VNDRITMDT_PRIORITY
- See Also:
-
VNDRITMDT_CNCLPLCY_CANCELLATIONPOLICYID
- See Also:
-
VNDRITMDT_RTNPLCY_RETURNPOLICYID
- See Also:
-
VNDRITMDT_FROMTIME
- See Also:
-
VNDRITMDT_THRUTIME
- See Also:
-
-
Constructor Details
-
VendorItemDetailFactory
protected VendorItemDetailFactory()Creates a new instance of VendorItemDetailFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<VendorItemDetailPK,VendorItemDetail>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<VendorItemDetailPK,VendorItemDetail>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<VendorItemDetailPK,VendorItemDetail>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<VendorItemDetailPK,VendorItemDetail>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<VendorItemDetailPK,VendorItemDetail>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<VendorItemDetailPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<VendorItemDetailPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<VendorItemDetailValue> getValuesFromPKs(Collection<VendorItemDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public VendorItemDetailValue getValueFromPK(VendorItemDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<VendorItemDetailValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public VendorItemDetailValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<VendorItemDetail> getEntitiesFromPKs(EntityPermission entityPermission, Collection<VendorItemDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public VendorItemDetail getEntityFromValue(EntityPermission entityPermission, VendorItemDetailValue value) -
getEntityFromCache
-
getEntityFromPK
public VendorItemDetail getEntityFromPK(EntityPermission entityPermission, VendorItemDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<VendorItemDetailPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<VendorItemDetailPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public VendorItemDetailPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<VendorItemDetail> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<VendorItemDetail> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<VendorItemDetail> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public VendorItemDetail getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public VendorItemDetail getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public VendorItemDetail getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<VendorItemDetail> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public VendorItemDetail getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public VendorItemDetail create(VendorItem vendorItem, Item item, Party vendorParty, String vendorItemName, String description, Integer priority, CancellationPolicy cancellationPolicy, ReturnPolicy returnPolicy, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public VendorItemDetail create(VendorItemPK vendorItemPK, ItemPK itemPK, PartyPK vendorPartyPK, String vendorItemName, String description, Integer priority, CancellationPolicyPK cancellationPolicyPK, ReturnPolicyPK returnPolicyPK, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<VendorItemDetailValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<VendorItemDetailPK,VendorItemDetail> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
storein interfaceBaseFactory<VendorItemDetailPK,VendorItemDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<VendorItemDetailPK,VendorItemDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<VendorItemDetailPK,VendorItemDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<VendorItemDetailPK,VendorItemDetail> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<VendorItemDetailPK,VendorItemDetail> - Throws:
PersistenceDatabaseException
-