Class LocationCapacityFactory
java.lang.Object
com.echothree.model.data.warehouse.server.factory.LocationCapacityFactory
- All Implemented Interfaces:
BaseFactory<LocationCapacityPK,LocationCapacity>
public class LocationCapacityFactory
extends Object
implements BaseFactory<LocationCapacityPK,LocationCapacity>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncreate(LocationPK locationPK, UnitOfMeasureTypePK unitOfMeasureTypePK, Long capacity, Long fromTime, Long thruTime) create(Location location, UnitOfMeasureType unitOfMeasureType, Long capacity, Long fromTime, Long thruTime) create(Session session, LocationPK locationPK, UnitOfMeasureTypePK unitOfMeasureTypePK, Long capacity, Long fromTime, Long thruTime) create(Session session, Location location, UnitOfMeasureType unitOfMeasureType, Long capacity, Long fromTime, Long thruTime) voidcreate(Session session, Collection<LocationCapacityValue> _values) voidcreate(Collection<LocationCapacityValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<LocationCapacityPK> pks) getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<LocationCapacityPK> 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, LocationCapacityPK pk) getEntityFromPK(EntityPermission entityPermission, LocationCapacityPK pk) getEntityFromPK(Session session, EntityPermission entityPermission, LocationCapacityPK 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, LocationCapacityValue value) getEntityFromValue(Session session, EntityPermission entityPermission, LocationCapacityValue value) static LocationCapacityFactorygetPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) getValueFromPK(Session session, LocationCapacityPK pk) getValueFromResultSet(Session session, ResultSet rs) getValuesFromPKs(Session session, Collection<LocationCapacityPK> pks) getValuesFromResultSet(Session session, ResultSet rs) prepareStatement(String query) voidremove(Session session, LocationCapacityPK pk) voidremove(Session session, LocationCapacity entity) voidremove(Session session, Collection<LocationCapacityPK> pks) voidvoidstore(Session session, LocationCapacity entity) voidstore(Session session, Collection<LocationCapacity> entities) voidstore(Collection<LocationCapacity> entities) booleanvalidPK(Session session, LocationCapacityPK pk)
-
Field Details
-
TABLE_NAME
- See Also:
-
LOCCAP_LOCATIONCAPACITYID
- See Also:
-
LOCCAP_LOC_LOCATIONID
- See Also:
-
LOCCAP_UOMT_UNITOFMEASURETYPEID
- See Also:
-
LOCCAP_CAPACITY
- See Also:
-
LOCCAP_FROMTIME
- See Also:
-
LOCCAP_THRUTIME
- See Also:
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<LocationCapacityPK,LocationCapacity>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<LocationCapacityPK,LocationCapacity>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<LocationCapacityPK,LocationCapacity>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<LocationCapacityPK,LocationCapacity>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<LocationCapacityPK,LocationCapacity>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<LocationCapacityPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<LocationCapacityPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<LocationCapacityValue> getValuesFromPKs(Session session, Collection<LocationCapacityPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public LocationCapacityValue getValueFromPK(Session session, LocationCapacityPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<LocationCapacityValue> getValuesFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public LocationCapacityValue getValueFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<LocationCapacity> getEntitiesFromPKs(EntityPermission entityPermission, Collection<LocationCapacityPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<LocationCapacity> getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<LocationCapacityPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public LocationCapacity getEntityFromValue(EntityPermission entityPermission, LocationCapacityValue value) -
getEntityFromValue
public LocationCapacity getEntityFromValue(Session session, EntityPermission entityPermission, LocationCapacityValue value) -
getEntityFromPK
public LocationCapacity getEntityFromPK(EntityPermission entityPermission, LocationCapacityPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromCache
-
getEntityFromPK
public LocationCapacity getEntityFromPK(Session session, EntityPermission entityPermission, LocationCapacityPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<LocationCapacityPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<LocationCapacityPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public LocationCapacityPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<LocationCapacity> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<LocationCapacity> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<LocationCapacity> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<LocationCapacity> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<LocationCapacity> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<LocationCapacity> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<LocationCapacity> getEntitiesFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public LocationCapacity getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public LocationCapacity getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public LocationCapacity getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public LocationCapacity getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public LocationCapacity getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public LocationCapacity getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public LocationCapacity getEntityFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<LocationCapacity> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<LocationCapacity> getEntitiesFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public LocationCapacity getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public LocationCapacity getEntityFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public LocationCapacity create(Session session, Location location, UnitOfMeasureType unitOfMeasureType, Long capacity, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public LocationCapacity create(Location location, UnitOfMeasureType unitOfMeasureType, Long capacity, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public LocationCapacity create(Session session, LocationPK locationPK, UnitOfMeasureTypePK unitOfMeasureTypePK, Long capacity, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public LocationCapacity create(LocationPK locationPK, UnitOfMeasureTypePK unitOfMeasureTypePK, Long capacity, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Session session, Collection<LocationCapacityValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<LocationCapacityValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<LocationCapacityPK,LocationCapacity> - Throws:
PersistenceDatabaseException
-
store
public void store(Session session, Collection<LocationCapacity> entities) throws PersistenceDatabaseException - Specified by:
storein interfaceBaseFactory<LocationCapacityPK,LocationCapacity> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
storein interfaceBaseFactory<LocationCapacityPK,LocationCapacity> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<LocationCapacityPK,LocationCapacity> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<LocationCapacityPK,LocationCapacity> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Session session, Collection<LocationCapacityPK> pks) throws PersistenceDatabaseException - Specified by:
removein interfaceBaseFactory<LocationCapacityPK,LocationCapacity> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<LocationCapacityPK,LocationCapacity> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<LocationCapacityPK,LocationCapacity> - Throws:
PersistenceDatabaseException
-