Class TimeZoneDescriptionFactory
java.lang.Object
com.echothree.model.data.party.server.factory.TimeZoneDescriptionFactory
- All Implemented Interfaces:
BaseFactory<TimeZoneDescriptionPK,TimeZoneDescription>
@ApplicationScoped
public class TimeZoneDescriptionFactory
extends Object
implements BaseFactory<TimeZoneDescriptionPK,TimeZoneDescription>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of TimeZoneDescriptionFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate(TimeZonePK timeZonePK, LanguagePK languagePK, String description, Long fromTime, Long thruTime) create(Session session, TimeZonePK timeZonePK, LanguagePK languagePK, String description, Long fromTime, Long thruTime) create(Session session, TimeZone timeZone, Language language, String description, Long fromTime, Long thruTime) voidcreate(Session session, Collection<TimeZoneDescriptionValue> _values) voidcreate(Collection<TimeZoneDescriptionValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<TimeZoneDescriptionPK> pks) getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<TimeZoneDescriptionPK> 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, TimeZoneDescriptionPK pk) getEntityFromPK(EntityPermission entityPermission, TimeZoneDescriptionPK pk) getEntityFromPK(Session session, EntityPermission entityPermission, TimeZoneDescriptionPK 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, TimeZoneDescriptionValue value) getEntityFromValue(Session session, EntityPermission entityPermission, TimeZoneDescriptionValue value) static TimeZoneDescriptionFactorygetPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) getValueFromPK(Session session, TimeZoneDescriptionPK pk) getValueFromResultSet(Session session, ResultSet rs) getValuesFromPKs(Session session, Collection<TimeZoneDescriptionPK> pks) getValuesFromResultSet(Session session, ResultSet rs) prepareStatement(String query) voidremove(Session session, TimeZoneDescriptionPK pk) voidremove(Session session, TimeZoneDescription entity) voidremove(Session session, Collection<TimeZoneDescriptionPK> pks) voidvoidstore(Session session, TimeZoneDescription entity) voidstore(Session session, Collection<TimeZoneDescription> entities) voidstore(Collection<TimeZoneDescription> entities) booleanvalidPK(Session session, TimeZoneDescriptionPK pk)
-
Field Details
-
TABLE_NAME
- See Also:
-
TZD_TIMEZONEDESCRIPTIONID
- See Also:
-
TZD_TZ_TIMEZONEID
- See Also:
-
TZD_LANG_LANGUAGEID
- See Also:
-
TZD_DESCRIPTION
- See Also:
-
TZD_FROMTIME
- See Also:
-
TZD_THRUTIME
- See Also:
-
-
Constructor Details
-
TimeZoneDescriptionFactory
protected TimeZoneDescriptionFactory()Creates a new instance of TimeZoneDescriptionFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<TimeZoneDescriptionPK,TimeZoneDescription>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<TimeZoneDescriptionPK,TimeZoneDescription>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<TimeZoneDescriptionPK,TimeZoneDescription>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<TimeZoneDescriptionPK,TimeZoneDescription>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<TimeZoneDescriptionPK,TimeZoneDescription>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<TimeZoneDescriptionPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<TimeZoneDescriptionPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<TimeZoneDescriptionValue> getValuesFromPKs(Session session, Collection<TimeZoneDescriptionPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public TimeZoneDescriptionValue getValueFromPK(Session session, TimeZoneDescriptionPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<TimeZoneDescriptionValue> getValuesFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public TimeZoneDescriptionValue getValueFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<TimeZoneDescription> getEntitiesFromPKs(EntityPermission entityPermission, Collection<TimeZoneDescriptionPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<TimeZoneDescription> getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<TimeZoneDescriptionPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public TimeZoneDescription getEntityFromValue(EntityPermission entityPermission, TimeZoneDescriptionValue value) -
getEntityFromValue
public TimeZoneDescription getEntityFromValue(Session session, EntityPermission entityPermission, TimeZoneDescriptionValue value) -
getEntityFromPK
public TimeZoneDescription getEntityFromPK(EntityPermission entityPermission, TimeZoneDescriptionPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromCache
-
getEntityFromPK
public TimeZoneDescription getEntityFromPK(Session session, EntityPermission entityPermission, TimeZoneDescriptionPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<TimeZoneDescriptionPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<TimeZoneDescriptionPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public TimeZoneDescriptionPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<TimeZoneDescription> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<TimeZoneDescription> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<TimeZoneDescription> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<TimeZoneDescription> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<TimeZoneDescription> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<TimeZoneDescription> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<TimeZoneDescription> getEntitiesFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public TimeZoneDescription getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public TimeZoneDescription getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public TimeZoneDescription getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public TimeZoneDescription getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public TimeZoneDescription getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public TimeZoneDescription getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public TimeZoneDescription getEntityFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<TimeZoneDescription> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<TimeZoneDescription> getEntitiesFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public TimeZoneDescription getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public TimeZoneDescription getEntityFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public TimeZoneDescription create(Session session, TimeZone timeZone, Language language, String description, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public TimeZoneDescription create(TimeZone timeZone, Language language, String description, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public TimeZoneDescription create(Session session, TimeZonePK timeZonePK, LanguagePK languagePK, String description, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public TimeZoneDescription create(TimeZonePK timeZonePK, LanguagePK languagePK, String description, Long fromTime, Long thruTime) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Session session, Collection<TimeZoneDescriptionValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<TimeZoneDescriptionValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<TimeZoneDescriptionPK,TimeZoneDescription> - Throws:
PersistenceDatabaseException
-
store
public void store(Session session, Collection<TimeZoneDescription> entities) throws PersistenceDatabaseException - Specified by:
storein interfaceBaseFactory<TimeZoneDescriptionPK,TimeZoneDescription> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
storein interfaceBaseFactory<TimeZoneDescriptionPK,TimeZoneDescription> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<TimeZoneDescriptionPK,TimeZoneDescription> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<TimeZoneDescriptionPK,TimeZoneDescription> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Session session, Collection<TimeZoneDescriptionPK> pks) throws PersistenceDatabaseException - Specified by:
removein interfaceBaseFactory<TimeZoneDescriptionPK,TimeZoneDescription> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<TimeZoneDescriptionPK,TimeZoneDescription> - Throws:
PersistenceDatabaseException
-
validPK
public boolean validPK(Session session, TimeZoneDescriptionPK pk) throws PersistenceDatabaseException - Specified by:
validPKin interfaceBaseFactory<TimeZoneDescriptionPK,TimeZoneDescription> - Throws:
PersistenceDatabaseException
-