Class MemberOperationsTaskCreator.Unassign
java.lang.Object
com.evolveum.midpoint.gui.impl.page.admin.abstractrole.component.MemberOperationsTaskCreator
com.evolveum.midpoint.gui.impl.page.admin.abstractrole.component.MemberOperationsTaskCreator.Unassign
- Enclosing class:
- MemberOperationsTaskCreator
Helps with "member unassign" operations.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.evolveum.midpoint.gui.impl.page.admin.abstractrole.component.MemberOperationsTaskCreator
MemberOperationsTaskCreator.Assign, MemberOperationsTaskCreator.Unassign
-
Constructor Summary
ConstructorDescriptionUnassign
(@NotNull AbstractRoleType targetAbstractRole, @NotNull QName memberType, @NotNull ObjectQuery memberQuery, @NotNull AbstractRoleMemberPanel.QueryScope scope, @NotNull Collection<QName> relations, @NotNull PageBase pageBase) -
Method Summary
Modifier and TypeMethodDescriptionvoid
createAndSubmitTask
(com.evolveum.midpoint.task.api.Task task, OperationResult result) Creates and executes (i.e.@NotNull PrismObject<TaskType>
createTask
(com.evolveum.midpoint.task.api.Task task, OperationResult result) Creates the member unassignment task.Returns a localization key for the operation - to be used in task name and in GUI messages.Methods inherited from class com.evolveum.midpoint.gui.impl.page.admin.abstractrole.component.MemberOperationsTaskCreator
getOperationName
-
Constructor Details
-
Unassign
public Unassign(@NotNull @NotNull AbstractRoleType targetAbstractRole, @NotNull @NotNull QName memberType, @NotNull @NotNull ObjectQuery memberQuery, @NotNull @NotNull AbstractRoleMemberPanel.QueryScope scope, @NotNull @NotNull Collection<QName> relations, @NotNull @NotNull PageBase pageBase)
-
-
Method Details
-
getOperationKey
Description copied from class:MemberOperationsTaskCreator
Returns a localization key for the operation - to be used in task name and in GUI messages. It has the form of `operation.OPERATION.SCOPE.members.PREPOSITION.TARGET-TYPE`.- Specified by:
getOperationKey
in classMemberOperationsTaskCreator
-
createAndSubmitTask
public void createAndSubmitTask(com.evolveum.midpoint.task.api.Task task, OperationResult result) throws CommonException Creates and executes (i.e. submits) member unassign task: an iterative scripting task that un-assigns members of a given abstract role.- Throws:
CommonException
-
createTask
@NotNull public @NotNull PrismObject<TaskType> createTask(com.evolveum.midpoint.task.api.Task task, OperationResult result) throws CommonException Creates the member unassignment task.- Throws:
CommonException
-