Class LocationDescriptionFactory
java.lang.Object
com.echothree.model.data.warehouse.server.factory.LocationDescriptionFactory
- All Implemented Interfaces:
BaseFactory<LocationDescriptionPK,
LocationDescription>
public class LocationDescriptionFactory
extends Object
implements BaseFactory<LocationDescriptionPK,LocationDescription>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncreate
(LocationPK locationPK, LanguagePK languagePK, String description, Long fromTime, Long thruTime) create
(Session session, LocationPK locationPK, LanguagePK languagePK, String description, Long fromTime, Long thruTime) create
(Session session, Location location, Language language, String description, Long fromTime, Long thruTime) void
create
(Session session, Collection<LocationDescriptionValue> _values) void
create
(Collection<LocationDescriptionValue> _values) getEntitiesFromPKs
(EntityPermission entityPermission, Collection<LocationDescriptionPK> pks) getEntitiesFromPKs
(Session session, EntityPermission entityPermission, Collection<LocationDescriptionPK> 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, LocationDescriptionPK pk) getEntityFromPK
(EntityPermission entityPermission, LocationDescriptionPK pk) getEntityFromPK
(Session session, EntityPermission entityPermission, LocationDescriptionPK 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, LocationDescriptionValue value) getEntityFromValue
(Session session, EntityPermission entityPermission, LocationDescriptionValue value) static LocationDescriptionFactory
getPKFromQuery
(PreparedStatement ps, Object... params) getPKsFromQueryAsList
(PreparedStatement ps, Object... params) getPKsFromQueryAsSet
(PreparedStatement ps, Object... params) getValueFromPK
(Session session, LocationDescriptionPK pk) getValueFromResultSet
(Session session, ResultSet rs) getValuesFromPKs
(Session session, Collection<LocationDescriptionPK> pks) getValuesFromResultSet
(Session session, ResultSet rs) prepareStatement
(String query) void
remove
(Session session, LocationDescriptionPK pk) void
remove
(Session session, LocationDescription entity) void
remove
(Session session, Collection<LocationDescriptionPK> pks) void
void
store
(Session session, LocationDescription entity) void
store
(Session session, Collection<LocationDescription> entities) void
store
(Collection<LocationDescription> entities) boolean
validPK
(Session session, LocationDescriptionPK pk)
-
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:
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumn
in interfaceBaseFactory<LocationDescriptionPK,
LocationDescription>
-
getAllColumns
- Specified by:
getAllColumns
in interfaceBaseFactory<LocationDescriptionPK,
LocationDescription>
-
getTableName
- Specified by:
getTableName
in interfaceBaseFactory<LocationDescriptionPK,
LocationDescription>
-
getComponentVendorName
- Specified by:
getComponentVendorName
in interfaceBaseFactory<LocationDescriptionPK,
LocationDescription>
-
getEntityTypeName
- Specified by:
getEntityTypeName
in 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(Session session, Collection<LocationDescriptionPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public LocationDescriptionValue getValueFromPK(Session session, LocationDescriptionPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<LocationDescriptionValue> getValuesFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public LocationDescriptionValue getValueFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<LocationDescription> getEntitiesFromPKs(EntityPermission entityPermission, Collection<LocationDescriptionPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<LocationDescription> getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<LocationDescriptionPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public LocationDescription getEntityFromValue(EntityPermission entityPermission, LocationDescriptionValue value) -
getEntityFromValue
public LocationDescription getEntityFromValue(Session session, EntityPermission entityPermission, LocationDescriptionValue value) -
getEntityFromPK
public LocationDescription getEntityFromPK(EntityPermission entityPermission, LocationDescriptionPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromCache
-
getEntityFromPK
public LocationDescription getEntityFromPK(Session session, 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(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, 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(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) 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) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<LocationDescription> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<LocationDescription> getEntitiesFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public LocationDescription getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, 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(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) 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) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public LocationDescription getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public LocationDescription getEntityFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<LocationDescription> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<LocationDescription> getEntitiesFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public LocationDescription getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public LocationDescription getEntityFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public LocationDescription create(Session session, Location location, Language language, String description, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public LocationDescription create(Location location, Language language, String description, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public LocationDescription create(Session session, LocationPK locationPK, LanguagePK languagePK, 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(Session session, Collection<LocationDescriptionValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<LocationDescriptionValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
store
in interfaceBaseFactory<LocationDescriptionPK,
LocationDescription> - Throws:
PersistenceDatabaseException
-
store
public void store(Session session, Collection<LocationDescription> entities) throws PersistenceDatabaseException - Specified by:
store
in interfaceBaseFactory<LocationDescriptionPK,
LocationDescription> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
store
in interfaceBaseFactory<LocationDescriptionPK,
LocationDescription> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<LocationDescriptionPK,
LocationDescription> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<LocationDescriptionPK,
LocationDescription> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Session session, Collection<LocationDescriptionPK> pks) throws PersistenceDatabaseException - Specified by:
remove
in interfaceBaseFactory<LocationDescriptionPK,
LocationDescription> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<LocationDescriptionPK,
LocationDescription> - Throws:
PersistenceDatabaseException
-
validPK
public boolean validPK(Session session, LocationDescriptionPK pk) throws PersistenceDatabaseException - Specified by:
validPK
in interfaceBaseFactory<LocationDescriptionPK,
LocationDescription> - Throws:
PersistenceDatabaseException
-