Class ShippingMethodDetailFactory
java.lang.Object
com.echothree.model.data.shipping.server.factory.ShippingMethodDetailFactory
- All Implemented Interfaces:
BaseFactory<ShippingMethodDetailPK,ShippingMethodDetail>
@ApplicationScoped
public class ShippingMethodDetailFactory
extends Object
implements BaseFactory<ShippingMethodDetailPK,ShippingMethodDetail>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of ShippingMethodDetailFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(ShippingMethodPK shippingMethodPK, String shippingMethodName, SelectorPK geoCodeSelectorPK, SelectorPK itemSelectorPK, Integer sortOrder, Long fromTime, Long thruTime) create(ShippingMethod shippingMethod, String shippingMethodName, Selector geoCodeSelector, Selector itemSelector, Integer sortOrder, Long fromTime, Long thruTime) voidcreate(Collection<ShippingMethodDetailValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<ShippingMethodDetailPK> 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, ShippingMethodDetailPK 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, ShippingMethodDetailValue value) static ShippingMethodDetailFactorygetPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(ShippingMethodDetail entity) voidvoidstore(ShippingMethodDetail entity) voidstore(Collection<ShippingMethodDetail> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
SHMDT_SHIPPINGMETHODDETAILID
- See Also:
-
SHMDT_SHM_SHIPPINGMETHODID
- See Also:
-
SHMDT_SHIPPINGMETHODNAME
- See Also:
-
SHMDT_GEOCODESELECTORID
- See Also:
-
SHMDT_ITEMSELECTORID
- See Also:
-
SHMDT_SORTORDER
- See Also:
-
SHMDT_FROMTIME
- See Also:
-
SHMDT_THRUTIME
- See Also:
-
-
Constructor Details
-
ShippingMethodDetailFactory
protected ShippingMethodDetailFactory()Creates a new instance of ShippingMethodDetailFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<ShippingMethodDetailPK,ShippingMethodDetail>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<ShippingMethodDetailPK,ShippingMethodDetail>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<ShippingMethodDetailPK,ShippingMethodDetail>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<ShippingMethodDetailPK,ShippingMethodDetail>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<ShippingMethodDetailPK,ShippingMethodDetail>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<ShippingMethodDetailPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<ShippingMethodDetailPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<ShippingMethodDetailValue> getValuesFromPKs(Collection<ShippingMethodDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public ShippingMethodDetailValue getValueFromPK(ShippingMethodDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<ShippingMethodDetailValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public ShippingMethodDetailValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<ShippingMethodDetail> getEntitiesFromPKs(EntityPermission entityPermission, Collection<ShippingMethodDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public ShippingMethodDetail getEntityFromValue(EntityPermission entityPermission, ShippingMethodDetailValue value) -
getEntityFromCache
-
getEntityFromPK
public ShippingMethodDetail getEntityFromPK(EntityPermission entityPermission, ShippingMethodDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<ShippingMethodDetailPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<ShippingMethodDetailPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public ShippingMethodDetailPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ShippingMethodDetail> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ShippingMethodDetail> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ShippingMethodDetail> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ShippingMethodDetail getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ShippingMethodDetail getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ShippingMethodDetail getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<ShippingMethodDetail> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public ShippingMethodDetail getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public ShippingMethodDetail create(ShippingMethod shippingMethod, String shippingMethodName, Selector geoCodeSelector, Selector itemSelector, Integer sortOrder, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public ShippingMethodDetail create(ShippingMethodPK shippingMethodPK, String shippingMethodName, SelectorPK geoCodeSelectorPK, SelectorPK itemSelectorPK, Integer sortOrder, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<ShippingMethodDetailValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<ShippingMethodDetailPK,ShippingMethodDetail> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
storein interfaceBaseFactory<ShippingMethodDetailPK,ShippingMethodDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<ShippingMethodDetailPK,ShippingMethodDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<ShippingMethodDetailPK,ShippingMethodDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<ShippingMethodDetailPK,ShippingMethodDetail> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<ShippingMethodDetailPK,ShippingMethodDetail> - Throws:
PersistenceDatabaseException
-