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