Class AbstractEntitlementsDelegate
- java.lang.Object
-
- org.openiam.workflow.activiti.delegate.core.AbstractNotificationDelegate
-
- org.openiam.workflow.activiti.groovy.DefaultNotificationDelegate
-
- org.openiam.workflow.activiti.delegate.core.AbstractActivitiJob
-
- org.openiam.workflow.activiti.delegate.entitlements.AbstractEntitlementsDelegate
-
- All Implemented Interfaces:
Serializable,org.activiti.engine.delegate.BaseTaskListener,org.activiti.engine.delegate.JavaDelegate,org.activiti.engine.delegate.TaskListener
- Direct Known Subclasses:
AccessCertificationDelegate,BasicEntitlementsRequestDelegate,CreateAccessRequestDelegate,CreateAccessRequestForApproversDelegate,CreateNewUser,CreateUserRequestForApprovers,CRUDPreprocessor,EntityMembershipDelegate,RevokeAccessRequestDelegate,SendCreateAccessRequestDelegate,SendEditUserRequestDelegate,SendNewHireRequestDelegate,SendRevokeAccessRequestDelegate,TerminateUser,UpdateUser,UpdateUserAfterInviteWorkflow,UpdateUserAfterInviteWorkflowDelegate,UpdateUserDelegate
public abstract class AbstractEntitlementsDelegate extends AbstractActivitiJob
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected org.activiti.engine.TaskServicetaskService-
Fields inherited from class org.openiam.workflow.activiti.delegate.core.AbstractActivitiJob
LOG, scriptRunner
-
Fields inherited from class org.openiam.workflow.activiti.delegate.core.AbstractNotificationDelegate
accessRightQueue, activitiApproverAssociationHelper, activitiDataService, activitiSearchTaskService, activitiTaskService, auditLogHelper, authManagerMQService, contentProviderQueue, customNotificationGroovyScript, groupRabbitMQService, jacksonMapper, loginMQService, mailRabbitMQService, managedSysCache, managedSystemRabbitMQService, metadataTypeRabbitMQService, organizationRabbitMQService, passwordQueue, propertyValueService, provisionQueue, rabbitMQSender, resourceRabbitMQService, roleRabbitMQService, userActivationUri, userRabbitMQService
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractEntitlementsDelegate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidautoApprove(org.activiti.engine.delegate.DelegateExecution execution, String requesterId, String currentApproverLevel)Auto Approve step if requester = approverprotected voiddoExecute(org.activiti.engine.delegate.DelegateExecution execution)protected voidhandleRequestDelegationToAlternateContact(AuditLogBuilder idmAuditLog, org.activiti.engine.delegate.DelegateExecution execution, List<String> candidateUsersIds, List<String> candidateUsersIdsWithApproverLevel)protected StringinitiateManualTaskForRevocation(String resourceId, User user, String requestorId, List<AbstractPolicyEntitlementsDTO> items)-
Methods inherited from class org.openiam.workflow.activiti.delegate.core.AbstractActivitiJob
doNotify, execute, getAccessRights, getAssociationId, getComment, getContentProviderId, getDueDate, getEndDate, getExecutorId, getGroup, getLanguageId, getLocale, getMemberAssociationId, getObjectVariable, getOrganization, getParentAuditLogId, getRequestorId, getRequestType, getResource, getRole, getStartDate, getStringVariable, getSupervisorsForUser, getTargetUserId, getTargetVariable, getTaskDescription, getTaskName, getUser, getUserNotes, initiatePostRequestScript, instantiateNotificationGroovyClass, notify, populate, setDisplayMap, suggestUserById
-
Methods inherited from class org.openiam.workflow.activiti.groovy.DefaultNotificationDelegate
sendActivationLink, sendEmail, sendEmails, sendNotification, sendNotification, sendNotificationRequestNewHire, sendNotificationUserCentricRequest, sendNotificationUserCentricRequest
-
Methods inherited from class org.openiam.workflow.activiti.delegate.core.AbstractNotificationDelegate
fillCommonNotificationParams, fillUpAudit, getBaseURL, getNotificationType, getObjectVariable, getStringVariable
-
-
-
-
Method Detail
-
doExecute
protected void doExecute(org.activiti.engine.delegate.DelegateExecution execution)
- Overrides:
doExecutein classAbstractActivitiJob
-
initiateManualTaskForRevocation
protected String initiateManualTaskForRevocation(String resourceId, User user, String requestorId, List<AbstractPolicyEntitlementsDTO> items) throws BasicDataServiceException
- Throws:
BasicDataServiceException
-
autoApprove
protected void autoApprove(org.activiti.engine.delegate.DelegateExecution execution, String requesterId, String currentApproverLevel)Auto Approve step if requester = approver- Parameters:
execution-requesterId-currentApproverLevel-
-
handleRequestDelegationToAlternateContact
protected void handleRequestDelegationToAlternateContact(AuditLogBuilder idmAuditLog, org.activiti.engine.delegate.DelegateExecution execution, List<String> candidateUsersIds, List<String> candidateUsersIdsWithApproverLevel)
-
-