Class CancellationKindFactory
java.lang.Object
com.echothree.model.data.cancellationpolicy.server.factory.CancellationKindFactory
- All Implemented Interfaces:
BaseFactory<CancellationKindPK,
CancellationKind>
public class CancellationKindFactory
extends Object
implements BaseFactory<CancellationKindPK,CancellationKind>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncreate()
create
(CancellationKindDetailPK activeDetailPK, CancellationKindDetailPK lastDetailPK) create
(CancellationKindDetail activeDetail, CancellationKindDetail lastDetail) create
(Session session, CancellationKindDetailPK activeDetailPK, CancellationKindDetailPK lastDetailPK) create
(Session session, CancellationKindDetail activeDetail, CancellationKindDetail lastDetail) void
create
(Session session, Collection<CancellationKindValue> _values) void
create
(Collection<CancellationKindValue> _values) getEntitiesFromPKs
(EntityPermission entityPermission, Collection<CancellationKindPK> pks) getEntitiesFromPKs
(Session session, EntityPermission entityPermission, Collection<CancellationKindPK> 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, CancellationKindPK pk) getEntityFromPK
(EntityPermission entityPermission, CancellationKindPK pk) getEntityFromPK
(Session session, EntityPermission entityPermission, CancellationKindPK 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, CancellationKindValue value) getEntityFromValue
(Session session, EntityPermission entityPermission, CancellationKindValue value) static CancellationKindFactory
getPKFromQuery
(PreparedStatement ps, Object... params) getPKsFromQueryAsList
(PreparedStatement ps, Object... params) getPKsFromQueryAsSet
(PreparedStatement ps, Object... params) getValueFromPK
(Session session, CancellationKindPK pk) getValueFromResultSet
(Session session, ResultSet rs) getValuesFromPKs
(Session session, Collection<CancellationKindPK> pks) getValuesFromResultSet
(Session session, ResultSet rs) prepareStatement
(String query) void
remove
(Session session, CancellationKindPK pk) void
remove
(Session session, CancellationKind entity) void
remove
(Session session, Collection<CancellationKindPK> pks) void
void
store
(Session session, CancellationKind entity) void
store
(Session session, Collection<CancellationKind> entities) void
store
(Collection<CancellationKind> entities) boolean
validPK
(Session session, CancellationKindPK pk)
-
Field Details
-
TABLE_NAME
- See Also:
-
CNCLK_CANCELLATIONKINDID
- See Also:
-
CNCLK_ACTIVEDETAILID
- See Also:
-
CNCLK_LASTDETAILID
- See Also:
-
-
Method Details
-
getInstance
-
getPKColumn
- Specified by:
getPKColumn
in interfaceBaseFactory<CancellationKindPK,
CancellationKind>
-
getAllColumns
- Specified by:
getAllColumns
in interfaceBaseFactory<CancellationKindPK,
CancellationKind>
-
getTableName
- Specified by:
getTableName
in interfaceBaseFactory<CancellationKindPK,
CancellationKind>
-
getComponentVendorName
- Specified by:
getComponentVendorName
in interfaceBaseFactory<CancellationKindPK,
CancellationKind>
-
getEntityTypeName
- Specified by:
getEntityTypeName
in interfaceBaseFactory<CancellationKindPK,
CancellationKind>
-
prepareStatement
-
getNextPK
-
getPKsFromResultSetAsSet
public Set<CancellationKindPK> getPKsFromResultSetAsSet(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromResultSetAsList
public List<CancellationKindPK> getPKsFromResultSetAsList(ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromResultSet
- Throws:
PersistenceDatabaseException
-
getValuesFromPKs
public List<CancellationKindValue> getValuesFromPKs(Session session, Collection<CancellationKindPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromPK
public CancellationKindValue getValueFromPK(Session session, CancellationKindPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValuesFromResultSet
public List<CancellationKindValue> getValuesFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getValueFromResultSet
public CancellationKindValue getValueFromResultSet(Session session, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<CancellationKind> getEntitiesFromPKs(EntityPermission entityPermission, Collection<CancellationKindPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromPKs
public List<CancellationKind> getEntitiesFromPKs(Session session, EntityPermission entityPermission, Collection<CancellationKindPK> pks) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromValue
public CancellationKind getEntityFromValue(EntityPermission entityPermission, CancellationKindValue value) -
getEntityFromValue
public CancellationKind getEntityFromValue(Session session, EntityPermission entityPermission, CancellationKindValue value) -
getEntityFromPK
public CancellationKind getEntityFromPK(EntityPermission entityPermission, CancellationKindPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromCache
-
getEntityFromPK
public CancellationKind getEntityFromPK(Session session, EntityPermission entityPermission, CancellationKindPK pk) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsSet
public Set<CancellationKindPK> getPKsFromQueryAsSet(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKsFromQueryAsList
public List<CancellationKindPK> getPKsFromQueryAsList(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getPKFromQuery
public CancellationKindPK getPKFromQuery(PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<CancellationKind> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<CancellationKind> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<CancellationKind> getEntitiesFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<CancellationKind> getEntitiesFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<CancellationKind> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<CancellationKind> getEntitiesFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromQuery
public List<CancellationKind> getEntitiesFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public CancellationKind getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public CancellationKind getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap, Object... params) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public CancellationKind getEntityFromQuery(Session session, EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public CancellationKind getEntityFromQuery(EntityPermission entityPermission, Map<EntityPermission, String> queryMap) throws PersistenceDatabaseException- Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public CancellationKind getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public CancellationKind getEntityFromQuery(EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromQuery
public CancellationKind getEntityFromQuery(Session session, EntityPermission entityPermission, PreparedStatement ps, Object... params) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<CancellationKind> getEntitiesFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntitiesFromResultSet
public List<CancellationKind> getEntitiesFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public CancellationKind getEntityFromResultSet(EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
getEntityFromResultSet
public CancellationKind getEntityFromResultSet(Session session, EntityPermission entityPermission, ResultSet rs) throws PersistenceDatabaseException - Throws:
PersistenceDatabaseException
-
create
public CancellationKind create(Session session) throws PersistenceDatabaseException, PersistenceNotNullException -
create
-
create
public CancellationKind create(Session session, CancellationKindDetail activeDetail, CancellationKindDetail lastDetail) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public CancellationKind create(CancellationKindDetail activeDetail, CancellationKindDetail lastDetail) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public CancellationKind create(Session session, CancellationKindDetailPK activeDetailPK, CancellationKindDetailPK lastDetailPK) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public CancellationKind create(CancellationKindDetailPK activeDetailPK, CancellationKindDetailPK lastDetailPK) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Session session, Collection<CancellationKindValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
create
public void create(Collection<CancellationKindValue> _values) throws PersistenceDatabaseException, PersistenceNotNullException -
store
- Specified by:
store
in interfaceBaseFactory<CancellationKindPK,
CancellationKind> - Throws:
PersistenceDatabaseException
-
store
public void store(Session session, Collection<CancellationKind> entities) throws PersistenceDatabaseException - Specified by:
store
in interfaceBaseFactory<CancellationKindPK,
CancellationKind> - Throws:
PersistenceDatabaseException
-
store
- Specified by:
store
in interfaceBaseFactory<CancellationKindPK,
CancellationKind> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<CancellationKindPK,
CancellationKind> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<CancellationKindPK,
CancellationKind> - Throws:
PersistenceDatabaseException
-
remove
public void remove(Session session, Collection<CancellationKindPK> pks) throws PersistenceDatabaseException - Specified by:
remove
in interfaceBaseFactory<CancellationKindPK,
CancellationKind> - Throws:
PersistenceDatabaseException
-
remove
- Specified by:
remove
in interfaceBaseFactory<CancellationKindPK,
CancellationKind> - Throws:
PersistenceDatabaseException
-
validPK
- Specified by:
validPK
in interfaceBaseFactory<CancellationKindPK,
CancellationKind> - Throws:
PersistenceDatabaseException
-