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