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