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