Class ShippingMethodCarrierServiceFactory
java.lang.Object
com.echothree.model.data.shipping.server.factory.ShippingMethodCarrierServiceFactory
- All Implemented Interfaces:
BaseFactory<ShippingMethodCarrierServicePK,ShippingMethodCarrierService>
@ApplicationScoped
public class ShippingMethodCarrierServiceFactory
extends Object
implements BaseFactory<ShippingMethodCarrierServicePK,ShippingMethodCarrierService>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of ShippingMethodCarrierServiceFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(ShippingMethodPK shippingMethodPK, CarrierServicePK carrierServicePK, Long fromTime, Long thruTime) create(ShippingMethod shippingMethod, CarrierService carrierService, Long fromTime, Long thruTime) voidgetEntitiesFromPKs(EntityPermission entityPermission, Collection<ShippingMethodCarrierServicePK> 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, ShippingMethodCarrierServicePK 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, ShippingMethodCarrierServiceValue value) getPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(ShippingMethodCarrierService entity) voidvoidstore(ShippingMethodCarrierService entity) voidstore(Collection<ShippingMethodCarrierService> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
SHMCRRSRV_SHIPPINGMETHODCARRIERSERVICEID
- See Also:
-
SHMCRRSRV_SHM_SHIPPINGMETHODID
- See Also:
-
SHMCRRSRV_CRRSRV_CARRIERSERVICEID
- See Also:
-
SHMCRRSRV_FROMTIME
- See Also:
-
SHMCRRSRV_THRUTIME
- See Also:
-
-
Constructor Details
-
ShippingMethodCarrierServiceFactory
protected ShippingMethodCarrierServiceFactory()Creates a new instance of ShippingMethodCarrierServiceFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<ShippingMethodCarrierServicePK,ShippingMethodCarrierService>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<ShippingMethodCarrierServicePK,ShippingMethodCarrierService>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<ShippingMethodCarrierServicePK,ShippingMethodCarrierService>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<ShippingMethodCarrierServicePK,ShippingMethodCarrierService>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<ShippingMethodCarrierServicePK,ShippingMethodCarrierService>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<ShippingMethodCarrierServicePK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<ShippingMethodCarrierServicePK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
public ShippingMethodCarrierServicePK getPKFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<ShippingMethodCarrierServiceValue> getValuesFromPKs(Collection<ShippingMethodCarrierServicePK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public ShippingMethodCarrierServiceValue getValueFromPK(ShippingMethodCarrierServicePK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<ShippingMethodCarrierServiceValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public ShippingMethodCarrierServiceValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<ShippingMethodCarrierService> getEntitiesFromPKs(EntityPermission entityPermission, Collection<ShippingMethodCarrierServicePK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public ShippingMethodCarrierService getEntityFromValue(EntityPermission entityPermission, ShippingMethodCarrierServiceValue value) -
getEntityFromCache
-
getEntityFromPK
public ShippingMethodCarrierService getEntityFromPK(EntityPermission entityPermission, ShippingMethodCarrierServicePK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<ShippingMethodCarrierServicePK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<ShippingMethodCarrierServicePK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public ShippingMethodCarrierServicePK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ShippingMethodCarrierService> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ShippingMethodCarrierService> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ShippingMethodCarrierService> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ShippingMethodCarrierService getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ShippingMethodCarrierService getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ShippingMethodCarrierService getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<ShippingMethodCarrierService> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public ShippingMethodCarrierService getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public ShippingMethodCarrierService create(ShippingMethod shippingMethod, CarrierService carrierService, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public ShippingMethodCarrierService create(ShippingMethodPK shippingMethodPK, CarrierServicePK carrierServicePK, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<ShippingMethodCarrierServiceValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<ShippingMethodCarrierServicePK,ShippingMethodCarrierService> - Throws:
PersistenceDatabaseException
-
store
public void store(Collection<ShippingMethodCarrierService> entities) throws PersistenceDatabaseException - Specified by:
storein interfaceBaseFactory<ShippingMethodCarrierServicePK,ShippingMethodCarrierService> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<ShippingMethodCarrierServicePK,ShippingMethodCarrierService> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<ShippingMethodCarrierServicePK,ShippingMethodCarrierService> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Collection<ShippingMethodCarrierServicePK> pks) throws PersistenceDatabaseException - Specified by:
removein interfaceBaseFactory<ShippingMethodCarrierServicePK,ShippingMethodCarrierService> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<ShippingMethodCarrierServicePK,ShippingMethodCarrierService> - Throws:
PersistenceDatabaseException
-