@DeclareRoles(value="org.imixs.ACCESSLEVEL.MANAGERACCESS") @RunAs(value="org.imixs.ACCESSLEVEL.MANAGERACCESS") public class JobHandlerRenameUser extends Object implements JobHandler
AdminPService for details| Constructor and Description |
|---|
JobHandlerRenameUser() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
run(ItemCollection adminp)
This method creates a new AdminP Job to rename userId in workitems.
|
ItemCollection |
saveJobEntity(ItemCollection adminp)
Save AdminP Entity
|
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 boolean run(ItemCollection adminp) throws AdminPException
run in interface JobHandlerQueryExceptionAccessDeniedExceptionAdminPExceptionpublic boolean updateWorkitemUserIds(ItemCollection entity, String from, String to, boolean replace) throws AccessDeniedException
entity - from - to - replace - AccessDeniedExceptionpublic ItemCollection saveJobEntity(ItemCollection adminp) throws AccessDeniedException
AccessDeniedExceptionCopyright © 2006–2017 Imixs Software Solutions GmbH. All rights reserved.