Class ShippingMethodFactory
java.lang.Object
com.echothree.model.data.shipping.server.factory.ShippingMethodFactory
- All Implemented Interfaces:
BaseFactory<ShippingMethodPK,
ShippingMethod>
public class ShippingMethodFactory
extends Object
implements BaseFactory<ShippingMethodPK,ShippingMethod>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncreate()
create
(ShippingMethodDetailPK activeDetailPK, ShippingMethodDetailPK lastDetailPK) create
(ShippingMethodDetail activeDetail, ShippingMethodDetail lastDetail) create
(Session session, ShippingMethodDetailPK activeDetailPK, ShippingMethodDetailPK lastDetailPK) create
(Session session, ShippingMethodDetail activeDetail, ShippingMethodDetail lastDetail) void
create
(Session session, Collection<ShippingMethodValue> _values) void
create
(Collection<ShippingMethodValue> _values) getEntitiesFromPKs
(EntityPermission entityPermission, Collection<ShippingMethodPK> pks) getEntitiesFromPKs
(Session session, EntityPermission entityPermission, Collection<ShippingMethodPK> 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, ShippingMethodPK pk) getEntityFromPK
(EntityPermission entityPermission, ShippingMethodPK pk) getEntityFromPK
(Session session, EntityPermission entityPermission, ShippingMethodPK 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, ShippingMethodValue value) getEntityFromValue
(Session session, EntityPermission entityPermission, ShippingMethodValue value) static ShippingMethodFactory
getPKFromQuery
(PreparedStatement ps, Object... params) getPKsFromQueryAsList
(PreparedStatement ps, Object... params) getPKsFromQueryAsSet
(PreparedStatement ps, Object... params) getValueFromPK
(Session session, ShippingMethodPK pk) getValueFromResultSet
(Session session, ResultSet rs) getValuesFromPKs
(Session session, Collection<ShippingMethodPK> pks) getValuesFromResultSet
(Session session, ResultSet rs) prepareStatement
(String query) void
remove
(Session session, ShippingMethodPK pk) void
remove
(Session session, ShippingMethod entity) void
remove
(Session session, Collection<ShippingMethodPK> pks) void
remove
(Collection<ShippingMethodPK> pks) void
store
(Session session, ShippingMethod entity) void
store
(Session session, Collection<ShippingMethod> entities) void
store
(Collection<ShippingMethod> entities) boolean
validPK
(Session session, ShippingMethodPK pk)
-
Field Details
-
TABLE_NAME
- See Also:
-
SHM_SHIPPINGMETHODID
- See Also:
-
SHM_ACTIVEDETAILID
- See Also:
-
SHM_LASTDETAILID
- See Also:
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumn
in interfaceBaseFactory<ShippingMethodPK,
ShippingMethod>
-
getAllColumns
- Specified by:
getAllColumns
in interfaceBaseFactory<ShippingMethodPK,
ShippingMethod>
-
getTableName
- Specified by:
getTableName
in interfaceBaseFactory<ShippingMethodPK,
ShippingMethod>
-
getComponentVendorName
- Specified by:
getComponentVendorName
in interfaceBaseFactory<ShippingMethodPK,
ShippingMethod>
-
getEntityTypeName
- Specified by:
getEntityTypeName
in interfaceBaseFactory<ShippingMethodPK,
ShippingMethod>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<ShippingMethodPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<ShippingMethodPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<ShippingMethodValue> getValuesFromPKs(Session session, Collection<ShippingMethodPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public ShippingMethodValue getValueFromPK(Session session, ShippingMethodPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<ShippingMethodValue> getValuesFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public ShippingMethodValue getValueFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<ShippingMethod> getEntitiesFromPKs(EntityPermission entityPermission, Collection<ShippingMethodPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<ShippingMethod> getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<ShippingMethodPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public ShippingMethod getEntityFromValue(EntityPermission entityPermission, ShippingMethodValue value) -
getEntityFromValue
public ShippingMethod getEntityFromValue(Session session, EntityPermission entityPermission, ShippingMethodValue value) -
getEntityFromPK
public ShippingMethod getEntityFromPK(EntityPermission entityPermission, ShippingMethodPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromCache
-
getEntityFromPK
public ShippingMethod getEntityFromPK(Session session, EntityPermission entityPermission, ShippingMethodPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<ShippingMethodPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<ShippingMethodPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public ShippingMethodPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ShippingMethod> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ShippingMethod> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ShippingMethod> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ShippingMethod> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ShippingMethod> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ShippingMethod> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<ShippingMethod> getEntitiesFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ShippingMethod getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ShippingMethod getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ShippingMethod getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ShippingMethod getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ShippingMethod getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ShippingMethod getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public ShippingMethod getEntityFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<ShippingMethod> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<ShippingMethod> getEntitiesFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public ShippingMethod getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public ShippingMethod getEntityFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public ShippingMethod create(Session session) throws PersistenceDatabaseException, PersistenceNotNullException -
create
-
create
public ShippingMethod create(Session session, ShippingMethodDetail activeDetail, ShippingMethodDetail lastDetail) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public ShippingMethod create(ShippingMethodDetail activeDetail, ShippingMethodDetail lastDetail) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public ShippingMethod create(Session session, ShippingMethodDetailPK activeDetailPK, ShippingMethodDetailPK lastDetailPK) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public ShippingMethod create(ShippingMethodDetailPK activeDetailPK, ShippingMethodDetailPK lastDetailPK) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Session session, Collection<ShippingMethodValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<ShippingMethodValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
store
in interfaceBaseFactory<ShippingMethodPK,
ShippingMethod> - Throws:
PersistenceDatabaseException
-
store
public void store(Session session, Collection<ShippingMethod> entities) throws PersistenceDatabaseException - Specified by:
store
in interfaceBaseFactory<ShippingMethodPK,
ShippingMethod> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
store
in interfaceBaseFactory<ShippingMethodPK,
ShippingMethod> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<ShippingMethodPK,
ShippingMethod> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<ShippingMethodPK,
ShippingMethod> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Session session, Collection<ShippingMethodPK> pks) throws PersistenceDatabaseException - Specified by:
remove
in interfaceBaseFactory<ShippingMethodPK,
ShippingMethod> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<ShippingMethodPK,
ShippingMethod> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPK
in interfaceBaseFactory<ShippingMethodPK,
ShippingMethod> - Throws:
PersistenceDatabaseException
-