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) voidcreate(Collection<TimeZoneDescriptionValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<TimeZoneDescriptionPK> 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, TimeZoneDescriptionPK 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, TimeZoneDescriptionValue value) static TimeZoneDescriptionFactorygetPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(TimeZoneDescription entity) voidvoidstore(TimeZoneDescription entity) voidstore(Collection<TimeZoneDescription> entities) boolean
-
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(Collection<TimeZoneDescriptionPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public TimeZoneDescriptionValue getValueFromPK(TimeZoneDescriptionPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<TimeZoneDescriptionValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public TimeZoneDescriptionValue getValueFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<TimeZoneDescription> getEntitiesFromPKs(EntityPermission entityPermission, Collection<TimeZoneDescriptionPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public TimeZoneDescription getEntityFromValue(EntityPermission entityPermission, TimeZoneDescriptionValue value) -
getEntityFromCache
-
getEntityFromPK
public TimeZoneDescription getEntityFromPK(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(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) 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, 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(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public TimeZoneDescription getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<TimeZoneDescription> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public TimeZoneDescription getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public TimeZoneDescription create(TimeZone timeZone, Language language, 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(Collection<TimeZoneDescriptionValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- 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
- Specified by:
removein interfaceBaseFactory<TimeZoneDescriptionPK,TimeZoneDescription> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<TimeZoneDescriptionPK,TimeZoneDescription> - Throws:
PersistenceDatabaseException
-