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