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