public interface IRiskDirect
extends common.direct.IDirect
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
Copyright.
|
Modifier and Type | Method and Description |
---|---|
void |
addRemediation(com.engiweb.pm.entity.BeanList<RemediationBean> blRemediation,
RiskBean riskBean,
EnvironmentBean envBean,
com.engiweb.pm.dao.db.DAO connDao)
Add a list of remediation to a risk.
|
void |
addTask(com.engiweb.pm.entity.BeanList<TaskBean> blTask,
RiskBean riskBean,
boolean hier,
EnvironmentBean envBean,
com.engiweb.pm.dao.db.DAO connDao)
Add a list of task to a risk.
|
void |
delete(RiskBean riskBean,
EnvironmentBean envBean,
com.engiweb.pm.dao.db.DAO connDao)
remove a risk from an environment.
|
com.engiweb.pm.entity.BeanList<RiskBean> |
findAllRisk(RiskBean riskBean,
EnvironmentBean envBean,
java.lang.Long task_scope,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO connDao)
Return a list of risk.
|
com.engiweb.pm.entity.BeanList<RemediationBean> |
findRemediation(RemediationBean remediationBean,
java.util.List<RiskBean> riskList,
EnvironmentBean envBean,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO connDao)
Find remediation .
|
com.engiweb.pm.entity.BeanList<RemediationBean> |
findRemediation(RemediationBean remediationBean,
RiskBean riskBean,
EnvironmentBean envBean,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO connDao)
Find remediation .
|
com.engiweb.pm.entity.BeanList<RemediationBean> |
findRemediationIntersected(RemediationBean remediationBean,
RiskBean riskBean,
EnvironmentBean envBean,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO connDao)
Find remediations associated to the risk intersected with remediations associated to domains in which the risk is involved.
|
com.engiweb.pm.entity.BeanList<RiskBean> |
findRisk(RiskBean riskBean,
EnvironmentBean envBean,
java.lang.Long codeScope,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO connDao)
Return a list of risk by the visibility of task of the user logged.
|
com.engiweb.pm.entity.BeanList<RiskBean> |
findRiskEmpty(RiskBean riskBean,
EnvironmentBean envBean,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO connDao)
Return a list of risk wich have associated task.
|
com.engiweb.pm.entity.BeanList<TaskBean> |
findTask(TaskBean taskBean,
RiskBean riskBean,
EnvironmentBean envBean,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO connDao)
Return a list of task from a risk.
|
com.engiweb.pm.entity.BeanList<UserBean> |
findUser(UserBean userBean,
OrgUnitBean ouBean,
RiskBean riskBean,
boolean hier,
com.engiweb.pm.entity.Paging paging,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO connDao)
Returns users having risk.
|
com.engiweb.pm.entity.BeanList |
findUserByIntRiskAndProfile(UserBean userBean,
OrgUnitBean ouBean,
RiskBean riskBean,
com.engiweb.pm.entity.BeanList<EntitlementBean> blEntBean,
boolean hier,
boolean delegated,
com.engiweb.pm.entity.Paging paging,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO connDao)
Returns user having visibility on a risk (associated to some task in visibility) with given profiles.
|
RiskBean |
insert(RiskBean riskBean,
EnvironmentBean envBean,
com.engiweb.pm.dao.db.DAO connDao)
Add and associate a risk to an environment.
|
void |
removeRemediation(com.engiweb.pm.entity.BeanList<RemediationBean> blRemediation,
RiskBean riskBean,
EnvironmentBean envBean,
com.engiweb.pm.dao.db.DAO connDao)
Remove a list of remediation from a risk.
|
void |
removeTask(com.engiweb.pm.entity.BeanList<TaskBean> blTask,
RiskBean riskBean,
EnvironmentBean envBean,
com.engiweb.pm.dao.db.DAO connDao)
Remove a list of task froma a risk.
|
void |
update(RiskBean riskBean,
EnvironmentBean envBean,
com.engiweb.pm.dao.db.DAO connDao)
Modify a risk associated to an environment.
|
static final java.lang.String COPYRIGHT
RiskBean insert(RiskBean riskBean, EnvironmentBean envBean, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
riskBean
- RiskBean
risk to add (mandatory)envBean
- EnvironmentBean
the environment (must be unique)connDao
- DAO
the connection daoRiskBean
com.engiweb.toolkit.common.BackendException
- the backend exceptionvoid update(RiskBean riskBean, EnvironmentBean envBean, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
riskBean
- RiskBean
Risk to modify (mandatory)envBean
- EnvironmentBean
the environment (must be unique)connDao
- DAO
the connection daocom.engiweb.toolkit.common.BackendException
- the backend exceptionvoid delete(RiskBean riskBean, EnvironmentBean envBean, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
riskBean
- RiskBean
the risk to remove (mandatory)envBean
- EnvironmentBean
the environment (must be unique)connDao
- DAO
the connection daocom.engiweb.toolkit.common.BackendException
- the backend exceptioncom.engiweb.pm.entity.BeanList<RiskBean> findRisk(RiskBean riskBean, EnvironmentBean envBean, java.lang.Long codeScope, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
riskBean
- RiskBean
the risk, if null no filter is applied, otherwise the passed object is used as filterenvBean
- EnvironmentBean
the environment (must be unique)codeScope
- the code scopepaging
- Paging
the pagingconnDao
- the conn daoBeanList
of RiskBean
com.engiweb.toolkit.common.BackendException
- the backend exceptioncom.engiweb.pm.entity.BeanList<RiskBean> findAllRisk(RiskBean riskBean, EnvironmentBean envBean, java.lang.Long task_scope, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
riskBean
- RiskBean
the risk, if null no filter is applied, otherwise the passed object is used as filterenvBean
- EnvironmentBean
the environment (must be unique)task_scope
- the task_scopepaging
- Paging
the pagingconnDao
- DAO
the connection daoBeanList
of RiskBean
com.engiweb.toolkit.common.BackendException
- the backend exceptioncom.engiweb.pm.entity.BeanList<RiskBean> findRiskEmpty(RiskBean riskBean, EnvironmentBean envBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
riskBean
- RiskBean
the risk, if null no filter is applied, otherwise the passed object is used as filterenvBean
- EnvironmentBean
the environment (must be unique)paging
- Paging
the pagingconnDao
- DAO
the connection daoBeanList
of RiskBean
com.engiweb.toolkit.common.BackendException
- the backend exceptionvoid addTask(com.engiweb.pm.entity.BeanList<TaskBean> blTask, RiskBean riskBean, boolean hier, EnvironmentBean envBean, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
blTask
- BeanList
of Task
list of existing task to addriskBean
- RiskBean
the riskhier
- boolean: if true list of task must be add hierarchically, false otherwiseenvBean
- EnvironmentBean
the environment (must be unique)connDao
- DAO
the connection daocom.engiweb.toolkit.common.BackendException
- the backend exceptionvoid removeTask(com.engiweb.pm.entity.BeanList<TaskBean> blTask, RiskBean riskBean, EnvironmentBean envBean, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
blTask
- BeanList
of TaskBean
list of existing task to removeriskBean
- RiskBean
the riskenvBean
- EnvironmentBean
the environmentconnDao
- DAO
the connection daocom.engiweb.toolkit.common.BackendException
- the backend exceptioncom.engiweb.pm.entity.BeanList<TaskBean> findTask(TaskBean taskBean, RiskBean riskBean, EnvironmentBean envBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
taskBean
- TaskBean
the task, if null no filter is applied, otherwise the passed object is used as filterriskBean
- RiskBean
the risk (mandatory)envBean
- EnvironmentBean
the environment (must be unique)paging
- Paging
the pagingconnDao
- DAO
the connection daoBeanList
of TaskBean
com.engiweb.toolkit.common.BackendException
- the backend exceptionvoid addRemediation(com.engiweb.pm.entity.BeanList<RemediationBean> blRemediation, RiskBean riskBean, EnvironmentBean envBean, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
blRemediation
- BeanList
of RemediationBean
the list of remediation to add (mandatory)riskBean
- RiskBean
the risk (mandatory)envBean
- EnvironmentBean
the environment (must be unique)connDao
- DAO
the connection daocom.engiweb.toolkit.common.BackendException
- the backend exceptionvoid removeRemediation(com.engiweb.pm.entity.BeanList<RemediationBean> blRemediation, RiskBean riskBean, EnvironmentBean envBean, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
blRemediation
- BeanList
of RemediationBean
the list of remediation to remove from risk (mandatory)riskBean
- RiskBean
the risk (mandatory)envBean
- EnvironmentBean
the environmentconnDao
- DAO
the connection daocom.engiweb.toolkit.common.BackendException
- the backend exceptioncom.engiweb.pm.entity.BeanList<RemediationBean> findRemediationIntersected(RemediationBean remediationBean, RiskBean riskBean, EnvironmentBean envBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
remediationBean
- RemediationBean
the remediation, if null no filter is applied, otherwise the passed object is used as filterriskBean
- RiskBean
the risk (mandatory)envBean
- EnvironmentBean
the environmentpaging
- Paging
the pagingconnDao
- DAO
the connection daoBeanList
of RemediationBean
com.engiweb.toolkit.common.BackendException
- the backend exceptioncom.engiweb.pm.entity.BeanList<RemediationBean> findRemediation(RemediationBean remediationBean, RiskBean riskBean, EnvironmentBean envBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
remediationBean
- RemediationBean
the remediation, if null no filter is applied, otherwise the passed object is used as filterriskBean
- RiskBean
the risk (mandatory)envBean
- EnvironmentBean
the environmentpaging
- Paging
the pagingconnDao
- DAO
the connection daoBeanList
of RemediationBean
com.engiweb.toolkit.common.BackendException
- the backend exceptioncom.engiweb.pm.entity.BeanList<RemediationBean> findRemediation(RemediationBean remediationBean, java.util.List<RiskBean> riskList, EnvironmentBean envBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
remediationBean
- RemediationBean
the remediation, if null no filter is applied, otherwise the passed object is used as filterriskList
- List
if RiskBean
the risk listenvBean
- EnvironmentBean
the environmentpaging
- Paging
the pagingconnDao
- DAO
the connection daoBeanList
of RemediationBean
com.engiweb.toolkit.common.BackendException
- the backend exceptioncom.engiweb.pm.entity.BeanList findUserByIntRiskAndProfile(UserBean userBean, OrgUnitBean ouBean, RiskBean riskBean, com.engiweb.pm.entity.BeanList<EntitlementBean> blEntBean, boolean hier, boolean delegated, com.engiweb.pm.entity.Paging paging, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
userBean
- UserBean
the user, if null no filter is applied, otherwise the passed object is used as filterouBean
- OrgUnitBean
the organization unit, if null no filter is applied, otherwise the passed object is used as filterriskBean
- RiskBean
the risk (mandatory)blEntBean
- BeanList
of EntitlementBean
the list of entitlement (mandatory)hier
- boolean if true research must be performed hierarchically, false otherwisedelegated
- boolean if true research a delegated user, false otherwisepaging
- Paging
the pagingcode_scope
- the code_scopeconnDao
- DAO
the connection daoBeanList
com.engiweb.toolkit.common.BackendException
- the backend exceptioncom.engiweb.pm.entity.BeanList<UserBean> findUser(UserBean userBean, OrgUnitBean ouBean, RiskBean riskBean, boolean hier, com.engiweb.pm.entity.Paging paging, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
userBean
- UserBean
the user, if null no filter is applied, otherwise the passed object is used as filterouBean
- OrgUnitBean
the organization unit, if null no filter is applied, otherwise the passed object is used as filterriskBean
- RiskBean
the risk (mandatory)hier
- boolean if true research must be performed hierarchically, false otherwisepaging
- Paging
the pagingcode_scope
- the code_scopeconnDao
- DAO
the connection daoBeanList
of UserBean
com.engiweb.toolkit.common.BackendException
- the backend exception