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) voidcreate(Collection<DateTimeFormatValue> _values) getEntitiesFromPKs(EntityPermission entityPermission, Collection<DateTimeFormatPK> 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, DateTimeFormatPK 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, DateTimeFormatValue value) static DateTimeFormatFactorygetPKFromQuery(PreparedStatement ps, Object... params) getPKsFromQueryAsList(PreparedStatement ps, Object... params) getPKsFromQueryAsSet(PreparedStatement ps, Object... params) prepareStatement(String query) voidvoidremove(DateTimeFormat entity) voidremove(Collection<DateTimeFormatPK> pks) voidstore(DateTimeFormat entity) voidstore(Collection<DateTimeFormat> entities) boolean
-
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(Collection<DateTimeFormatPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
- Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<DateTimeFormatValue> getValuesFromResultSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
- Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<DateTimeFormat> getEntitiesFromPKs(EntityPermission entityPermission, Collection<DateTimeFormatPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public DateTimeFormat getEntityFromValue(EntityPermission entityPermission, DateTimeFormatValue value) -
getEntityFromCache
-
getEntityFromPK
public DateTimeFormat getEntityFromPK(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(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) 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, 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(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public DateTimeFormat getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<DateTimeFormat> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public DateTimeFormat getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
-
create
public DateTimeFormat create(DateTimeFormatDetail activeDetail, DateTimeFormatDetail lastDetail) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public DateTimeFormat create(DateTimeFormatDetailPK activeDetailPK, DateTimeFormatDetailPK lastDetailPK) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<DateTimeFormatValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- 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
- Specified by:
removein interfaceBaseFactory<DateTimeFormatPK,DateTimeFormat> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPKin interfaceBaseFactory<DateTimeFormatPK,DateTimeFormat> - Throws:
PersistenceDatabaseException
-