@DeclareRoles(value="org.imixs.ACCESSLEVEL.MANAGERACCESS") @RunAs(value="org.imixs.ACCESSLEVEL.MANAGERACCESS") public class JobHandlerRenameUser extends Object implements JobHandler
AdminPService for detailsISCOMPLETED| Constructor and Description |
|---|
JobHandlerRenameUser() |
| Modifier and Type | Method and Description |
|---|---|
ItemCollection |
run(ItemCollection adminp)
This method creates a new AdminP Job to rename userId in workitems.
|
boolean |
updateWorkitemUserIds(ItemCollection entity,
String from,
String to,
boolean replace)
Updates read,write and owner of a entity and returns true if an update was
necessary
|
public ItemCollection run(ItemCollection adminp) throws AdminPException
run in interface JobHandleradminp - descriptionQueryExceptionAccessDeniedExceptionAdminPExceptionpublic boolean updateWorkitemUserIds(ItemCollection entity, String from, String to, boolean replace) throws AccessDeniedException
entity - from - to - replace - AccessDeniedExceptionCopyright © 2006–2019 Imixs Software Solutions GmbH. All rights reserved.