public interface ITask
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,
java.lang.String cod_oper,
java.lang.String token,
java.lang.String realm)
Data un'applicazione assegna all'attivit� tutti i profili
dell'applicazione.
|
void |
addProfiles(com.engiweb.pm.entity.BeanList<EntitlementBean> blProfile,
TaskBean taskBean,
EnvironmentBean envBean,
boolean hier,
java.lang.String cod_oper,
java.lang.String token,
java.lang.String realm)
Associa una lista di ProfileBean ad un TaskBean (esistente).
|
void |
addProperties(com.engiweb.pm.entity.BeanList propBl,
TaskBean taskBean,
EnvironmentBean envBean,
java.lang.String cod_oper,
java.lang.String token,
java.lang.String realm)
Aggiunge una lista di oggetti TaskPropertyBean all'oggetto TaskBean
passato.
|
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,
java.lang.String token,
java.lang.String realm)
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,
java.lang.String cod_oper,
java.lang.String token,
java.lang.String realm)
Aggiorna un oggetto TaskBean in una gerarchia.
|
com.engiweb.pm.entity.BeanList<TaskBean> |
find(TaskBean taskBean,
TaskBean taskBeanStart,
EnvironmentBean envBean,
com.engiweb.pm.entity.Paging paging,
java.lang.String token,
java.lang.String realm)
Cerca oggetti TaskBean a partire da un TaskBean e EnvironmentBean.
|
com.engiweb.pm.entity.BeanList<DomainBean> |
findDomain(DomainBean domainBean,
TaskBean taskBean,
EnvironmentBean envBean,
com.engiweb.pm.entity.Paging paging,
java.lang.String token,
java.lang.String realm)
Ricerca i DomainBean asscociati ad un TaskBean.
|
com.engiweb.pm.entity.BeanList<EntitlementBean> |
findEntitlement(TaskBean taskBean,
java.lang.String token,
java.lang.String realm)
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,
java.lang.String token,
java.lang.String realm)
Cerca una lista di TaskBean a partire dal TaskBean e dal suo
incompatibile.
|
com.engiweb.pm.entity.BeanList<TaskBean> |
findInHier(TaskBean taskBean,
EnvironmentBean envBean,
boolean oneLevel,
com.engiweb.pm.entity.Paging paging,
java.lang.String token,
java.lang.String realm)
Cerca gli oggetti TaskBean di livello gerarchicamente inferiore a partire
da un TaskBean e EnvironmentBean.
|
com.engiweb.pm.entity.BeanList<TaskBean> |
findParent(TaskBean taskBean,
EnvironmentBean envBean,
java.lang.String token,
java.lang.String realm)
Cerca gli oggetti TaskBean di livello gerarchicamente superiore a partire
da un TaskBean e EnvironmentBean.
|
com.engiweb.pm.entity.BeanList<EntitlementBean> |
findProfile(EntitlementBean filterProfileBean,
TaskBean taskBean,
EnvironmentBean envBean,
boolean hier,
com.engiweb.pm.entity.Paging paging,
java.lang.String token,
java.lang.String realm)
Cerca ProfileBean associati ad un TaskBean.
|
com.engiweb.pm.entity.BeanList |
findProperties(TaskPropertyBean propBean,
TaskBean taskBean,
com.engiweb.pm.entity.Paging paging,
EnvironmentBean envBean,
java.lang.String cod_oper,
java.lang.String token,
java.lang.String realm)
Ricerca gli oggetti TaskPropertyBean associati all'oggetto TaskBean
passato.
|
com.engiweb.pm.entity.BeanList<RiskBean> |
findRisk(RiskBean riskBean,
TaskBean taskBean,
EnvironmentBean envBean,
com.engiweb.pm.entity.Paging paging,
java.lang.String token,
java.lang.String realm)
Find risk.
|
com.engiweb.pm.entity.BeanList<TaskBean> |
findTaskByEntitlement(TaskBean filterTaskBean,
EnvironmentBean filterEnvironmentBean,
EntitlementBean entitlementBean,
com.engiweb.pm.entity.Paging paging,
java.lang.String token,
java.lang.String realm)
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,
java.lang.String token,
java.lang.String realm)
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,
java.lang.String token,
java.lang.String realm)
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,
java.lang.String token,
java.lang.String realm)
Return a list of tasks associated to all user groups
|
TaskBean |
insert(TaskBean taskBean,
TaskBean taskParentBean,
EnvironmentBean envBean,
java.lang.String cod_operation,
java.lang.String token,
java.lang.String realm)
Inserisce un oggetto TaskBean in una gerarchia.
|
void |
removeApplication(ApplicationBean applicationBean,
TaskBean taskBean,
EnvironmentBean envBean,
boolean hier,
java.lang.String cod_oper,
java.lang.String token,
java.lang.String realm)
Data un'applicazione remuove dall'attivit� tutti i profili
dell'applicazione.
|
void |
removeProfiles(com.engiweb.pm.entity.BeanList<EntitlementBean> blProfile,
TaskBean taskBean,
EnvironmentBean envBean,
boolean hier,
java.lang.String cod_oper,
java.lang.String token,
java.lang.String realm)
Disassocia una lista di ProfileBean da un TaskBean (esistente).
|
void |
removeProperties(com.engiweb.pm.entity.BeanList propBl,
TaskBean taskBean,
EnvironmentBean envBean,
java.lang.String cod_oper,
java.lang.String token,
java.lang.String realm)
Rimuove una lista di oggetti TaskPropertyBean dall'oggetto TaskBean
passato.
|
void |
update(TaskBean taskBean,
TaskBean taskParentBean,
EnvironmentBean envBean,
java.lang.String cod_oper,
java.lang.String token,
java.lang.String realm)
Aggiorna un oggetto TaskBean in una gerarchia.
|
static final java.lang.String COPYRIGHT
TaskBean insert(TaskBean taskBean, TaskBean taskParentBean, EnvironmentBean envBean, java.lang.String cod_operation, java.lang.String token, java.lang.String realm) throws com.engiweb.toolkit.common.BackendException
taskBean
- the task beantaskParentBean
- the task parent beanenvBean
- the env beancod_operation
- the cod_operationtoken
- the tokenrealm
- the realmcom.engiweb.toolkit.common.BackendException
- the backend exceptionvoid update(TaskBean taskBean, TaskBean taskParentBean, EnvironmentBean envBean, java.lang.String cod_oper, java.lang.String token, java.lang.String realm) throws com.engiweb.toolkit.common.BackendException
taskBean
- the task beantaskParentBean
- the task parent beanenvBean
- the env beancod_oper
- the cod_opertoken
- the tokenrealm
- the realmcom.engiweb.toolkit.common.BackendException
- the backend exceptionvoid delete(TaskBean taskBean, EnvironmentBean envBean, boolean hier, java.lang.String cod_oper, java.lang.String token, java.lang.String realm) throws com.engiweb.toolkit.common.BackendException
taskBean
- the task beanenvBean
- the env beanhier
- the hiercod_oper
- the cod_opertoken
- the tokenrealm
- the realmcom.engiweb.toolkit.common.BackendException
- the backend exceptioncom.engiweb.pm.entity.BeanList<TaskBean> find(TaskBean taskBean, TaskBean taskBeanStart, EnvironmentBean envBean, com.engiweb.pm.entity.Paging paging, java.lang.String token, java.lang.String realm) throws com.engiweb.toolkit.common.BackendException
taskBean
- the task beantaskBeanStart
- the task bean startenvBean
- the env beanpaging
- the pagingtoken
- the tokenrealm
- the realmcom.engiweb.toolkit.common.BackendException
- the backend exceptioncom.engiweb.pm.entity.BeanList<TaskBean> findParent(TaskBean taskBean, EnvironmentBean envBean, java.lang.String token, java.lang.String realm) throws com.engiweb.toolkit.common.BackendException
taskBean
- the task beanenvBean
- the env beantoken
- the tokenrealm
- the realmcom.engiweb.toolkit.common.BackendException
- the backend exceptioncom.engiweb.pm.entity.BeanList<TaskBean> findInHier(TaskBean taskBean, EnvironmentBean envBean, boolean oneLevel, com.engiweb.pm.entity.Paging paging, java.lang.String token, java.lang.String realm) throws com.engiweb.toolkit.common.BackendException
taskBean
- the task beanenvBean
- the env beanoneLevel
- the one levelpaging
- the pagingtoken
- the tokenrealm
- the realmcom.engiweb.toolkit.common.BackendException
- the backend exceptionvoid addProfiles(com.engiweb.pm.entity.BeanList<EntitlementBean> blProfile, TaskBean taskBean, EnvironmentBean envBean, boolean hier, java.lang.String cod_oper, java.lang.String token, java.lang.String realm) throws com.engiweb.toolkit.common.BackendException
blProfile
- the bl profiletaskBean
- the task beanenvBean
- the env beanhier
- the hiercod_oper
- the cod_opertoken
- the tokenrealm
- the realmcom.engiweb.toolkit.common.BackendException
- the backend exceptionvoid removeProfiles(com.engiweb.pm.entity.BeanList<EntitlementBean> blProfile, TaskBean taskBean, EnvironmentBean envBean, boolean hier, java.lang.String cod_oper, java.lang.String token, java.lang.String realm) throws com.engiweb.toolkit.common.BackendException
blProfile
- the bl profiletaskBean
- the task beanenvBean
- the env beanhier
- the hiercod_oper
- the cod_opertoken
- the tokenrealm
- the realmcom.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, java.lang.String token, java.lang.String realm) throws com.engiweb.toolkit.common.BackendException
filterProfileBean
- the filter profile beantaskBean
- the task beanenvBean
- the env beanhier
- the hierpaging
- the pagingtoken
- the tokenrealm
- the realmcom.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, java.lang.String token, java.lang.String realm) 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 pagingBeanList
of TaskBen
com.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, java.lang.String token, java.lang.String realm) 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 pagingBeanList
of TaskBen
com.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, java.lang.String token, java.lang.String realm) 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 pagingBeanList
of TaskBen
com.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, java.lang.String token, java.lang.String realm) 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 pagingBeanList
of TaskBen
com.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, java.lang.String token, java.lang.String realm) throws com.engiweb.toolkit.common.BackendException
incompTaskBean
- the incomp task beantaskBean
- the task beanenvBean
- the env beanpaging
- the pagingtoken
- the tokenrealm
- the realmcom.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, java.lang.String token, java.lang.String realm) throws com.engiweb.toolkit.common.BackendException
domainBean
- the domain beantaskBean
- the task beanenvBean
- the env beanpaging
- the pagingtoken
- the tokenrealm
- the realmcom.engiweb.toolkit.common.BackendException
- the backend exceptionvoid addApplication(ApplicationBean applicationBean, TaskBean taskBean, EnvironmentBean envBean, boolean hier, java.lang.String cod_oper, java.lang.String token, java.lang.String realm) throws com.engiweb.toolkit.common.BackendException
applicationBean
- the application beantaskBean
- the task beanenvBean
- the env beanhier
- the hiercod_oper
- the cod_opertoken
- the tokenrealm
- the realmcom.engiweb.toolkit.common.BackendException
- the backend exceptionvoid removeApplication(ApplicationBean applicationBean, TaskBean taskBean, EnvironmentBean envBean, boolean hier, java.lang.String cod_oper, java.lang.String token, java.lang.String realm) throws com.engiweb.toolkit.common.BackendException
applicationBean
- the application beantaskBean
- the task beanenvBean
- the env beanhier
- the hiercod_oper
- the cod_opertoken
- the tokenrealm
- the realmcom.engiweb.toolkit.common.BackendException
- the backend exceptioncom.engiweb.pm.entity.BeanList findProperties(TaskPropertyBean propBean, TaskBean taskBean, com.engiweb.pm.entity.Paging paging, EnvironmentBean envBean, java.lang.String cod_oper, java.lang.String token, java.lang.String realm) throws com.engiweb.toolkit.common.BackendException
propBean
- the prop beantaskBean
- the task beanpaging
- : Paging
envBean
- the env beancod_oper
- the cod_opertoken
- the tokenrealm
- the realmcom.engiweb.toolkit.common.BackendException
- the backend exceptionvoid addProperties(com.engiweb.pm.entity.BeanList propBl, TaskBean taskBean, EnvironmentBean envBean, java.lang.String cod_oper, java.lang.String token, java.lang.String realm) throws com.engiweb.toolkit.common.BackendException
propBl
- the prop bltaskBean
- the task beanenvBean
- the env beancod_oper
- the cod_opertoken
- the tokenrealm
- the realmcom.engiweb.toolkit.common.BackendException
- the backend exceptionvoid removeProperties(com.engiweb.pm.entity.BeanList propBl, TaskBean taskBean, EnvironmentBean envBean, java.lang.String cod_oper, java.lang.String token, java.lang.String realm) throws com.engiweb.toolkit.common.BackendException
propBl
- the prop bltaskBean
- the task beanenvBean
- the env beancod_oper
- the cod_opertoken
- the tokenrealm
- the realmcom.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, java.lang.String token, java.lang.String realm) throws com.engiweb.toolkit.common.BackendException
riskBean
- the risk beantaskBean
- the task beanenvBean
- the env beanpaging
- the pagingtoken
- the tokenrealm
- the realmcom.engiweb.toolkit.common.BackendException
- the backend exceptioncom.engiweb.pm.entity.BeanList<EntitlementBean> findEntitlement(TaskBean taskBean, java.lang.String token, java.lang.String realm) throws com.engiweb.toolkit.common.BackendException
EntitlementBean
related to the TaskBean
.taskBean
- Task used to find the Entitlements.token
- the tokenrealm
- the realmBeanList
of EntitlementBean
.com.engiweb.toolkit.common.BackendException
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, java.lang.String token, java.lang.String realm) 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.token
- The token.realm
- The realm.BeanList
of TaskBean
.com.engiweb.toolkit.common.BackendException