Class LocationNameElementDetailFactory
java.lang.Object
com.echothree.model.data.warehouse.server.factory.LocationNameElementDetailFactory
- All Implemented Interfaces:
BaseFactory<LocationNameElementDetailPK,LocationNameElementDetail>
@ApplicationScoped
public class LocationNameElementDetailFactory
extends Object
implements BaseFactory<LocationNameElementDetailPK,LocationNameElementDetail>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of LocationNameElementDetailFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(LocationNameElementPK locationNameElementPK, LocationTypePK locationTypePK, String locationNameElementName, Integer offset, Integer length, String validationPattern, Long fromTime, Long thruTime) create(LocationNameElement locationNameElement, LocationType locationType, String locationNameElementName, Integer offset, Integer length, String validationPattern, Long fromTime, Long thruTime) voidcreate(Collection<LocationNameElementDetailValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<LocationNameElementDetailPK> 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, LocationNameElementDetailPK 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, LocationNameElementDetailValue value) getPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(LocationNameElementDetail entity) voidvoidstore(LocationNameElementDetail entity) voidstore(Collection<LocationNameElementDetail> entities) boolean
-
Field Details
-
TABLE_NAME
- See Also:
-
LOCNEDT_LOCATIONNAMEELEMENTDETAILID
- See Also:
-
LOCNEDT_LOCNE_LOCATIONNAMEELEMENTID
- See Also:
-
LOCNEDT_LOCTYP_LOCATIONTYPEID
- See Also:
-
LOCNEDT_LOCATIONNAMEELEMENTNAME
- See Also:
-
LOCNEDT_OFFSET
- See Also:
-
LOCNEDT_LENGTH
- See Also:
-
LOCNEDT_VALIDATIONPATTERN
- See Also:
-
LOCNEDT_FROMTIME
- See Also:
-
LOCNEDT_THRUTIME
- See Also:
-
-
Constructor Details
-
LocationNameElementDetailFactory
protected LocationNameElementDetailFactory()Creates a new instance of LocationNameElementDetailFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<LocationNameElementDetailPK,LocationNameElementDetail>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<LocationNameElementDetailPK,LocationNameElementDetail>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<LocationNameElementDetailPK,LocationNameElementDetail>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<LocationNameElementDetailPK,LocationNameElementDetail>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<LocationNameElementDetailPK,LocationNameElementDetail>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<LocationNameElementDetailPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<LocationNameElementDetailPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
public LocationNameElementDetailPK getPKFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<LocationNameElementDetailValue> getValuesFromPKs(Collection<LocationNameElementDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public LocationNameElementDetailValue getValueFromPK(LocationNameElementDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<LocationNameElementDetailValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public LocationNameElementDetailValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<LocationNameElementDetail> getEntitiesFromPKs(EntityPermission entityPermission, Collection<LocationNameElementDetailPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public LocationNameElementDetail getEntityFromValue(EntityPermission entityPermission, LocationNameElementDetailValue value) -
getEntityFromCache
-
getEntityFromPK
public LocationNameElementDetail getEntityFromPK(EntityPermission entityPermission, LocationNameElementDetailPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<LocationNameElementDetailPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<LocationNameElementDetailPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public LocationNameElementDetailPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<LocationNameElementDetail> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<LocationNameElementDetail> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<LocationNameElementDetail> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public LocationNameElementDetail getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public LocationNameElementDetail getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public LocationNameElementDetail getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<LocationNameElementDetail> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public LocationNameElementDetail getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public LocationNameElementDetail create(LocationNameElement locationNameElement, LocationType locationType, String locationNameElementName, Integer offset, Integer length, String validationPattern, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public LocationNameElementDetail create(LocationNameElementPK locationNameElementPK, LocationTypePK locationTypePK, String locationNameElementName, Integer offset, Integer length, String validationPattern, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<LocationNameElementDetailValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<LocationNameElementDetailPK,LocationNameElementDetail> - Throws:
PersistenceDatabaseException
-
store
public void store(Collection<LocationNameElementDetail> entities) throws PersistenceDatabaseException - Specified by:
storein interfaceBaseFactory<LocationNameElementDetailPK,LocationNameElementDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<LocationNameElementDetailPK,LocationNameElementDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<LocationNameElementDetailPK,LocationNameElementDetail> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<LocationNameElementDetailPK,LocationNameElementDetail> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<LocationNameElementDetailPK,LocationNameElementDetail> - Throws:
PersistenceDatabaseException
-