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