public interface ITaskDirect
extends common.direct.IDirect
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
Copyright
|
| Modifier and Type | Method and Description |
|---|---|
void |
addApplication(ApplicationBean applicationBean,
TaskBean taskBean,
EnvironmentBean envBean,
boolean hier,
com.engiweb.pm.dao.db.DAO connDao)
Add all profile of an application to a task.
|
void |
addProfiles(com.engiweb.pm.entity.BeanList<EntitlementBean> blProfile,
TaskBean taskBean,
EnvironmentBean envBean,
boolean hier,
com.engiweb.pm.dao.db.DAO connDao)
Add a list of profile to a task.
|
void |
addProperties(com.engiweb.pm.entity.BeanList propBl,
TaskBean taskBean,
EnvironmentBean envBean,
com.engiweb.pm.dao.db.DAO connDao)
Add a list of task property to a task.
|
java.util.Map<java.lang.Long,TaskBean> |
calculateEntitlementImpact(UserBean user,
EnvironmentBean environment,
GroupBean organizationalUnit,
com.engiweb.pm.entity.BeanList<EntitlementBean> toAdd,
com.engiweb.pm.entity.BeanList<EntitlementBean> toRemove,
com.engiweb.pm.dao.db.DAO connDao)
Verifies for each adding or removing of a role, which are the tasks that are impacted for a user.
|
void |
delete(TaskBean taskBean,
EnvironmentBean envBean,
boolean hier,
com.engiweb.pm.dao.db.DAO connDao)
Remove a task from a hierarchy.
|
com.engiweb.pm.entity.BeanList<TaskBean> |
find(TaskBean taskBean,
TaskBean taskBeanStart,
EnvironmentBean envBean,
java.lang.Long code_scope,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO connDao)
Return a list of task from a task and environment.
|
com.engiweb.pm.entity.BeanList<DomainBean> |
findDomain(DomainBean domainBean,
TaskBean taskBean,
EnvironmentBean envBean,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO connDao)
Return a list of domain associated with a task.
|
com.engiweb.pm.entity.BeanList<EntitlementBean> |
findEntitlement(TaskBean taskBean,
com.engiweb.pm.dao.db.DAO connDao)
Finds all the
EntitlementBean related to the TaskBean. |
com.engiweb.pm.entity.BeanList<TaskBean> |
findIncomp(TaskBean incompTaskBean,
TaskBean taskBean,
EnvironmentBean envBean,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO connDao)
Return a list of task from an existing task and his incompatible task
|
com.engiweb.pm.entity.BeanList<TaskBean> |
findInHier(TaskBean taskBean,
EnvironmentBean envBean,
java.lang.Long task_scope,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO connDao)
Return a list of task which are children of a task.
|
com.engiweb.pm.entity.BeanList<TaskBean> |
findParent(TaskBean taskBean,
EnvironmentBean envBean,
com.engiweb.pm.dao.db.DAO connDao)
Return the parent of a task.
|
com.engiweb.pm.entity.BeanList<EntitlementBean> |
findProfile(EntitlementBean filterProfileBean,
TaskBean taskBean,
EnvironmentBean envBean,
boolean hier,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO connDao)
Return a list of profile associated with a task
|
com.engiweb.pm.entity.BeanList |
findProperties(TaskPropertyBean propBean,
TaskBean taskBean,
EnvironmentBean envBean,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO connDao)
Return a list of TaskProperty associated with a task
|
com.engiweb.pm.entity.BeanList<RiskBean> |
findRisk(RiskBean riskBean,
TaskBean taskBean,
EnvironmentBean envBean,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO connDao)
Return a list of risk for a task.
|
com.engiweb.pm.entity.BeanList<TaskBean> |
findTaskByEntitlement(TaskBean filterTaskBean,
EnvironmentBean filterEnvironmentBean,
EntitlementBean entitlementBean,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO connDao)
Return a list of tasks associated to an entitlement
|
com.engiweb.pm.entity.BeanList<TaskBean> |
findTaskByGroup(TaskBean filterTaskBean,
EnvironmentBean filterEnvironmentBean,
HierarchyBean hierarchyBean,
GroupBean groupBean,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO connDao)
Return a list of tasks associated to a group
|
com.engiweb.pm.entity.BeanList<TaskBean> |
findTaskByUser(TaskBean filterTaskBean,
EnvironmentBean filterEnvironmentBean,
UserBean userBean,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO connDao)
Return a list of tasks associated to an user
|
com.engiweb.pm.entity.BeanList<TaskBean> |
findTasksOfUserGroups(TaskBean filterTaskBean,
EnvironmentBean filterEnvironmentBean,
UserBean userBean,
com.engiweb.pm.entity.Paging paging,
com.engiweb.pm.dao.db.DAO connDao)
Return a list of tasks associated to all user groups
|
TaskBean |
insert(TaskBean taskBean,
TaskBean taskParentBean,
EnvironmentBean envBean,
java.lang.String code_scope,
com.engiweb.pm.dao.db.DAO connDao)
Add a task into a hierarchy.
|
void |
removeApplication(ApplicationBean applicationBean,
TaskBean taskBean,
EnvironmentBean envBean,
boolean hier,
com.engiweb.pm.dao.db.DAO connDao)
Remove all profile of an application from a task.
|
void |
removeProfiles(com.engiweb.pm.entity.BeanList<EntitlementBean> blProfile,
TaskBean taskBean,
EnvironmentBean envBean,
boolean hier,
com.engiweb.pm.dao.db.DAO connDao)
Remove a list of profile from an existing task.
|
void |
removeProperties(com.engiweb.pm.entity.BeanList propBl,
TaskBean taskBean,
EnvironmentBean envBean,
com.engiweb.pm.dao.db.DAO connDao)
Remove a list of task property from a task
|
void |
update(TaskBean taskBean,
TaskBean taskParentBean,
EnvironmentBean envBean,
com.engiweb.pm.dao.db.DAO connDao)
Modify a task into a hierarchy.
|
static final java.lang.String COPYRIGHT
TaskBean insert(TaskBean taskBean, TaskBean taskParentBean, EnvironmentBean envBean, java.lang.String code_scope, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
taskBean - TaskBean the task to add (mandatory)taskParentBean - TaskBean the task parent witch add the task (mandatory)envBean - EnvironmentBean the environmentcode_scope - String the code_scopeconnDao - DAOthe connection daoTaskBeancom.engiweb.toolkit.common.BackendException - the backend exceptionvoid update(TaskBean taskBean, TaskBean taskParentBean, EnvironmentBean envBean, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
taskBean - TaskBean the task to modify (mandatory)taskParentBean - TaskBean the task parentenvBean - EnvironmentBean the environmentconnDao - DAOthe connection daocom.engiweb.toolkit.common.BackendException - the backend exceptionvoid delete(TaskBean taskBean, EnvironmentBean envBean, boolean hier, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
taskBean - TaskBean the task to remove (mandatory)envBean - EnvironmentBean the environmenthier - boolean if true remove must be performed hierarchically, false otherwiseconnDao - DAO the connection daocom.engiweb.toolkit.common.BackendException - the backend exceptioncom.engiweb.pm.entity.BeanList<TaskBean> find(TaskBean taskBean, TaskBean taskBeanStart, EnvironmentBean envBean, java.lang.Long code_scope, 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 filtertaskBeanStart - TaskBean the task from which startenvBean - EnvironmentBean the environmentcode_scope - Long the code_scopepaging - Paging the pagingconnDao - DAO the connection daoBeanList of TaskBeancom.engiweb.toolkit.common.BackendException - the backend exceptioncom.engiweb.pm.entity.BeanList<TaskBean> findParent(TaskBean taskBean, EnvironmentBean envBean, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
taskBean - TaskBean the task which want the parent (mandatory)envBean - EnvironmentBean the environmentconnDao - DAO the connection daoBeanList of TaskBeancom.engiweb.toolkit.common.BackendException - the backend exceptioncom.engiweb.pm.entity.BeanList<TaskBean> findInHier(TaskBean taskBean, 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
taskBean - TaskBean the taskenvBean - EnvironmentBean the environmenttask_scope - Long the task_scopepaging - Paging the pagingconnDao - DAO the connection daoBeanList of TaskBeancom.engiweb.toolkit.common.BackendException - the backend exceptionvoid addProfiles(com.engiweb.pm.entity.BeanList<EntitlementBean> blProfile, TaskBean taskBean, EnvironmentBean envBean, boolean hier, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
blProfile - BeanList of EntitlementBean the list of profile to add (mandatory)taskBean - TaskBean the task (mandatory)envBean - EnvironmentBean the environmenthier - boolean if true add must be performed hierarchically, false otherwiseconnDao - DAO the connection daocom.engiweb.toolkit.common.BackendException - the backend exceptionvoid removeProfiles(com.engiweb.pm.entity.BeanList<EntitlementBean> blProfile, TaskBean taskBean, EnvironmentBean envBean, boolean hier, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
blProfile - BeanList of EntitlementBean the list of profile to remove (mandatory)taskBean - TaskBean the task (mandatory)envBean - EnvironmentBean the environmenthier - boolean if true remove must be performed hierarchically, false otherwiseconnDao - DAO the connection daocom.engiweb.toolkit.common.BackendException - the backend exceptioncom.engiweb.pm.entity.BeanList<EntitlementBean> findProfile(EntitlementBean filterProfileBean, TaskBean taskBean, EnvironmentBean envBean, boolean hier, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
filterProfileBean - EntitlementBean the entitlement, if null no filter is applied, otherwise the passed object is used as filtertaskBean - TaskBean the taskenvBean - EnvironmentBean the environmenthier - boolean if true search must be performed hierarchically, false otherwisepaging - Paging the pagingconnDao - DAO the connection daoBeanList of EntitlementBeancom.engiweb.toolkit.common.BackendException - the backend exceptioncom.engiweb.pm.entity.BeanList<TaskBean> findTaskByEntitlement(TaskBean filterTaskBean, EnvironmentBean filterEnvironmentBean, EntitlementBean entitlementBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
filterTaskBean - TaskBean the task, if null no filter is applied, otherwise the passed object is used as filterfilterEnvironmentBean - EnvironmentBean the environment, if null no filter is applied, otherwise the passed object is used as filterentitlementBean - EntitlementBean the entitlement (mandatory)paging - Paging the pagingconnDao - DAO the connection daoBeanList of TaskBencom.engiweb.toolkit.common.BackendException - the backend exceptioncom.engiweb.pm.entity.BeanList<TaskBean> findTaskByGroup(TaskBean filterTaskBean, EnvironmentBean filterEnvironmentBean, HierarchyBean hierarchyBean, GroupBean groupBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
filterTaskBean - TaskBean the task, if null no filter is applied, otherwise the passed object is used as filterfilterEnvironmentBean - EnvironmentBean the environment, if null no filter is applied, otherwise the passed object is used as filterhierarchyBean - HierarchyBean the hierarchy of the passed groupgroupBean - GroupBean the group (mandatory)paging - Paging the pagingconnDao - DAO the connection daoBeanList of TaskBencom.engiweb.toolkit.common.BackendException - the backend exceptioncom.engiweb.pm.entity.BeanList<TaskBean> findTaskByUser(TaskBean filterTaskBean, EnvironmentBean filterEnvironmentBean, UserBean userBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
filterTaskBean - TaskBean the task, if null no filter is applied, otherwise the passed object is used as filterfilterEnvironmentBean - EnvironmentBean the environment, if null no filter is applied, otherwise the passed object is used as filteruserBean - UserBean the user (mandatory)paging - Paging the pagingconnDao - DAO the connection daoBeanList of TaskBencom.engiweb.toolkit.common.BackendException - the backend exceptioncom.engiweb.pm.entity.BeanList<TaskBean> findIncomp(TaskBean incompTaskBean, TaskBean taskBean, EnvironmentBean envBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
incompTaskBean - TaskBean the incompatible task, if null no filter is applied, otherwise the passed object is used as filtertaskBean - TaskBean the task (mandatory)envBean - EnvironmentBean the environmentpaging - Paging the pagingconnDao - DAO the connection daoBeanList of TaskBeancom.engiweb.toolkit.common.BackendException - the backend exceptioncom.engiweb.pm.entity.BeanList<DomainBean> findDomain(DomainBean domainBean, TaskBean taskBean, EnvironmentBean envBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
domainBean - DomainBean the domaintaskBean - TaskBean the task (mandatory)envBean - EnvironmentBean the environmentpaging - Paging the pagingconnDao - DAO the connection daoBeanList of DomainBeancom.engiweb.toolkit.common.BackendException - the backend exceptionvoid addApplication(ApplicationBean applicationBean, TaskBean taskBean, EnvironmentBean envBean, boolean hier, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
applicationBean - ApplicationBean the application (mandatory)taskBean - TaskBean the task (mandatory)envBean - EnvironmentBean the environmenthier - boolean if true add must be performed hierarchically for the child of task, false otherwiseconnDao - DAO the connection daocom.engiweb.toolkit.common.BackendException - the backend exceptionvoid removeApplication(ApplicationBean applicationBean, TaskBean taskBean, EnvironmentBean envBean, boolean hier, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
applicationBean - ApplicationBean the application (mandatory)taskBean - TaskBean the task (mandatory)envBean - EnvironmentBean the environmenthier - boolean if true remove must be performed hierarchically for the child of task, false otherwiseconnDao - DAO the connection daocom.engiweb.toolkit.common.BackendException - the backend exceptioncom.engiweb.pm.entity.BeanList findProperties(TaskPropertyBean propBean, TaskBean taskBean, EnvironmentBean envBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
propBean - TaskPropertyBean the task propertytaskBean - TaskBean the task bean (mandatory)envBean - EnvironmentBean the environmentpaging - Paging the pagingconnDao - DAO the connection daoBeanListcom.engiweb.toolkit.common.BackendException - the backend exceptionvoid addProperties(com.engiweb.pm.entity.BeanList propBl,
TaskBean taskBean,
EnvironmentBean envBean,
com.engiweb.pm.dao.db.DAO connDao)
throws com.engiweb.toolkit.common.BackendException
propBl - BeanList of TaskPropertyBean the list of task property to add (mandatory)taskBean - TaskBean the task (mandatory)envBean - EnvironmentBean the environmentconnDao - DAO the connection daocom.engiweb.toolkit.common.BackendException - the backend exceptionvoid removeProperties(com.engiweb.pm.entity.BeanList propBl,
TaskBean taskBean,
EnvironmentBean envBean,
com.engiweb.pm.dao.db.DAO connDao)
throws com.engiweb.toolkit.common.BackendException
propBl - BeanList of TaskPropertyBean a list of task property (mandatory)taskBean - TaskBean the task (mandatory)envBean - EnvironmentBean the environmentconnDao - DAO the connection daocom.engiweb.toolkit.common.BackendException - the backend exceptioncom.engiweb.pm.entity.BeanList<RiskBean> findRisk(RiskBean riskBean, TaskBean taskBean, 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 filtertaskBean - TaskBean the task (mandatory)envBean - EnvironmentBean the environmentpaging - Paging the pagingconnDao - DAO the connection daoBeanList of RiskBeancom.engiweb.toolkit.common.BackendException - the backend exceptioncom.engiweb.pm.entity.BeanList<TaskBean> findTasksOfUserGroups(TaskBean filterTaskBean, EnvironmentBean filterEnvironmentBean, UserBean userBean, com.engiweb.pm.entity.Paging paging, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
filterTaskBean - TaskBean the task, if null no filter is applied, otherwise the passed object is used as filterfilterEnvironmentBean - EnvironmentBean the environment, if null no filter is applied, otherwise the passed object is used as filteruserBean - UserBean the user (mandatory)paging - Paging the pagingconnDao - DAO the connection daoBeanList of TaskBencom.engiweb.toolkit.common.BackendException - the backend exceptioncom.engiweb.pm.entity.BeanList<EntitlementBean> findEntitlement(TaskBean taskBean, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
EntitlementBean related to the TaskBean.taskBean - Task used to find the Entitlements.connDao - DAO the connection dao.BeanList of EntitlementBean.com.engiweb.toolkit.common.BackendExceptionjava.util.Map<java.lang.Long,TaskBean> calculateEntitlementImpact(UserBean user, EnvironmentBean environment, GroupBean organizationalUnit, com.engiweb.pm.entity.BeanList<EntitlementBean> toAdd, com.engiweb.pm.entity.BeanList<EntitlementBean> toRemove, com.engiweb.pm.dao.db.DAO connDao) throws com.engiweb.toolkit.common.BackendException
user - UserBean on which the analysis is performed.environment - EnvironmentBean on which the analysis is performed.organizationalUnit - GroupBean on which the analysis is performed.toAdd - BeanList of EntitlementBean to add.toRemove - BeanList of EntitlementBean to remove.connDao - DAO the connection dao.Map of TaskBean.com.engiweb.toolkit.common.BackendException