public interface IRemediationDirect
extends common.direct.IDirect
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
Copyright.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addDomain(DomainBean domainBean,
RemediationBean remediationBean,
EnvironmentBean envBean,
com.engiweb.pm.dao.db.DAO connDao)
Add a domain to a remediation
|
void |
addRisk(com.engiweb.pm.entity.BeanList<RiskBean> blRiskBean,
RemediationBean remediationBean,
EnvironmentBean envBean,
com.engiweb.pm.dao.db.DAO connDao)
Adds a list of risk to a remediation
|
void |
delete(RemediationBean remediationBean,
EnvironmentBean envBean,
com.engiweb.pm.dao.db.DAO connDao)
Removes a remediation from an environemnt.
|
void |
deleteProperty(PropertyBean bean,
com.engiweb.pm.dao.db.DAO connDao)
Delete property.
|
com.engiweb.pm.entity.BeanList<RemediationBean> |
find(RemediationBean remediationBean,
EnvironmentBean envBean,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO connDao)
Returns remediations of an environment.
|
com.engiweb.pm.entity.BeanList<DomainBean> |
findDomain(DomainBean domainBean,
RemediationBean remediationBean,
EnvironmentBean envBean,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO connDao)
Return a list of domain for the passed remediation
|
com.engiweb.pm.entity.BeanList<PropertyBean> |
findProperties(RemediationPropertyBean propBean,
RemediationBean remediationBean,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO connDao)
Find properties of a remediation.
|
com.engiweb.pm.entity.BeanList<RiskBean> |
findRisk(RiskBean riskBean,
RemediationBean remediationBean,
EnvironmentBean envBean,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO connDao)
Returns the remediation associated risks.
|
com.engiweb.pm.entity.BeanList<UserBean> |
findUser(UserBean userBean,
GroupBean groupBean,
HierarchyBean hierarchyBean,
RemediationBean remBean,
boolean hier,
java.lang.String code_scope,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO connDao)
Return a list of user with remediation, if the remBean is not null return the list of user with the specific remediation
|
com.engiweb.pm.entity.BeanList<UserBean> |
findUser(UserBean userBean,
OrgUnitBean orgUnitBean,
RemediationBean remBean,
boolean hier,
java.lang.String code_scope,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO connDao)
Deprecated.
Replaced by
findUser(UserBean, GroupBean, HierarchyBean, RemediationBean, boolean, String, Paging, DAO)
Return a list of user with remediation, if the remBean is not null return the list of user with the specific remediation |
RemediationBean |
insert(RemediationBean remediationBean,
EnvironmentBean envBean,
com.engiweb.pm.dao.db.DAO connDao)
Inserts a remediation to an environemnt.
|
PropertyBean |
insertProperty(PropertyBean bean,
RemediationBean remediationBean,
com.engiweb.pm.dao.db.DAO connDao)
Add a property to a remediation
|
void |
modifyProperty(com.engiweb.pm.entity.BeanList<PropertyBean> bl,
com.engiweb.pm.dao.db.DAO connDao)
Modify a property list.
|
void |
removeDomain(DomainBean domainBean,
RemediationBean remediationBean,
EnvironmentBean envBean,
com.engiweb.pm.dao.db.DAO connDao)
Remove a domain from a remediation
|
void |
removeRisk(com.engiweb.pm.entity.BeanList<RiskBean> blRiskBean,
RemediationBean remediationBean,
EnvironmentBean envBean,
com.engiweb.pm.dao.db.DAO connDao)
Removes a list of risk from a remediation.
|
RemediationBean |
update(RemediationBean remediationBean,
EnvironmentBean envBean,
com.engiweb.pm.dao.db.DAO connDao)
Update a remediation to an environemnt.
|
static final java.lang.String COPYRIGHT
com.engiweb.pm.entity.BeanList<RemediationBean> find(RemediationBean remediationBean, EnvironmentBean envBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
remediationBean - RemediationBean Remediation used as filterenvBean - EnvironmentBean Environmentpaging - Paging the pagingconnDao - DAO the connection daoBeanList of RemediationBeancom.engiweb.toolkit.common.BackendException - the backend exceptionRemediationBean insert(RemediationBean remediationBean, EnvironmentBean envBean, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
remediationBean - RemediationBean Remediation to insertenvBean - EnvironmentBean Environment in which to insert the remediationconnDao - DAO the connection daoRemediationBeancom.engiweb.toolkit.common.BackendException - the backend exceptionRemediationBean update(RemediationBean remediationBean, EnvironmentBean envBean, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
remediationBean - RemediationBean Remediation to updateenvBean - EnvironmentBean Environment of the remediationconnDao - DAO the connection daoRemediationBeancom.engiweb.toolkit.common.BackendException - the backend exceptionvoid delete(RemediationBean remediationBean, EnvironmentBean envBean, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
remediationBean - RemediationBean Remediation to deleteenvBean - EnvironmentBean Environment of the remediationconnDao - DAO the connection daocom.engiweb.toolkit.common.BackendException - the backend exceptioncom.engiweb.pm.entity.BeanList<UserBean> findUser(UserBean userBean, OrgUnitBean orgUnitBean, RemediationBean remBean, boolean hier, java.lang.String code_scope, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
findUser(UserBean, GroupBean, HierarchyBean, RemediationBean, boolean, String, Paging, DAO)
Return a list of user with remediation, if the remBean is not null return the list of user with the specific remediationuserBean - UserBean the user, if null no filter is applied, otherwise the passed object is used as filterorgUnitBean - OrgUnitBean the orgunit where search usersremBean - RemediationBean find user with this remediation (well defined)hier - boolean: if true the research is performed hierarchicallycode_scope - String the code_scopepaging - Paging the pagingconnDao - DAO the connection daoBeanList of UserBeancom.engiweb.toolkit.common.BackendException - the backend exceptioncom.engiweb.pm.entity.BeanList<UserBean> findUser(UserBean userBean, GroupBean groupBean, HierarchyBean hierarchyBean, RemediationBean remBean, boolean hier, java.lang.String code_scope, com.engiweb.pm.entity.Paging paging, 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 filtergroupBean - GroupBean the group where search usershierarchyBean - HierarchyBean mandatoryremBean - RemediationBean find user with this remediation (well defined)hier - boolean: if true the research is performed hierarchicallycode_scope - String the code_scopepaging - Paging the pagingconnDao - DAO the connection daoBeanList of UserBeancom.engiweb.toolkit.common.BackendException - the backend exceptioncom.engiweb.pm.entity.BeanList<DomainBean> findDomain(DomainBean domainBean, RemediationBean remediationBean, EnvironmentBean envBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
domainBean - DomainBean the domain, if null no filter is applied, otherwise the passed object is used as filterremediationBean - RemediationBean the remediationenvBean - EnvironmentBean Environment beanpaging - Paging the pagingconnDao - DAO the connection daoBeanList of DomainBeancom.engiweb.toolkit.common.BackendException - the backend exceptionvoid addDomain(DomainBean domainBean, RemediationBean remediationBean, EnvironmentBean envBean, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
domainBean - DomainBean the domain to addremediationBean - RemediationBean the remediation to which the domain must be addedenvBean - EnvironmentBean the environmentconnDao - DAO the connection daocom.engiweb.toolkit.common.BackendException - the backend exceptionvoid removeDomain(DomainBean domainBean, RemediationBean remediationBean, EnvironmentBean envBean, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
domainBean - DomainBean the domain to removeremediationBean - RemediationBean the remediation to which the domain must be removedenvBean - EnvironmentBean the environmentconnDao - DAO the connection daocom.engiweb.toolkit.common.BackendException - the backend exceptioncom.engiweb.pm.entity.BeanList<PropertyBean> findProperties(RemediationPropertyBean propBean, RemediationBean remediationBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
propBean - RemediationPropertyBean the remediation property, if null no filter is applied, otherwise the passed object is used as filterremediationBean - RemediationBean the remediationpaging - Paging the pagingconnDao - DAO the connection daoBeanList of PropertyBeancom.engiweb.toolkit.common.BackendException - the backend exceptionPropertyBean insertProperty(PropertyBean bean, RemediationBean remediationBean, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
bean - PropertyBean the property to addremediationBean - RemediationBean the remediationconnDao - DAOthe connection daoPropertyBeancom.engiweb.toolkit.common.BackendException - the backend exceptionvoid deleteProperty(PropertyBean bean, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
bean - PropertyBean the property to removeconnDao - DAOthe connection daocom.engiweb.toolkit.common.BackendException - the backend exceptionvoid modifyProperty(com.engiweb.pm.entity.BeanList<PropertyBean> bl, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
bl - BeanList of PropertyBean list of property to modifyconnDao - DAO the connection daocom.engiweb.toolkit.common.BackendException - the backend exceptioncom.engiweb.pm.entity.BeanList<RiskBean> findRisk(RiskBean riskBean, RemediationBean remediationBean, EnvironmentBean envBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
riskBean - RiskBean riskBean optionalremediationBean - RemediationBean remediationBean mandatoryenvBean - EnvironmentBean envBean optional: if null operates on
working environmentpaging - Paging pagingconnDao - DAO the connection daoBeanList of RiskBeancom.engiweb.toolkit.common.BackendException - the backend exceptionvoid addRisk(com.engiweb.pm.entity.BeanList<RiskBean> blRiskBean, RemediationBean remediationBean, EnvironmentBean envBean, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
blRiskBean - BeanList of RiskBean the list of risk to addremediationBean - RemediationBean the remediation (mandatory)envBean - EnvironmentBean envBean optional: if null operates on
working environmentconnDao - DAO the connection daocom.engiweb.toolkit.common.BackendException - the backend exceptionvoid removeRisk(com.engiweb.pm.entity.BeanList<RiskBean> blRiskBean, RemediationBean remediationBean, EnvironmentBean envBean, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
blRiskBean - BeanList of RiskBean the list of risk to removeremediationBean - RemediationBean the remediation (mandatory)envBean - EnvironmentBean envBean optional: if null operates on
working environmentconnDao - DAO the connection daocom.engiweb.toolkit.common.BackendException - the backend exception