Class LocationNameElementFactory
java.lang.Object
com.echothree.model.data.warehouse.server.factory.LocationNameElementFactory
- All Implemented Interfaces:
BaseFactory<LocationNameElementPK,LocationNameElement>
@ApplicationScoped
public class LocationNameElementFactory
extends Object
implements BaseFactory<LocationNameElementPK,LocationNameElement>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of LocationNameElementFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate()create(LocationNameElementDetailPK activeDetailPK, LocationNameElementDetailPK lastDetailPK) create(LocationNameElementDetail activeDetail, LocationNameElementDetail lastDetail) voidcreate(Collection<LocationNameElementValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<LocationNameElementPK> 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, LocationNameElementPK 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, LocationNameElementValue value) static LocationNameElementFactorygetPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(LocationNameElement entity) voidvoidstore(LocationNameElement entity) voidstore(Collection<LocationNameElement> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
LOCNE_LOCATIONNAMEELEMENTID
- See Also:
-
LOCNE_ACTIVEDETAILID
- See Also:
-
LOCNE_LASTDETAILID
- See Also:
-
-
Constructor Details
-
LocationNameElementFactory
protected LocationNameElementFactory()Creates a new instance of LocationNameElementFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<LocationNameElementPK,LocationNameElement>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<LocationNameElementPK,LocationNameElement>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<LocationNameElementPK,LocationNameElement>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<LocationNameElementPK,LocationNameElement>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein 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(Collection<LocationNameElementPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public LocationNameElementValue getValueFromPK(LocationNameElementPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<LocationNameElementValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public LocationNameElementValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<LocationNameElement> getEntitiesFromPKs(EntityPermission entityPermission, Collection<LocationNameElementPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public LocationNameElement getEntityFromValue(EntityPermission entityPermission, LocationNameElementValue value) -
getEntityFromCache
-
getEntityFromPK
public LocationNameElement getEntityFromPK(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(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) 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, 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(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public LocationNameElement getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<LocationNameElement> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public LocationNameElement getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public LocationNameElement create() throws PersistenceDatabaseException, PersistenceNotNullException -
create
public LocationNameElement create(LocationNameElementDetail activeDetail, LocationNameElementDetail lastDetail) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public LocationNameElement create(LocationNameElementDetailPK activeDetailPK, LocationNameElementDetailPK lastDetailPK) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<LocationNameElementValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<LocationNameElementPK,LocationNameElement> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
storein interfaceBaseFactory<LocationNameElementPK,LocationNameElement> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<LocationNameElementPK,LocationNameElement> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<LocationNameElementPK,LocationNameElement> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<LocationNameElementPK,LocationNameElement> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<LocationNameElementPK,LocationNameElement> - Throws:
PersistenceDatabaseException
-