Class DateTimeFormatFactory
java.lang.Object
com.echothree.model.data.party.server.factory.DateTimeFormatFactory
- All Implemented Interfaces:
BaseFactory<DateTimeFormatPK,DateTimeFormat>
@ApplicationScoped
public class DateTimeFormatFactory
extends Object
implements BaseFactory<DateTimeFormatPK,DateTimeFormat>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance of DateTimeFormatFactory -
Method Summary
Modifier and TypeMethodDescriptioncreate()create(DateTimeFormatDetailPK activeDetailPK, DateTimeFormatDetailPK lastDetailPK) create(DateTimeFormatDetail activeDetail, DateTimeFormatDetail lastDetail) create(Session session, DateTimeFormatDetailPK activeDetailPK, DateTimeFormatDetailPK lastDetailPK) create(Session session, DateTimeFormatDetail activeDetail, DateTimeFormatDetail lastDetail) voidcreate(Session session, Collection<DateTimeFormatValue> _values) voidcreate(Collection<DateTimeFormatValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<DateTimeFormatPK> pks) getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<DateTimeFormatPK> 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, DateTimeFormatPK pk) getEntityFromPK(EntityPermission entityPermission, DateTimeFormatPK pk) getEntityFromPK(Session session, EntityPermission entityPermission, DateTimeFormatPK 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, DateTimeFormatValue value) getEntityFromValue(Session session, EntityPermission entityPermission, DateTimeFormatValue value) static DateTimeFormatFactorygetPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) getValueFromPK(Session session, DateTimeFormatPK pk) getValueFromResultSet(Session session, ResultSet rs) getValuesFromPKs(Session session, Collection<DateTimeFormatPK> pks) getValuesFromResultSet(Session session, ResultSet rs) prepareStatement(String query) voidremove(Session session, DateTimeFormatPK pk) voidremove(Session session, DateTimeFormat entity) voidremove(Session session, Collection<DateTimeFormatPK> pks) voidremove(Collection<DateTimeFormatPK> pks) voidstore(Session session, DateTimeFormat entity) voidstore(Session session, Collection<DateTimeFormat> entities) voidstore(Collection<DateTimeFormat> entities) booleanvalidPK(Session session, DateTimeFormatPK pk)
-
Field Details
-
TABLE_NAME
- See Also:
-
DTF_DATETIMEFORMATID
- See Also:
-
DTF_ACTIVEDETAILID
- See Also:
-
DTF_LASTDETAILID
- See Also:
-
-
Constructor Details
-
DateTimeFormatFactory
protected DateTimeFormatFactory()Creates a new instance of DateTimeFormatFactory
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumnin interfaceBaseFactory<DateTimeFormatPK,DateTimeFormat>
-
getAllColumns
- Specified by:
getAllColumnsin interfaceBaseFactory<DateTimeFormatPK,DateTimeFormat>
-
getTableName
- Specified by:
getTableNamein interfaceBaseFactory<DateTimeFormatPK,DateTimeFormat>
-
getComponentVendorName
- Specified by:
getComponentVendorNamein interfaceBaseFactory<DateTimeFormatPK,DateTimeFormat>
-
getEntityTypeName
- Specified by:
getEntityTypeNamein interfaceBaseFactory<DateTimeFormatPK,DateTimeFormat>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<DateTimeFormatPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<DateTimeFormatPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<DateTimeFormatValue> getValuesFromPKs(Session session, Collection<DateTimeFormatPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public DateTimeFormatValue getValueFromPK(Session session, DateTimeFormatPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<DateTimeFormatValue> getValuesFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public DateTimeFormatValue getValueFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<DateTimeFormat> getEntitiesFromPKs(EntityPermission entityPermission, Collection<DateTimeFormatPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<DateTimeFormat> getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<DateTimeFormatPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public DateTimeFormat getEntityFromValue(EntityPermission entityPermission, DateTimeFormatValue value) -
getEntityFromValue
public DateTimeFormat getEntityFromValue(Session session, EntityPermission entityPermission, DateTimeFormatValue value) -
getEntityFromPK
public DateTimeFormat getEntityFromPK(EntityPermission entityPermission, DateTimeFormatPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromCache
-
getEntityFromPK
public DateTimeFormat getEntityFromPK(Session session, EntityPermission entityPermission, DateTimeFormatPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<DateTimeFormatPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<DateTimeFormatPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public DateTimeFormatPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<DateTimeFormat> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<DateTimeFormat> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<DateTimeFormat> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<DateTimeFormat> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<DateTimeFormat> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<DateTimeFormat> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<DateTimeFormat> getEntitiesFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public DateTimeFormat getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public DateTimeFormat getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public DateTimeFormat getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public DateTimeFormat getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public DateTimeFormat getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public DateTimeFormat getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public DateTimeFormat getEntityFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<DateTimeFormat> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<DateTimeFormat> getEntitiesFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public DateTimeFormat getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public DateTimeFormat getEntityFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public DateTimeFormat create(Session session) throws PersistenceDatabaseException, PersistenceNotNullException -
create
-
create
public DateTimeFormat create(Session session, DateTimeFormatDetail activeDetail, DateTimeFormatDetail lastDetail) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public DateTimeFormat create(DateTimeFormatDetail activeDetail, DateTimeFormatDetail lastDetail) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public DateTimeFormat create(Session session, DateTimeFormatDetailPK activeDetailPK, DateTimeFormatDetailPK lastDetailPK) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public DateTimeFormat create(DateTimeFormatDetailPK activeDetailPK, DateTimeFormatDetailPK lastDetailPK) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Session session, Collection<DateTimeFormatValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<DateTimeFormatValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
storein interfaceBaseFactory<DateTimeFormatPK,DateTimeFormat> - Throws:
PersistenceDatabaseException
-
store
public void store(Session session, Collection<DateTimeFormat> entities) throws PersistenceDatabaseException - Specified by:
storein interfaceBaseFactory<DateTimeFormatPK,DateTimeFormat> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
storein interfaceBaseFactory<DateTimeFormatPK,DateTimeFormat> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<DateTimeFormatPK,DateTimeFormat> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<DateTimeFormatPK,DateTimeFormat> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Session session, Collection<DateTimeFormatPK> pks) throws PersistenceDatabaseException - Specified by:
removein interfaceBaseFactory<DateTimeFormatPK,DateTimeFormat> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
removein interfaceBaseFactory<DateTimeFormatPK,DateTimeFormat> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<DateTimeFormatPK,DateTimeFormat> - Throws:
PersistenceDatabaseException
-