Package oracle.iam.certification.api
Interface CertificationService
public interface CertificationService
The public API to the OIM Certification Feature. The primary consumer of this
API is the OIM self-service UI.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoid
approveUserEntitlements
(Long certId, String taskUid, Long userEntityId, Set<Long> roleEntityIds, Set<Long> accountEntityIds, Set<Long> accountAttributeEntityIds, Date statusEndDate) Approve user entitlements for user in User Certification.void
approveUserEntitlements
(Long certId, String taskUid, Long entityId, CertificationConstants.EntityType entityType, SearchCriteria criteria, Date statusEndDate) Approve user entitlements for user in User Certification with criteria.boolean
canBeCompleted
(Long certificationId, String taskUid) Determine if a certification is ready to be completed or a task associated with a certification is ready to be signed off.void
certifyApplicationInstanceEntitlements
(Long certificationId, String taskUid, Long appInstEntityId, Set<Long> accountEntityIds, Set<Long> entAsgnEntityIds, Integer decision, Date endDate, String comments) Take a decision action on specified accounts and entitlement assignments in an Application Instance certification.void
certifyApplicationInstanceEntitlements
(Long certificationId, String taskUid, Long appInstEntityId, SearchCriteria searchCriteria, Integer decision, Date endDate, String comments) Take a decision action on specified accounts and entitlement assignments in an Application Instance certification.certifyApplicationInstanceEntitlementsWithExistingComments
(Long certificationId, String taskUid, Long appInstEntityId, Set<Long> accountEntityIds, Set<Long> entAsgnEntityIds, Integer decision, Date endDate) Take a decision action on specified accounts and entitlement assignments in an Application Instance certification using existing comments.certifyApplicationInstanceEntitlementsWithExistingComments
(Long certificationId, String taskUid, Long appInstEntityId, SearchCriteria searchCriteria, Integer decision, Date endDate) Take a decision action on specified accounts and entitlement assignments in an Application Instance certification using existing comments.certifyApplicationInstanceEntitlementsWithUpdateComments
(Long certificationId, String taskUid, Long appInstEntityId, Set<Long> accountEntityIds, Set<Long> entAsgnEntityIds, Integer decision, Date endDate, String comments, Boolean updateOnlyEmptyComments) Take a decision action on specified accounts and entitlement assignments in an Application Instance certification using provided comment if existing comment is empty.certifyApplicationInstanceEntitlementsWithUpdateComments
(Long certificationId, String taskUid, Long appInstEntityId, SearchCriteria searchCriteria, Integer decision, Date endDate, String comments, Boolean updateOnlyEmptyComments) Take a decision action on specified accounts and entitlement assignments in an Application Instance certification using provided comment if existing comment is empty.void
certifyApplicationInstances
(Long certificationId, String taskUid, Integer status, Set<Long> applicationEntityIds, String comments) Takes a decision on an application instance in the context of an application instance certification.void
certifyApplicationInstances
(Long certificationId, String taskUid, Integer status, SearchCriteria searchCriteria, String comments) Takes a decision on an application instance in the context of an application instance certification.void
certifyEntitlements
(Long certificationId, String taskUid, Integer belongsToMe, Set<Long> entityIds, String comments) certifies a set of entitlementsvoid
certifyEntitlements
(Long certificationId, String taskUid, Integer belongsToMe, SearchCriteria searchCriteria, String comments) certifies a set of entitlements matching a search criteria.void
certifyEntitlementUsersWithFilter
(Long certificationId, String taskUid, Long attributeValueEntityId, Map<String, Object> filters, Integer status, Date endDate, String comments) Certifies the user accounts for a given entitlement definitionvoid
certifyRemainingApplicationInstanceContent
(Long certificationId, String taskUid, Set<Long> applicationEntityIds, String comments) Claims application instances and certifies associated contentvoid
certifyRemainingApplicationInstanceContent
(Long certificationId, String taskUid, SearchCriteria searchCriteria, String comments) Claims application instances and certifies associated contentvoid
certifyRemainingApplicationInstanceContentWithOptions
(Long certificationId, String taskUid, Set<Long> applicationEntityIds, String comments, Boolean updateOnlyEmptyComments) Claims application instances and certifies associated contentvoid
certifyRemainingApplicationInstanceContentWithOptions
(Long certificationId, String taskUid, SearchCriteria searchCriteria, String comments, Boolean updateOnlyEmptyComments) Claims application instances and certifies associated contentvoid
certifyRemainingEntitlementContent
(Long certificationId, String taskUid, Set<Long> entityIds, String comments) completes an entitlement.void
certifyRemainingEntitlementContent
(Long certificationId, String taskUid, SearchCriteria searchCriteria, String comments) completes a set of entitlements that match a search criteria.void
certifyRemainingEntitlementContentWithOptions
(Long certificationId, String taskUid, Set<Long> entityIds, String comments, Boolean updateOnlyEmptyComments) completes an entitlement.void
certifyRemainingEntitlementContentWithOptions
(Long certificationId, String taskUid, SearchCriteria searchCriteria, String comments, Boolean updateOnlyEmptyComments) completes a set of entitlements that match a search criteria.void
certifyRemainingRoleContent
(Long certificationId, String taskUid, List<Long> roleEntityIds, String comments) certifies remaining role content in a given task.void
certifyRemainingRoleContent
(Long certificationId, String taskUid, SearchCriteria criteria, String comments) certifies remaining role content in a given task.void
certifyRemainingRoleContentWithOptions
(Long certificationId, String taskUid, List<Long> roleEntityIds, String comments, Boolean updateOnlyEmptyComments) certifies remaining role content in a given task.void
certifyRemainingRoleContentWithOptions
(Long certificationId, String taskUid, SearchCriteria criteria, String comments, Boolean updateOnlyEmptyComments) certifies remaining role content in a given task.void
certifyRemainingUserCertPh2Pg1ItemContent
(Long certificationId, String taskUid, Set<Long> roleIds, Set<Long> appInstanceIds, Set<Long> entitlementDefinitionIds, Integer certified, Date statusEndDate, String comments) Certify remaining content(non-certified) for items on Page 1 in Phase 2 of User Certificationvoid
certifyRemainingUserCertPh2Pg1ItemContent
(Long certificationId, String taskUid, SearchCriteria criteria, Integer certified, Date statusEndDate, String comments) Certify remaining content(non-certified) for items on Page 1 in Phase 2 of User Certificationvoid
certifyRemainingUserCertPh2Pg1ItemContentWithOptions
(Long certificationId, String taskUid, Set<Long> roleIds, Set<Long> appInstanceIds, Set<Long> entitlementDefinitionIds, Integer certified, Date statusEndDate, String comments, Boolean updateOnlyEmptyComments) Certify remaining content(non-certified) for items on Page 1 in Phase 2 of User Certificationvoid
certifyRemainingUserCertPh2Pg1ItemContentWithOptions
(Long certificationId, String taskUid, SearchCriteria criteria, Integer certified, Date statusEndDate, String comments, Boolean updateOnlyEmptyComments) Certify remaining content(non-certified) for items on Page 1 in Phase 2 of User Certificationvoid
certifyRemainingUserContent
(Long certificationId, String taskUid, List<Long> userEntityIds, String certificationComments) certifies user roles,accounts and account-attributes which are not acted on.void
certifyRemainingUserContent
(Long certificationId, String taskUid, SearchCriteria searchCriteria, String comments) certifies remaining user content with filters.void
certifyRemainingUserContentWithOptions
(Long certificationId, String taskUid, List<Long> userEntityIds, String certificationComments, Boolean updateOnlyEmptyComments) certifies user roles,accounts and account-attributes which are not acted on.void
certifyRemainingUserContentWithOptions
(Long certificationId, String taskUid, SearchCriteria searchCriteria, String comments, Boolean updateOnlyEmptyComments) certifies remaining user content with filters.void
certifyRoles
(Long certificationId, String taskUid, List<Long> roleEntityIds, Integer certified, String comments) Allows claim, revoke and abstain actions on roles within a given task.void
certifyRoles
(Long certificationId, String taskUid, SearchCriteria criteria, Integer certified, String comments) Allows claim, revoke and abstain actions on roles within a given task with a set of filters.void
certifySelectedEntitlementUsers
(Long certificationId, String taskUid, Long attributeValueEntityId, Set<Long> entitlementUserAccountEntityIds, Integer status, Date endDate, String comments) Certifies the user accounts for a given entitlement definitionvoid
certifySelectedEntitlementUsers
(Long certificationId, String taskUid, Long attributeValueEntityId, SearchCriteria searchCriteria, Integer status, Date endDate, String comments) Certifies the user accounts for a given entitlement definitioncertifySelectedEntitlementUsersWithExistingComments
(Long certificationId, String taskUid, Long attributeValueEntityId, Set<Long> entitlementUserAccountEntityIds, Integer status, Date endDate) Certifies the user accounts for a given entitlement definition with existing commentscertifySelectedEntitlementUsersWithExistingComments
(Long certificationId, String taskUid, Long attributeValueEntityId, SearchCriteria searchCriteria, Integer status, Date endDate) Certifies the user accounts for a given entitlement definitioncertifySelectedEntitlementUsersWithUpdateComments
(Long certificationId, String taskUid, Long attributeValueEntityId, Set<Long> entitlementUserAccountEntityIds, Integer status, Date endDate, String comments, Boolean updateOnlyEmptyComments) Certifies the user accounts for a given entitlement definitioncertifySelectedEntitlementUsersWithUpdateComments
(Long certificationId, String taskUid, Long attributeValueEntityId, SearchCriteria searchCriteria, Integer status, Date endDate, String comments, Boolean updateOnlyEmptyComments) Certifies the user accounts for a given entitlement definitionvoid
certifyUserCertPh2Pg1Items
(Long certificationId, String taskUid, Set<Long> roleIds, Set<Long> appInstanceIds, Set<Long> entitlementDefinitionIds, Integer certified, Date statusEndDate, String comments) Certify the items on Page 1 in Phase 2 of User Certificationvoid
certifyUserCertPh2Pg1Items
(Long certificationId, String taskUid, SearchCriteria criteria, Integer certified, Date statusEndDate, String comments) Certify the items on Page 1 in Phase 2 of User Certification by search criteriavoid
certifyUserCertPh2Pg2Items
(Long certificationId, String taskUid, Long entityId, CertificationConstants.EntityType entityType, SearchCriteria criteria, Integer certified, Date statusEndDate, String comments) Certify the items on Page 2 in Phase 2 of User Certification by search criteriacertifyUserCertPh2Pg2ItemsWithExistingComments
(Long certificationId, String taskUid, Long entityId, CertificationConstants.EntityType entityType, SearchCriteria criteria, Integer certified, Date statusEndDate) Certify the items on Page 2 in Phase 2 of User Certification by search criteria with the existing comments.void
certifyUserEntitlements
(Long certId, String taskUid, Long userEntityId, Set<Long> roleEntityIds, Set<Long> accountEntityIds, Set<Long> accountAttributeEntityIds, Integer certified, Date statusEndDate, String comments) Certify the user entitlements for a user in User Certificationvoid
certifyUserEntitlements
(Long certId, String taskUid, Long userEntityId, SearchCriteria criteria, Integer certified, Date statusEndDate, String comments) Certify the user entitlements for a user in User CertificationcertifyUserEntitlementsWithExistingComments
(Long certId, String taskUid, Long userEntityId, Set<Long> roleEntityIds, Set<Long> accountEntityIds, Set<Long> accountAttributeEntityIds, Integer certified, Date statusEndDate) Certify the user entitlements for a user in User Certification with existing commentscertifyUserEntitlementsWithExistingComments
(Long certId, String taskUid, Long userEntityId, SearchCriteria criteria, Integer certified, Date statusEndDate) Certify the user entitlements for a user in User Certification using existing commentscertifyUserEntitlementsWithUpdateComments
(Long certId, String taskUid, Long userEntityId, Set<Long> roleEntityIds, Set<Long> accountEntityIds, Set<Long> accountAttributeEntityIds, String comments, Boolean updateOnlyEmptyComments, Integer certified, Date statusEndDate) Certify the user entitlements for a user in User Certification with new comments if existing comment is emptycertifyUserEntitlementsWithUpdateComments
(Long certId, String taskUid, Long userEntityId, SearchCriteria criteria, String comments, Boolean updateOnlyEmptyComments, Integer certified, Date statusEndDate) Certify the user entitlements for a user in User Certification using new comments if existing comment is emptyvoid
certifyUsers
(Long certificationId, String taskUid, List<Long> userEntityIds, Integer certified, String certificationComments) Allows claim, revoke and abstain actions on selected users within a given task.void
certifyUsers
(Long certificationId, String taskUid, SearchCriteria sc, Integer certified, String comments) Allows claim, revoke and abstain actions on selected users within a given task with a set of filters.completeCertification
(Long certificationId, String taskUid, char[] cleartextPassword) This method completes the certification having the given id.void
completeCertificationTask
(Long certificationId, String taskUid, char[] cleartextPassword) completes a certification task.long
countCertifications
(SearchCriteria searchCriteria) This method counts the number of certifications matching the supplied search criteria.delegateItems
(Long certificationId, String taskUid, Long recipientId, List<Long> userEntityIds, List<Long> roleEntityIds, List<Long> appInstanceEntityIds, List<Long> entitlementDefinitionEntityIds, String comments) Delegates specified line items to a delegate reviewer during review phase one or two, creating a new certification task for the delegate reviewer.delegateItems
(Long certificationId, String currentTaskUid, Long recipientId, SearchCriteria criteria, String comments) Returns delegate itemsfindCertificationHistoryForRole
(String roleKey, SearchCriteria searchCriteria) Return list of certification history objects for a given roleKey.findCertifications
(SearchCriteria searchCriteria, Set<String> retAttrs, Map<String, Object> configParams) This method finds a list of certifications according to given searchcriteria, set of return attributes and config paramsgetAppInstCertificationStats
(Long certId, String taskUid) Retrieve AppInstCertificationStats for specified certification and task.getAttributeValueUsersCountWithFilter
(Long certificationId, String taskUid, Long attributeValueEntityId, Map<String, Object> filters) Deprecated.getAttributeValueUsersCountWithFilter
(Long certificationId, String taskUid, Long attributeValueEntityId, SearchCriteria searchCriteria) Returns the count for user accounts in the given entitlement definitiongetCertificationConfiguration
(Long certificationId, String taskUid) Retrieve the configuration set in the certification at instantiationgetCertificationGlobalConfiguration
(Long certificationId, String taskUid) Retrieve the global certification configuration.getCertificationHistory
(Long certificationId, String taskUid, CertificationConstants.EntityType entityType, Long parentId, Long childId) Returns Certification history informationgetCertificationStats
(Long certId, String taskUid) Get an abstract CertStats object.getEntitlementCertificationStats
(Long certId, String taskUid) Retrieve AppInstCertificationStats for specified certification and task.getEntitlementCount
(Long certificationId, String taskUid, SearchCriteria searchCriteria) returns entitlement count applying specified filter criteria.getFilteredAccountAttributeValueCountByCertification
(Long certificationId, String taskUid, Long applicationInstanceEntityId, SearchCriteria searchCriteria) Counts accounts and attribute values for a given search, ref.getFilteredApplicationInstanceCountByCertification
(Long certificationId, String taskUid, SearchCriteria searchCriteria) Counts instances of IDCApplicationInstance objects for a given search, ref.getFilteredRoleCountByCertification
(Long certificationId, String taskUid, SearchCriteria criteria) returns filtered role count in a role certification within a certification task.getFilteredUserCountByCertification
(Long certificationId, String taskUid, SearchCriteria searchCriteria) gets count of users in a task for user certification.getIDCApplicationInstancesByBatch
(Long certificationId, String taskUid, PaginationContext context, SearchCriteria searchCriteria) Retrieves IDCApplicationInstance objectsgetIDCEndPointUsersByBatch
(Long certificationId, String taskUid, Long attributeValueEntityId, PaginationContext context, Map<String, Object> filters) getIDCEndPointUsersByBatch
(Long certificationId, String taskUid, Long attributeValueEntityId, PaginationContext context, SearchCriteria searchCriteria) Returns the list of user accounts for the given entitlement definitiongetIDCEntitlementsByBatch
(Long certificationId, String taskUid, PaginationContext context, SearchCriteria searchCriteria) returns entitlement batch applying specified filter criteria.getIDCRolesByBatch
(Long certificationId, String taskUid, PaginationContext context, SearchCriteria criteria) fetches a set of roles in a role certification.getIDCUsersByBatch
(Long certificationId, String taskUid, PaginationContext context, SearchCriteria searchCriteria) gets a batch of IDC User objects within a certification task.long
getIndexForIDCApplicationInstance
(Long certificationId, String taskUid, long appInstEntityId, PaginationContext context, SearchCriteria searchCriteria) Find index in list for specified appInstId.long
getIndexForIDCEntitlement
(Long certificationId, String taskUid, long entDefnEntityId, PaginationContext context, SearchCriteria searchCriteria) Find index in list for specified entDefnId.long
getIndexForIDCRole
(Long certificationId, String taskUid, long roleEntityId, PaginationContext context, SearchCriteria searchCriteria) Find index in list for specified roleId.long
getIndexForIDCUser
(Long certificationId, String taskUid, long userId, PaginationContext context, SearchCriteria searchCriteria) Find index in list for specified userId.getLineItemActionHistory
(Long certificationId, String taskUid, Long lineItemEId) retrieves action history for a line item.getLineItemDetailActionHistory
(Long certificationId, String taskUid, Long lineItemEId, Long lineItemDetailEId, int lineItemDetailType) getLineItemDetailActionHistory
(Long certificationId, String taskUid, Long lineItemEId, Long lineItemDetailEId, CertificationConstants.EntityType lineItemDetailType) returns action history for a line item detail (using line item and line item detail entity ids)getListOfUDFAttributes
(Long certificationId, String taskUid) Returns the UDF details for User and CatalogReturns the phase for a certification (taskUid==null) or the phase for a task associated with the certification(taskUid!=null).getRoleCertificationStats
(Long certId, String taskUid) Retrieve RoleCertificationStats for specified certification and task.getRoleMemberCount
(Long certificationId, String taskUid, Long roleEntityId, SearchCriteria searchCriteria) Returns the count for role members in a role included in given certification or taskgetRoleMembersByBatch
(Long certificationId, String taskUid, Long roleEntityId, PaginationContext context, SearchCriteria searchCriteria) Returns the list of role members for a given role in given certification or taskgetRolePolicyEntitlementCount
(Long certificationId, String taskUid, Long roleEntityId, SearchCriteria searchCriteria) Returns the count for policies and entitlements in a role included in given certification or taskgetRolePolicyEntitlementsByBatch
(Long certificationId, String taskUid, Long roleEntityId, PaginationContext context, SearchCriteria searchCriteria) Returns the combined list of policies and entitlements for a given role in given certificaiton or taskgetTaskInfo
(Long certificationId, String taskUid) Return certification task info for the specified taskgetTaskInfoListByCert
(Long certificationId, String taskUid, PaginationContext context, SearchCriteria searchCriteria) Return a collection of certification task info for the tasks of the specified certificationgetTaskTitle
(Long certificationId, String taskUid) Get the title for a task with given identification key/task uidgetUserCertificationStats
(Long certId, String taskUid) Retrieve UserCertificationStats for specified certification and task.getUserCertPh2Pg1ItemCount
(Long certificationId, String taskUid, SearchCriteria criteria) Returns the count for List of CatalogItemWrapper representing the rotated view in Phase 2 of User CertificationgetUserCertPh2Pg1ItemList
(Long certificationId, String taskUid, PaginationContext context, SearchCriteria criteria) Returns the List of CatalogItemWrapper representing the rotated view in Phase 2 of User CertificationgetUserCertPh2Pg2AppInstanceAccountItemCount
(Long certificationId, String taskUid, Long appInstanceId, SearchCriteria criteria) Return a count of IDC accounts corresponding to the specified application instance id, certification id and task uid.getUserCertPh2Pg2AppInstanceAccountItemList
(Long certificationId, String taskUid, Long appInstanceId, PaginationContext context, SearchCriteria criteria) Return a List of IDC accounts corresponding to the specified application instance id, certification id and task uid.getUserCertPh2Pg2EntDefinitionEntAssignItemCount
(Long certificationId, String taskUid, Long entDefinitionId, SearchCriteria criteria) Return a count of IDC End Point Users corresponding to the specified entitlement definition id, certification id and task uid.getUserCertPh2Pg2EntDefinitionEntAssignItemList
(Long certificationId, String taskUid, Long entDefinitionId, PaginationContext context, SearchCriteria criteria) Return a List of IDC End Point Users corresponding to the specified entitlement definition id, certification id and task uid.getUserCertPh2Pg2UserItemCount
(Long certificationId, String taskUid, Long roleId, SearchCriteria criteria) Return a count of IDC user members corresponding to the specified role id, certification id and task uid.getUserCertPh2Pg2UserItemList
(Long certificationId, String taskUid, Long roleId, PaginationContext context, SearchCriteria criteria) Return a list of IDC user members corresponding to the specified role id, certification id and task uid.double
getUserCertPhase2Progress
(Long certId, String taskUid, String entityType, long lineItemId) Retrieve progress (percent complete) for User cert virtual (aka rotated) line items on phase 2 page 1 for specified cert id, task uid and line item id.getUserEntitlementCount
(Long certificationId, String taskUid, Long userId, Map<String, Object> filters) Returns the number of entitlements matching the filters for a given user in a certificationgetUserEntitlementCount
(Long certificationId, String taskUid, Long userId, SearchCriteria searchCriteria) Returns the number of entitlements matching the filters for a given user in a certificationgetUserRiskSummary
(Long certificationId, String taskUid, Long userId) loadBatchApplicationInstanceAccounts
(Long certificationId, String taskUid, Long applicationInstanceEntityId, PaginationContext context, SearchCriteria searchCriteria) Loads accounts and attribute values for a given certification, application instance and filterloadBatchUserEntitlementForXls
(Long certificationId, String taskUid) Get the entitlements of a user by batch for XLSloadBatchUserEntitlements
(Long certificationId, String taskUid, Long userId, PaginationContext context, Map<String, Object> params) Get the entitlements of a user by batchloadBatchUserEntitlements
(Long certificationId, String taskUid, Long userId, PaginationContext context, SearchCriteria searchCriteria) Get the entitlements of a user by batchloadCertification
(Long certificationId) Deprecated.use loadCertification(Long certificationId, String taskUid)loadCertification
(Long certificationId, String taskUid) Returns a CertificationInstance object for given certification Id and task IdreassignItemsPhase1
(Long certificationId, String taskUid, Long recipientId, Set<Long> userEntityIds, Set<Long> roleEntityIds, Set<Long> appInstEntityIds, Set<Long> entDefnEntityIds, String comments) Reassign line items to the specified reviewer during phase one, creating a new certification and marking the items in the original certification as reassigned (effectively removing them).reassignItemsPhase1
(Long certificationId, String currentTaskUid, Long recipientId, SearchCriteria criteria, String comments) Reassign line items to the specified reviewer during phase one, creating a new certification and marking the items in the original certification as reassigned (effectively removing them).reassignItemsPhase2
(Long certificationId, String taskUid, Long recipientId, Set<Long> userEntityIds, Set<Long> roleEntityIds, Set<Long> appInstanceEntityIds, Set<Long> entitlementDefinitionEntityIds, String comments) Reassigns line items to the specified reviewer during phase two, creating a certification task for the assignee and removing the line items from the current task.reassignItemsPhase2
(Long certificationId, String taskUid, Long recipientId, SearchCriteria criteria, String comments) Reassigns line items to the specified reviewer during phase two, creating a certification task for the assignee and removing the line items from the current task.void
revokeUsersAccess
(Long certificationId, String taskUid, List<Long> userEntityIds, String certificationComments) Allows Revoke action on the access of selected users within a given task.void
revokeUsersAccess
(Long certificationId, String taskUid, SearchCriteria sc, String comments) Allows Revoke action on the access of selected users within a given task with a set of filters.void
taskAcquire
(Long certificationId, String taskUid, String acquiredBy) Update primary reviewer for the certification once the group task is acquired by a reviewer User who is invoking this API must be assigned Certification Administrator or System Administrator admin rolevoid
unDelegateItems
(Long certificationId, String taskUid, List<Long> userEntityIds, List<Long> roleEntityIds, List<Long> appInstanceEntityIds, List<Long> entitlementDefinitionEntityIds, String comments) Undelegates the specified set of line items (restores them to the primary reviewer's task) during review phase one or two.void
unDelegateItems
(Long certificationId, String currentTaskUid, SearchCriteria searchCriteria, String comments) Undelegates the specified item (restores them to the primary reviewer's task) during review phase one or two.void
updateApplicationInstanceCertificationComments
(Long certificationId, String taskUid, Set<Long> applicationEntityIds, String comments) Update the comments for all specified entitiesvoid
updateApplicationInstanceCertificationComments
(Long certificationId, String taskUid, SearchCriteria searchCriteria, String comments) Update the comments for all specified entitiesvoid
updateApplicationInstanceEntitlementComments
(Long certificationId, String taskUid, Long appInstEntityId, Set<Long> accountEntityIds, Set<Long> entAsgnEntityIds, String comments) Update comments associated with a decision action on specified accounts and entitlement assignments in an Application Instance certification.void
updateApplicationInstanceEntitlementComments
(Long certificationId, String taskUid, Long appInstEntityId, SearchCriteria searchCriteria, String comments) Update comments associated with a decision action on specified accounts and entitlement assignments in an Application Instance certification.void
updateEntitlementCertificationComments
(Long certificationId, String taskUid, Set<Long> entityIds, String comments) update entitlement comments for a given set of entitlements.void
updateEntitlementCertificationComments
(Long certificationId, String taskUid, SearchCriteria searchCriteria, String comments) update entitlement comments for entitlements matching search criteria.void
updateEntitlementUserCommentsWithFilter
(Long certificationId, String taskUid, Long attributeValueEntityId, Map<String, Object> filters, String comments) Updates the user account comments for a given entitlement definitionupdateFilteredRoleMemberStatusWithExistingComments
(Long certificationId, String taskUid, Long roleEntityId, SearchCriteria searchCriteria, Integer status, Date endDate) Updates the status of a role memberupdateFilteredRoleMemberStatusWithUpdateComments
(Long certificationId, String taskUid, Long roleEntityId, SearchCriteria searchCriteria, Integer status, Date endDate, String comments, Boolean updateOnlyEmptyComments) Updates the status of a role memberupdateFilteredRolePolicyStatusWithExistingComments
(Long certificationId, String taskUid, Long roleEntityId, SearchCriteria searchCriteria, Integer status, Date endDate) Updates the status of a role policyupdateFilteredRolePolicyStatusWithUpdateComments
(Long certificationId, String taskUid, Long roleEntityId, SearchCriteria searchCriteria, Integer status, Date endDate, String comments, Boolean updateOnlyEmptyComments) Updates the status of a role policyvoid
updateRoleCertificationComments
(Long certificationId, String taskUid, List<Long> roleEntityIds, String comments) updates comments on selected roles.void
updateRoleCertificationComments
(Long certificationId, String taskUid, SearchCriteria criteria, String comments) updates comments on selected roles.void
updateRoleMemberCommentsWithFilter
(Long certificationId, String taskUid, Long roleEntityId, SearchCriteria searchCriteria, String comments) Updates the review comments for a given role membervoid
updateRoleMemberStatusWithFilter
(Long certificationId, String taskUid, Long roleEntityId, SearchCriteria searchCriteria, Integer status, Date endDate, String comments) Updates the status of a role membervoid
updateRolePolicyCommentsWithFilter
(Long certificationId, String taskUid, Long roleEntityId, SearchCriteria searchCriteria, String comments) Updates the certification comments of a role policyvoid
updateRolePolicyStatusWithFilter
(Long certificationId, String taskUid, Long roleEntityId, SearchCriteria searchCriteria, Integer status, Date endDate, String comments) Updates the status of a role policyvoid
updateSelectedEntitlementUserComments
(Long certificationId, String taskUid, Long attributeValueEntityId, Set<Long> entitlementUserAccountEntityIds, String comments) Updates the user account comments for a given entitlement definitionvoid
updateSelectedEntitlementUserComments
(Long certificationId, String taskUid, Long attributeValueEntityId, SearchCriteria searchCriteria, String comments) Updates the user account comments for a given entitlement definitionvoid
updateSelectedRoleMemberComments
(Long certificationId, String taskUid, Long roleEntityId, Set<Long> userEntityIds, String comments) Updates the review comments for given list of member Idsvoid
updateSelectedRoleMemberStatus
(Long certificationId, String taskUid, Long roleEntityId, Set<Long> userEntityIds, Integer status, Date endDate, String comments) Updates the status for given list of members IdsupdateSelectedRoleMemberStatusWithExistingComments
(Long certificationId, String taskUid, Long roleEntityId, Set<Long> userEntityIds, Integer status, Date endDate) Updates the status for given list of members IdsupdateSelectedRoleMemberStatusWithUpdateComments
(Long certificationId, String taskUid, Long roleEntityId, Set<Long> userEntityIds, Integer status, Date endDate, String comments, Boolean updateOnlyEmptyComments) Updates the status for given list of members Idsvoid
updateSelectedRolePolicyComments
(Long certificationId, String taskUid, Long roleEntityId, Set<Long> policyEntityIds, Set<Long> attributeValueEntityIds, String comments) Updates the certification comments of a selected role policiesvoid
updateSelectedRolePolicyStatus
(Long certificationId, String taskUid, Long roleEntityId, Set<Long> policyEntityIds, Set<Long> attributeValueEntityIds, Integer status, Date endDate, String comments) Updates the status of a selected role policiesupdateSelectedRolePolicyStatusWithExistingComments
(Long certificationId, String taskUid, Long roleEntityId, Set<Long> policyEntityIds, Set<Long> attributeValueEntityIds, Integer status, Date endDate) Updates the status of a selected role policiesupdateSelectedRolePolicyStatusWithUpdateComments
(Long certificationId, String taskUid, Long roleEntityId, Set<Long> policyEntityIds, Set<Long> attributeValueEntityIds, Integer status, Date endDate, String comments, Boolean updateOnlyEmptyComments) Updates the status of a selected role policiesvoid
updateUserCertificationComments
(Long certificationId, String taskUid, List<Long> userEntityIds, String comments) updates user comments for a given list of user entity ids.void
updateUserCertificationComments
(Long certificationId, String taskUid, SearchCriteria criteria, String comments) updates user comments which meet a specific filter criteria.void
updateUserEntitlementComments
(Long certId, String taskUid, Long userEntityId, Set<Long> roleEntityIds, Set<Long> accountEntityIds, Set<Long> accountAttributeEntityIds, String comments) Update the user entitlement comments for a user in User Certificationvoid
updateUserEntitlementComments
(Long certId, String taskUid, Long userEntityId, SearchCriteria criteria, String comments) Update all user entitlement comments for a user in User Certification based on search criteria
-
Field Details
-
CSF_OIM_MAP
- See Also:
-
CSF_OIM_BIPKEY
- See Also:
-
-
Method Details
-
findCertifications
List<CertificationInstance> findCertifications(SearchCriteria searchCriteria, Set<String> retAttrs, Map<String, Object> configParams) throws CertificationServiceExceptionThis method finds a list of certifications according to given searchcriteria, set of return attributes and config params- Parameters:
searchCriteria
- - search criteria information indicating which certification objects to retrieve.retAttrs
- - set of attributes to be filled in for each object returned.configParams
- - configParams Parameters to configure ordering and range of results.- Returns:
- list of CertificationInstance(s)
- Throws:
CertificationServiceException
-
countCertifications
This method counts the number of certifications matching the supplied search criteria.- Parameters:
searchCriteria
-- Returns:
- - Number of certifications matching search criteria
-
completeCertification
CertificationInstance completeCertification(Long certificationId, String taskUid, char[] cleartextPassword) throws InvalidPasswordException, NotYetCompletedException, InvalidArgumentException, CertificationIllegalStateException This method completes the certification having the given id.- Parameters:
certificationId
- - certification IdtaskUid
- must be null (method applies only to certification instances)cleartextPassword
- - cleartext oim password- Returns:
- list of CertificationInstance(s)
- Throws:
InvalidPasswordException
- In case a password is required and the caller supplies an invalid oneNotYetCompletedException
- In case certification task has unreviewed line-itemsInvalidArgumentException
- In case the taskUid argument is not null, the certificationId is not valid, or the password is not encrypted properlyCertificationIllegalStateException
- In case the certification is already completed
-
completeCertificationTask
void completeCertificationTask(Long certificationId, String taskUid, char[] cleartextPassword) throws InvalidPasswordException, NotYetCompletedException, InvalidArgumentException, CertificationIllegalStateException, CertificationServiceException completes a certification task.- Parameters:
certificationId
- - Certification IdtaskUid
- - non-null id of the task to be signed-off ( completed )cleartextPassword
- - cleartext password for current logged in user- Throws:
InvalidPasswordException
- In case a password is required and the caller supplies an invalid oneNotYetCompletedException
- In case certification task has unreviewed line-itemsInvalidArgumentException
CertificationIllegalStateException
CertificationServiceException
-
canBeCompleted
Determine if a certification is ready to be completed or a task associated with a certification is ready to be signed off. The task ID may be null.- Parameters:
certificationId
- - required Id of the certificationtaskUid
- - taskUid of the task we're looking for (or null for dashboard)- Returns:
- - true if ready, false if not
- Throws:
CertificationServiceException
-
findCertificationHistoryForRole
List<CertificationHistory> findCertificationHistoryForRole(String roleKey, SearchCriteria searchCriteria) Return list of certification history objects for a given roleKey.- Parameters:
roleKey
- - roleId (roleKey).searchCriteria
- - SearchCrieteria based on from and to date for which history is required.- Returns:
- list of CertificationHistory objects.
-
getCertificationStats
CertificationStats getCertificationStats(Long certId, String taskUid) throws CertificationServiceException Get an abstract CertStats object. Used when only percentComplete is needed.- Parameters:
certId
- - required Id of the certificationtaskUid
- - taskUid of the task we're looking for (or null for dashboard)- Returns:
- a CertificationStats object that is an instance of 1 of the 4 types: User, Role, AppInst, Entitlement
- Throws:
CertificationServiceException
-
loadCertification
Deprecated.use loadCertification(Long certificationId, String taskUid)- Throws:
CertificationServiceException
-
loadCertification
CertificationInstance loadCertification(Long certificationId, String taskUid) throws CertificationServiceException Returns a CertificationInstance object for given certification Id and task Id- Parameters:
certificationId
- - required Id of the certificationtaskUid
- - taskUid of the task we're looking for (or null for dashboard)- Returns:
- a CertificationInstance object for given certification Id and task Id
- Throws:
CertificationServiceException
-
getCertificationConfiguration
IDCConfiguration getCertificationConfiguration(Long certificationId, String taskUid) throws CertificationServiceException Retrieve the configuration set in the certification at instantiation- Parameters:
certificationId
- The certification entity IDtaskUid
- When invoking this method from an inbox (workflow) context, supply the external task ID; otherwise, supplynull
- Returns:
- The configuration set in the certification at instantiation
- Throws:
CertificationServiceException
- In case of server error- See Also:
-
getCertificationGlobalConfiguration
IDCConfiguration getCertificationGlobalConfiguration(Long certificationId, String taskUid) throws CertificationServiceException Retrieve the global certification configuration. Use this method when the current setting of a configuration attribute is needed- Parameters:
certificationId
- The certification entity IDtaskUid
- When invoking this method from an inbox (workflow) context, supply the external task ID; otherwise, supplynull
- Returns:
- The configuration set in the certification at instantiation
- Throws:
CertificationServiceException
- In case of server error- See Also:
-
getListOfUDFAttributes
Returns the UDF details for User and Catalog- Parameters:
certificationId
- - required Id of the certificationtaskUid
- - taskUid of the task we're looking for (or null for dashboard)- Returns:
- a User UDF attributes and Catalog UDF attributes
-
getTaskTitle
Get the title for a task with given identification key/task uid- Parameters:
certificationId
- - the certification Id (for authorization)taskUid
- - the target task ID- Returns:
- title for the task
-
getTaskInfo
CertificationTaskInfo getTaskInfo(Long certificationId, String taskUid) throws CertificationServiceException Return certification task info for the specified task- Parameters:
certificationId
- Certification Id(for authorization)taskUid
- the target task- Returns:
- CertificationTaskInfo
- Throws:
CertificationServiceException
-
getTaskInfoListByCert
List<CertificationTaskInfo> getTaskInfoListByCert(Long certificationId, String taskUid, PaginationContext context, SearchCriteria searchCriteria) throws InvalidArgumentException, CertificationEngineException Return a collection of certification task info for the tasks of the specified certification- Parameters:
certificationId
- Certification IdtaskUid
- must be null (method applies only to certification instances)context
- PaginationContext contains paging informationsearchCriteria
- contains search criteria such as sorting and filter- Returns:
- A list of certification tasks associated with this certificationId
- Throws:
InvalidArgumentException
- in case some argument specifies a non-existant entityCertificationEngineException
- in case of any other error
-
delegateItems
String delegateItems(Long certificationId, String currentTaskUid, Long recipientId, SearchCriteria criteria, String comments) throws CertificationServiceException Returns delegate items- Parameters:
certificationId
- - required Id of the certificationcurrentTaskUid
- - taskUid of the task we're looking for (or null for dashboard)recipientId
- - recipient IDcriteria
- - search criteria indicating which objects to retrieve.comments
- - comments for action- Returns:
- task id of the newly created delegation task, null if no task created
- Throws:
CertificationServiceException
-
delegateItems
String delegateItems(Long certificationId, String taskUid, Long recipientId, List<Long> userEntityIds, List<Long> roleEntityIds, List<Long> appInstanceEntityIds, List<Long> entitlementDefinitionEntityIds, String comments) throws InvalidArgumentException, CertificationIllegalStateException, SelfCertificationException, PrimaryReviewerDelegationException, CertificationEngineException Delegates specified line items to a delegate reviewer during review phase one or two, creating a new certification task for the delegate reviewer. The delegation is performed in the context of the primary reviewer's certification task (inbox), and the delegated items are tagged delegated in that task. Returns null if no task is created. This can happen if all items have already been delegated.- Parameters:
certificationId
- - certification id (required)taskUid
- - id of the current task (required)recipientId
- - id of the new reviewer (required)userEntityIds
- - list of user entityIds to be delegatedroleEntityIds
- - list of role entityIds to be delegatedappInstanceEntityIds
- - list of app entityIds to be delegatedentitlementDefinitionEntityIds
- - list of entitlement idscomments
- - action comments- Returns:
- - task id of the newly created delegation task, null if no task created
- Throws:
InvalidArgumentException
- in case some argument specifies a non-existant entityCertificationIllegalStateException
- in case the certification or certification task are not in valid states or phases for delegationSelfCertificationException
- - in case a user in certification is being delegated to the same userPrimaryReviewerDelegationException
- - when a primary reviewer is picked as a reciepient in delegate operationCertificationEngineException
- in case of any other error
-
unDelegateItems
void unDelegateItems(Long certificationId, String taskUid, List<Long> userEntityIds, List<Long> roleEntityIds, List<Long> appInstanceEntityIds, List<Long> entitlementDefinitionEntityIds, String comments) throws InvalidArgumentException, CertificationIllegalStateException, CertificationEngineException Undelegates the specified set of line items (restores them to the primary reviewer's task) during review phase one or two. The undelegation is performed in the context of the primary reviewer's certification task (inbox).- Parameters:
certificationId
- - certification id (required)taskUid
- - current task Uid (required)userEntityIds
- - user entity ids to be undelegated.roleEntityIds
- - role entity IdsappInstanceEntityIds
- - app instance entity idsentitlementDefinitionEntityIds
- - entitlement entity Idscomments
- - action comments- Throws:
InvalidArgumentException
- in case some argument specifies a non-existant entityCertificationIllegalStateException
- in case the certification or certification task are not in valid states or phases for undelegationCertificationEngineException
- in case of any other error
-
unDelegateItems
void unDelegateItems(Long certificationId, String currentTaskUid, SearchCriteria searchCriteria, String comments) throws InvalidArgumentException, CertificationIllegalStateException, CertificationEngineException Undelegates the specified item (restores them to the primary reviewer's task) during review phase one or two. The undelegation is performed in the context of the primary reviewer's certification task (inbox).- Parameters:
certificationId
- - certification idcurrentTaskUid
- - current task UidsearchCriteria
- - search criteria indicating which objects to retrieve.comments
- - action comments- Throws:
InvalidArgumentException
- in case some argument specifies a non-existant entityCertificationIllegalStateException
- in case the certification or certification task are not in valid states or phases for undelegationCertificationEngineException
- in case of any other error
-
reassignItemsPhase1
IdentityCertification reassignItemsPhase1(Long certificationId, String taskUid, Long recipientId, Set<Long> userEntityIds, Set<Long> roleEntityIds, Set<Long> appInstEntityIds, Set<Long> entDefnEntityIds, String comments) throws InvalidArgumentException, CertificationIllegalStateException, CertificationEngineException, SelfCertificationException Reassign line items to the specified reviewer during phase one, creating a new certification and marking the items in the original certification as reassigned (effectively removing them). The reassignment is performed in the context of the primary reviewer's certification task (inbox).- Parameters:
certificationId
- - certification id (required)taskUid
- - id of the current task (required)recipientId
- - id of the new reviewer (required)userEntityIds
- - list of user entityIds to be reassigned (User Cert)roleEntityIds
- - list of role entityIds to be reassigned (Role Cert)appInstEntityIds
- - list of app entityIds to be reassigned (AppInst Cert)entDefnEntityIds
- - list of entitlement ids (Entitlement Cert)comments
- - action comments- Returns:
- The Certification containing the reassigned items
- Throws:
InvalidArgumentException
- in case some argument specifies a non-existant entityCertificationIllegalStateException
- in case the certification or certification task are not in valid states or phases for undelegationSelfCertificationException
- in cases when user in user certification is being reasssigned to the same userCertificationEngineException
- in case of any other error
-
reassignItemsPhase1
IdentityCertification reassignItemsPhase1(Long certificationId, String currentTaskUid, Long recipientId, SearchCriteria criteria, String comments) throws InvalidArgumentException, CertificationIllegalStateException, CertificationEngineException, SelfCertificationException Reassign line items to the specified reviewer during phase one, creating a new certification and marking the items in the original certification as reassigned (effectively removing them). The reassignment is performed in the context of the primary reviewer's certification task (inbox).- Parameters:
certificationId
- - certification id (required)currentTaskUid
- - id of the current task (required)criteria
- - search criteria of entities to apply torecipientId
- - id of the new reviewer (required)- Throws:
InvalidArgumentException
- in case some argument specifies a non-existant entityCertificationIllegalStateException
- in case the certification or certification task are not in valid states or phases for undelegationSelfCertificationException
- in cases when user in user certification is being reasssigned to the same userCertificationEngineException
- in case of any other error
-
reassignItemsPhase2
String reassignItemsPhase2(Long certificationId, String taskUid, Long recipientId, Set<Long> userEntityIds, Set<Long> roleEntityIds, Set<Long> appInstanceEntityIds, Set<Long> entitlementDefinitionEntityIds, String comments) throws InvalidArgumentException, CertificationIllegalStateException, CertificationEngineException Reassigns line items to the specified reviewer during phase two, creating a certification task for the assignee and removing the line items from the current task. The reassignment is performed in the context of the primary reviewer's certification task (inbox).- Parameters:
certificationId
- - certification idtaskUid
- - id of the current taskrecipientId
- - id of the new revieweruserEntityIds
- - et of user entityIds to be reassignedroleEntityIds
- - set of role entityIds to be reassignedappInstanceEntityIds
- - set of app entityIds to be reassignedentitlementDefinitionEntityIds
- - set of entitlement idscomments
- - action comments- Returns:
- reassignmentTaskUid The task Uid of the reassigned items
- Throws:
InvalidArgumentException
- in case some argument specifies a non-existant entityCertificationIllegalStateException
- in case the certification or certification task are not in valid states or phases for undelegationCertificationEngineException
- in case of any other error
-
reassignItemsPhase2
String reassignItemsPhase2(Long certificationId, String taskUid, Long recipientId, SearchCriteria criteria, String comments) throws InvalidArgumentException, CertificationIllegalStateException, CertificationEngineException Reassigns line items to the specified reviewer during phase two, creating a certification task for the assignee and removing the line items from the current task. The reassignment is performed in the context of the primary reviewer's certification task (inbox).- Parameters:
certificationId
- - certification idtaskUid
- - id of the current taskrecipientId
- - id of the new reviewercriteria
- - SearchCriteriacomments
- - action comments- Returns:
- reassignmentTaskUid The task Uid of the reassigned items
- Throws:
InvalidArgumentException
- in case some argument specifies a non-existant entityCertificationIllegalStateException
- in case the certification or certification task are not in valid states or phases for undelegationCertificationEngineException
- in case of any other error
-
getPhase
Returns the phase for a certification (taskUid==null) or the phase for a task associated with the certification(taskUid!=null).- Parameters:
certificationId
- - Certification IdtaskUid
- - id of the task- Returns:
- one of the following values in CertificationConstants: public static final Integer STATE_PHASE_1 = 11; public static final Integer STATE_PHASE_1_D = 12; public static final Integer STATE_PHASE_1_V = 13; public static final Integer STATE_PHASE_2 = 14; public static final Integer STATE_PHASE_2_D = 15; public static final Integer STATE_PHASE_2_V = 16; public static final Integer STATE_FINAL_REVIEW = 17;
-
getCertificationHistory
List<CertificationHistory> getCertificationHistory(Long certificationId, String taskUid, CertificationConstants.EntityType entityType, Long parentId, Long childId) throws CertificationServiceException Returns Certification history information- Parameters:
certificationId
- - required Id of the certificationtaskUid
- - taskUid of the task we're looking for (or null for dashboard)entityType
- - OIM entityType like User, Role etc for which certification history is retreiveparentId
- - parent ID for entitychildId
- - child ID for entity- Returns:
- list of CertificationHistory objects
- Throws:
CertificationServiceException
-
getAppInstCertificationStats
AppInstCertificationStats getAppInstCertificationStats(Long certId, String taskUid) throws CertificationServiceException Retrieve AppInstCertificationStats for specified certification and task. Task is optional. Use null to get information for entire certification.- Parameters:
certId
- - required Id of the certificationtaskUid
- - taskUid of the task we're looking for (or null for dashboard)- Returns:
- - AppInstCertificationStats object containing statistics for the certificaiton or task associated with the certification.
- Throws:
CertificationServiceException
-
getIDCApplicationInstancesByBatch
List<IDCApplicationInstance> getIDCApplicationInstancesByBatch(Long certificationId, String taskUid, PaginationContext context, SearchCriteria searchCriteria) throws CertificationServiceException Retrieves IDCApplicationInstance objects- Parameters:
certificationId
- - required Id of the certification to be searchedtaskUid
- - taskUid of the task we're looking for (or null for dashboard)context
- - pagination settingssearchCriteria
- - search criteria to find the data by- Returns:
- A list of IDCApplicationInstance objects
- Throws:
CertificationServiceException
-
getIndexForIDCApplicationInstance
long getIndexForIDCApplicationInstance(Long certificationId, String taskUid, long appInstEntityId, PaginationContext context, SearchCriteria searchCriteria) throws CertificationServiceException Find index in list for specified appInstId. Used by UI to step back and forth between app instances in page 1 of an Application Instance certification.- Parameters:
certificationId
- - certification idtaskUid
- - task UidappInstEntityId
- - EntityId of desired app instance (from certd_app_inst.entity_id)context
- - page contextsearchCriteria
- - filter criteria- Returns:
- Index of specified application instance Id in list of all IDCApplicationInstances matching criteria. -1L if not found.
- Throws:
CertificationServiceException
-
getFilteredApplicationInstanceCountByCertification
Long getFilteredApplicationInstanceCountByCertification(Long certificationId, String taskUid, SearchCriteria searchCriteria) throws CertificationServiceException Counts instances of IDCApplicationInstance objects for a given search, ref.getIDCApplicationInstancesByBatch(Long, String, PaginationContext, SearchCriteria)
- Parameters:
certificationId
- - required Id of the certification to be searchedtaskUid
- - taskUid of the task we're looking for (or null for dashboard)searchCriteria
- - search criteria to find the data by- Returns:
- The number of IDCApplicationInstance objects matching
- Throws:
CertificationServiceException
-
loadBatchApplicationInstanceAccounts
List<IDCAccountAttributeWrapper> loadBatchApplicationInstanceAccounts(Long certificationId, String taskUid, Long applicationInstanceEntityId, PaginationContext context, SearchCriteria searchCriteria) throws CertificationServiceException Loads accounts and attribute values for a given certification, application instance and filter- Parameters:
certificationId
- - required Id of the certification to be searchedtaskUid
- - taskUid of the task we're looking for (or null for dashboard)applicationInstanceEntityId
- - EntityId of the application instance we're interested incontext
- - pagination settingssearchCriteria
- - search criteria to find the data by- Returns:
- A list of IDCAccountAttributeWrapper objects
- Throws:
CertificationServiceException
-
getFilteredAccountAttributeValueCountByCertification
Long getFilteredAccountAttributeValueCountByCertification(Long certificationId, String taskUid, Long applicationInstanceEntityId, SearchCriteria searchCriteria) throws CertificationServiceException Counts accounts and attribute values for a given search, ref.loadBatchApplicationInstanceAccounts(Long, String, Long, PaginationContext, SearchCriteria)
- Parameters:
certificationId
- - required Id of the certification to be searchedtaskUid
- - taskUid of the task we're looking for (or null for dashboard)applicationInstanceEntityId
- - EntityId of the application instance we're interested insearchCriteria
- - search criteria to find the data by- Returns:
- The number of accounts matching
- Throws:
CertificationServiceException
-
updateApplicationInstanceCertificationComments
void updateApplicationInstanceCertificationComments(Long certificationId, String taskUid, Set<Long> applicationEntityIds, String comments) throws CertificationServiceException Update the comments for all specified entities- Parameters:
certificationId
- - required Id of the certificationtaskUid
- - taskUid of the task we're looking for (or null for dashboard)applicationEntityIds
- - application instances identified by entity idcomments
- - the comments to set- Throws:
CertificationServiceException
-
updateApplicationInstanceCertificationComments
void updateApplicationInstanceCertificationComments(Long certificationId, String taskUid, SearchCriteria searchCriteria, String comments) throws CertificationServiceException Update the comments for all specified entities- Parameters:
certificationId
- - required Id of the certificationtaskUid
- - taskUid of the task we're looking for (or null for dashboard)searchCriteria
- - search criteria to find the application instances to change bycomments
- - the comments to set- Throws:
CertificationServiceException
-
certifyRemainingApplicationInstanceContent
void certifyRemainingApplicationInstanceContent(Long certificationId, String taskUid, Set<Long> applicationEntityIds, String comments) throws CertificationServiceException Claims application instances and certifies associated content- Parameters:
certificationId
- - required Id of the certificationtaskUid
- - taskUid of the task we're looking for (or null for dashboard)applicationEntityIds
- - application instances identified by entity idcomments
- - the comments to set- Throws:
CertificationServiceException
-
certifyRemainingApplicationInstanceContent
void certifyRemainingApplicationInstanceContent(Long certificationId, String taskUid, SearchCriteria searchCriteria, String comments) throws CertificationServiceException Claims application instances and certifies associated content- Parameters:
certificationId
- - required Id of the certificationtaskUid
- - taskUid of the task we're looking for (or null for dashboard)searchCriteria
- - search criteria to find the application instances to change bycomments
- - the comments to set- Throws:
CertificationServiceException
-
certifyRemainingApplicationInstanceContentWithOptions
void certifyRemainingApplicationInstanceContentWithOptions(Long certificationId, String taskUid, Set<Long> applicationEntityIds, String comments, Boolean updateOnlyEmptyComments) throws CertificationServiceException Claims application instances and certifies associated content- Parameters:
certificationId
- - required Id of the certificationtaskUid
- - taskUid of the task we're looking for (or null for dashboard)applicationEntityIds
- - application instances identified by entity idcomments
- - the comments to set- Throws:
CertificationServiceException
-
certifyRemainingApplicationInstanceContentWithOptions
void certifyRemainingApplicationInstanceContentWithOptions(Long certificationId, String taskUid, SearchCriteria searchCriteria, String comments, Boolean updateOnlyEmptyComments) throws CertificationServiceException Claims application instances and certifies associated content- Parameters:
certificationId
- - required Id of the certificationtaskUid
- - taskUid of the task we're looking for (or null for dashboard)searchCriteria
- - search criteria to find the application instances to change bycomments
- - the comments to set- Throws:
CertificationServiceException
-
certifyApplicationInstances
void certifyApplicationInstances(Long certificationId, String taskUid, Integer status, Set<Long> applicationEntityIds, String comments) throws CertificationServiceException Takes a decision on an application instance in the context of an application instance certification.- Parameters:
certificationId
- - certification idtaskUid
- - taskUid to scope by or nullstatus
- - the status to setapplicationEntityIds
- - the applicaiton instances to work on identified by entity idscomments
- - certification comments- Throws:
CertificationServiceException
-
certifyApplicationInstances
void certifyApplicationInstances(Long certificationId, String taskUid, Integer status, SearchCriteria searchCriteria, String comments) throws CertificationServiceException Takes a decision on an application instance in the context of an application instance certification.- Parameters:
certificationId
- - certification idtaskUid
- - taskUid to scope by or nullstatus
- - the status to setsearchCriteria
- - search criteria to find the application instances to change bycomments
- - certification comments- Throws:
CertificationServiceException
-
certifyApplicationInstanceEntitlements
void certifyApplicationInstanceEntitlements(Long certificationId, String taskUid, Long appInstEntityId, Set<Long> accountEntityIds, Set<Long> entAsgnEntityIds, Integer decision, Date endDate, String comments) throws CertificationServiceException Take a decision action on specified accounts and entitlement assignments in an Application Instance certification. Possible decisions are: Certify, Certify Conditional, Revoke, Abstain- Parameters:
certificationId
- - Id of the certificationtaskUid
- - Uid of the task from which action is initiated, will be null if from dashboardappInstEntityId
- - Entity id of the application instanceaccountEntityIds
- - Set of account entity IdsentAsgnEntityIds
- - Set of entitlement assignment entity Idsdecision
- - Decision: Certify, Certify Conditional, Revoke, AbstainendDate
- - If Certify Conditional this is the expiration datecomments
- - Comments (if any) provided along with the decision- Throws:
CertificationServiceException
-
certifyApplicationInstanceEntitlements
void certifyApplicationInstanceEntitlements(Long certificationId, String taskUid, Long appInstEntityId, SearchCriteria searchCriteria, Integer decision, Date endDate, String comments) throws CertificationServiceException Take a decision action on specified accounts and entitlement assignments in an Application Instance certification. Possible decisions are: Certify, Certify Conditional, Revoke, Abstain- Parameters:
certificationId
- - Id of the certificationtaskUid
- - Uid of the task from which action is initiated, will be null if from dashboardappInstEntityId
- - Entity id of the application instancesearchCriteria
- - search criteria to find the application instances to change bydecision
- - Decision: Certify, Certify Conditional, Revoke, AbstainendDate
- - If Certify Conditional this is the expiration datecomments
- - Comments (if any) provided along with the decision- Throws:
CertificationServiceException
-
certifyApplicationInstanceEntitlementsWithExistingComments
Map<CertificationConstants.EntityType,Set<Long>> certifyApplicationInstanceEntitlementsWithExistingComments(Long certificationId, String taskUid, Long appInstEntityId, Set<Long> accountEntityIds, Set<Long> entAsgnEntityIds, Integer decision, Date endDate) throws CertificationServiceException Take a decision action on specified accounts and entitlement assignments in an Application Instance certification using existing comments. Possible decisions are: Certify, Certify Conditional, Revoke, Abstain- Parameters:
certificationId
- - Id of the certificationtaskUid
- - Uid of the task from which action is initiated, will be null if from dashboardappInstEntityId
- - Entity id of the application instanceaccountEntityIds
- - Set of account entity IdsentAsgnEntityIds
- - Set of entitlement assignment entity Idsdecision
- - Decision: Certify, Certify Conditional, Revoke, AbstainendDate
- - If Certify Conditional this is the expiration date- Returns:
- The subset of line items for which certify operation failed with existing comments
- Throws:
CertificationServiceException
-
certifyApplicationInstanceEntitlementsWithExistingComments
Map<CertificationConstants.EntityType,Set<Long>> certifyApplicationInstanceEntitlementsWithExistingComments(Long certificationId, String taskUid, Long appInstEntityId, SearchCriteria searchCriteria, Integer decision, Date endDate) throws CertificationServiceException Take a decision action on specified accounts and entitlement assignments in an Application Instance certification using existing comments. Possible decisions are: Certify, Certify Conditional, Revoke, Abstain- Parameters:
certificationId
- - Id of the certificationtaskUid
- - Uid of the task from which action is initiated, will be null if from dashboardappInstEntityId
- - Entity id of the application instancesearchCriteria
- - search criteria to find the application instances to change bydecision
- - Decision: Certify, Certify Conditional, Revoke, AbstainendDate
- - If Certify Conditional this is the expiration date- Returns:
- The subset of line items for which certify operation failed with existing comments
- Throws:
CertificationServiceException
-
certifyApplicationInstanceEntitlementsWithUpdateComments
Map<CertificationConstants.EntityType,Set<Long>> certifyApplicationInstanceEntitlementsWithUpdateComments(Long certificationId, String taskUid, Long appInstEntityId, Set<Long> accountEntityIds, Set<Long> entAsgnEntityIds, Integer decision, Date endDate, String comments, Boolean updateOnlyEmptyComments) throws CertificationServiceException Take a decision action on specified accounts and entitlement assignments in an Application Instance certification using provided comment if existing comment is empty. Possible decisions are: Certify, Certify Conditional, Revoke, Abstain- Parameters:
certificationId
- - Id of the certificationtaskUid
- - Uid of the task from which action is initiated, will be null if from dashboardappInstEntityId
- - Entity id of the application instanceaccountEntityIds
- - Set of account entity IdsentAsgnEntityIds
- - Set of entitlement assignment entity Idsdecision
- - Decision: Certify, Certify Conditional, Revoke, AbstainendDate
- - If Certify Conditional this is the expiration datecomments
- - Comments (if any) provided along with the decisionupdateOnlyEmptyComments
- - Use comment if existing comment is empty or replace all- Returns:
- The subset of line items for which certify operation failed
- Throws:
CertificationServiceException
-
certifyApplicationInstanceEntitlementsWithUpdateComments
Map<CertificationConstants.EntityType,Set<Long>> certifyApplicationInstanceEntitlementsWithUpdateComments(Long certificationId, String taskUid, Long appInstEntityId, SearchCriteria searchCriteria, Integer decision, Date endDate, String comments, Boolean updateOnlyEmptyComments) throws CertificationServiceException Take a decision action on specified accounts and entitlement assignments in an Application Instance certification using provided comment if existing comment is empty. Possible decisions are: Certify, Certify Conditional, Revoke, Abstain- Parameters:
certificationId
- - Id of the certificationtaskUid
- - Uid of the task from which action is initiated, will be null if from dashboardappInstEntityId
- - Entity id of the application instancesearchCriteria
- - search criteria to find the application instances to change bydecision
- - Decision: Certify, Certify Conditional, Revoke, AbstainendDate
- - If Certify Conditional this is the expiration datecomments
- - Comments (if any) provided along with the decisionupdateOnlyEmptyComments
- - Use comment if existing comment is empty or replace all- Returns:
- The subset of line items for which certify operation failed
- Throws:
CertificationServiceException
-
updateApplicationInstanceEntitlementComments
void updateApplicationInstanceEntitlementComments(Long certificationId, String taskUid, Long appInstEntityId, Set<Long> accountEntityIds, Set<Long> entAsgnEntityIds, String comments) throws CertificationServiceException Update comments associated with a decision action on specified accounts and entitlement assignments in an Application Instance certification.- Parameters:
certificationId
- - Id of the certificationtaskUid
- - Uid of the task from which action is initiated, will be null if from dashboardappInstEntityId
- - Entity Id of the application instanceaccountEntityIds
- - Set of account entity IdsentAsgnEntityIds
- - Set of entitlement assignment entity Idscomments
- - Comments associated with decision action- Throws:
CertificationServiceException
-
updateApplicationInstanceEntitlementComments
void updateApplicationInstanceEntitlementComments(Long certificationId, String taskUid, Long appInstEntityId, SearchCriteria searchCriteria, String comments) throws CertificationServiceException Update comments associated with a decision action on specified accounts and entitlement assignments in an Application Instance certification.- Parameters:
certificationId
- - Id of the certificationtaskUid
- - Uid of the task from which action is initiated, will be null if from dashboardappInstEntityId
- - Entity Id of the application instancesearchCriteria
- - search criteria to find the application instances to change bycomments
- - Comments associated with decision action- Throws:
CertificationServiceException
-
getRoleCertificationStats
RoleCertificationStats getRoleCertificationStats(Long certId, String taskUid) throws CertificationServiceException Retrieve RoleCertificationStats for specified certification and task. Task is optional. Use null to get information for entire certification.- Parameters:
certId
- - Certification IDtaskUid
- - Task UID- Returns:
- - RoleCertificationStats object containing statistics for the certificaiton or task associated with the certification.
- Throws:
CertificationServiceException
-
getRoleMembersByBatch
List<IDCRoleUser> getRoleMembersByBatch(Long certificationId, String taskUid, Long roleEntityId, PaginationContext context, SearchCriteria searchCriteria) throws CertificationServiceException Returns the list of role members for a given role in given certification or task- Parameters:
certificationId
- - Certification IdtaskUid
- - Task UidroleEntityId
- - Role Entity Idcontext
- - Pagination ContextsearchCriteria
- - Filter parameters- Returns:
- List of role members
- Throws:
CertificationServiceException
-
getRolePolicyEntitlementsByBatch
List<IDCPolicyAttributeWrapper> getRolePolicyEntitlementsByBatch(Long certificationId, String taskUid, Long roleEntityId, PaginationContext context, SearchCriteria searchCriteria) throws CertificationServiceException Returns the combined list of policies and entitlements for a given role in given certificaiton or task- Parameters:
certificationId
- - Certification IdtaskUid
- - Task UidroleEntityId
- - Role Entity Idcontext
- - Pagination ContextsearchCriteria
- - Filter parameters- Returns:
- Combined list of policies and entitlements
- Throws:
CertificationServiceException
-
getRoleMemberCount
Long getRoleMemberCount(Long certificationId, String taskUid, Long roleEntityId, SearchCriteria searchCriteria) throws CertificationServiceException Returns the count for role members in a role included in given certification or task- Parameters:
certificationId
- - Certification IdtaskUid
- - Task UidroleEntityId
- - Role Entity IdsearchCriteria
- - Filter parameters- Returns:
- No of members
- Throws:
CertificationServiceException
-
getRolePolicyEntitlementCount
Long getRolePolicyEntitlementCount(Long certificationId, String taskUid, Long roleEntityId, SearchCriteria searchCriteria) throws CertificationServiceException Returns the count for policies and entitlements in a role included in given certification or task- Parameters:
certificationId
- - Certification IdtaskUid
- - Task UidroleEntityId
- - Role Entity IdsearchCriteria
- - Filter parameters- Returns:
- No of combined policies and entitlements
- Throws:
CertificationServiceException
-
updateRoleMemberStatusWithFilter
void updateRoleMemberStatusWithFilter(Long certificationId, String taskUid, Long roleEntityId, SearchCriteria searchCriteria, Integer status, Date endDate, String comments) throws CertificationServiceException Updates the status of a role member- Parameters:
certificationId
- - Certification IdtaskUid
- - Task UidroleEntityId
- - Role Entity IdsearchCriteria
- - Filter parametersstatus
- - New statusendDate
- - Status end date if certifying conditionallycomments
- - Comments from reviewer- Throws:
CertificationServiceException
-
updateRoleMemberCommentsWithFilter
void updateRoleMemberCommentsWithFilter(Long certificationId, String taskUid, Long roleEntityId, SearchCriteria searchCriteria, String comments) throws CertificationServiceException Updates the review comments for a given role member- Parameters:
certificationId
- - Certification IdtaskUid
- - Task UidroleEntityId
- - Role Entity IdsearchCriteria
- - Filter parameterscomments
- - Comments from reviewer- Throws:
CertificationServiceException
-
updateSelectedRoleMemberStatus
void updateSelectedRoleMemberStatus(Long certificationId, String taskUid, Long roleEntityId, Set<Long> userEntityIds, Integer status, Date endDate, String comments) throws CertificationServiceException Updates the status for given list of members Ids- Parameters:
certificationId
- - Certification IdtaskUid
- - Task UidroleEntityId
- - Role Entity IduserEntityIds
- - List of member entity Idsstatus
- - New statusendDate
- - Status end date if certifying conditionallycomments
- - Comments from reviewer- Throws:
CertificationServiceException
-
updateSelectedRoleMemberComments
void updateSelectedRoleMemberComments(Long certificationId, String taskUid, Long roleEntityId, Set<Long> userEntityIds, String comments) throws CertificationServiceException Updates the review comments for given list of member Ids- Parameters:
certificationId
- - Certification IdtaskUid
- - Task UidroleEntityId
- - Role Entity IduserEntityIds
- - List of member entity Idscomments
- - Comments from reviewer- Throws:
CertificationServiceException
-
updateSelectedRoleMemberStatusWithExistingComments
Map<CertificationConstants.EntityType,Set<Long>> updateSelectedRoleMemberStatusWithExistingComments(Long certificationId, String taskUid, Long roleEntityId, Set<Long> userEntityIds, Integer status, Date endDate) throws CertificationServiceException Updates the status for given list of members Ids- Parameters:
certificationId
- - Certification IdtaskUid
- - Task UidroleEntityId
- - Role Entity IduserEntityIds
- - List of member entity Idsstatus
- - New statusendDate
- - Status end date if certifying conditionally- Returns:
- The subset of line items for which certify operation failed.
- Throws:
CertificationServiceException
-
updateSelectedRoleMemberStatusWithUpdateComments
Map<CertificationConstants.EntityType,Set<Long>> updateSelectedRoleMemberStatusWithUpdateComments(Long certificationId, String taskUid, Long roleEntityId, Set<Long> userEntityIds, Integer status, Date endDate, String comments, Boolean updateOnlyEmptyComments) throws CertificationServiceException Updates the status for given list of members Ids- Parameters:
certificationId
- - Certification IdtaskUid
- - Task UidroleEntityId
- - Role Entity IduserEntityIds
- - List of member entity Idsstatus
- - New statusendDate
- - Status end date if certifying conditionallycomments
- - Comments from reviewerupdateOnlyEmptyComments
- - Use comment if existing comment is empty or replace all- Returns:
- The subset of line items for which certify operation failed.
- Throws:
CertificationServiceException
-
updateFilteredRoleMemberStatusWithExistingComments
Map<CertificationConstants.EntityType,Set<Long>> updateFilteredRoleMemberStatusWithExistingComments(Long certificationId, String taskUid, Long roleEntityId, SearchCriteria searchCriteria, Integer status, Date endDate) throws CertificationServiceException Updates the status of a role member- Parameters:
certificationId
- - Certification IdtaskUid
- - Task UidroleEntityId
- - Role Entity IdsearchCriteria
- - Filter parametersstatus
- - New statusendDate
- - Status end date if certifying conditionally- Returns:
- The subset of line items for which certify operation failed.
- Throws:
CertificationServiceException
-
updateFilteredRoleMemberStatusWithUpdateComments
Map<CertificationConstants.EntityType,Set<Long>> updateFilteredRoleMemberStatusWithUpdateComments(Long certificationId, String taskUid, Long roleEntityId, SearchCriteria searchCriteria, Integer status, Date endDate, String comments, Boolean updateOnlyEmptyComments) throws CertificationServiceException Updates the status of a role member- Parameters:
certificationId
- - Certification IdtaskUid
- - Task UidroleEntityId
- - Role Entity IdsearchCriteria
- - Filter parametersstatus
- - New statusendDate
- - Status end date if certifying conditionallycomments
- - Comments from reviewerupdateOnlyEmptyComments
- - Use comment if existing comment is empty or replace all- Returns:
- The subset of line items for which certify operation failed
- Throws:
CertificationServiceException
-
updateSelectedRolePolicyStatusWithExistingComments
Map<CertificationConstants.EntityType,Set<Long>> updateSelectedRolePolicyStatusWithExistingComments(Long certificationId, String taskUid, Long roleEntityId, Set<Long> policyEntityIds, Set<Long> attributeValueEntityIds, Integer status, Date endDate) throws CertificationServiceException Updates the status of a selected role policies- Parameters:
certificationId
- - Certification IdtaskUid
- - Task UidroleEntityId
- - Role Entity IdpolicyEntityIds
- - Policy entity IdsattributeValueEntityIds
- - Policy attribute value entity Idsstatus
- - New statusendDate
- - Status end date if certifying conditionally- Returns:
- The subset of line items for which certify operation failed
- Throws:
CertificationServiceException
-
updateSelectedRolePolicyStatusWithUpdateComments
Map<CertificationConstants.EntityType,Set<Long>> updateSelectedRolePolicyStatusWithUpdateComments(Long certificationId, String taskUid, Long roleEntityId, Set<Long> policyEntityIds, Set<Long> attributeValueEntityIds, Integer status, Date endDate, String comments, Boolean updateOnlyEmptyComments) throws CertificationServiceException Updates the status of a selected role policies- Parameters:
certificationId
- - Certification IdtaskUid
- - Task UidroleEntityId
- - Role Entity IdpolicyEntityIds
- - Policy entity IdsattributeValueEntityIds
- - Policy attribute value entity Idsstatus
- - New statusendDate
- - Status end date if certifying conditionallycomments
- - Comments from reviewerupdateOnlyEmptyComments
- - Use comment if existing comment is empty or replace all- Returns:
- The subset of line items for which certify operation failed
- Throws:
CertificationServiceException
-
updateFilteredRolePolicyStatusWithExistingComments
Map<CertificationConstants.EntityType,Set<Long>> updateFilteredRolePolicyStatusWithExistingComments(Long certificationId, String taskUid, Long roleEntityId, SearchCriteria searchCriteria, Integer status, Date endDate) throws CertificationServiceException Updates the status of a role policy- Parameters:
certificationId
- - Certification IdtaskUid
- - Task UidroleEntityId
- - Role Entity IdsearchCriteria
- - Filter parametersstatus
- - New statusendDate
- - Status end date if certifying conditionally- Returns:
- The subset of line items for which certify operation failed
- Throws:
CertificationServiceException
-
updateFilteredRolePolicyStatusWithUpdateComments
Map<CertificationConstants.EntityType,Set<Long>> updateFilteredRolePolicyStatusWithUpdateComments(Long certificationId, String taskUid, Long roleEntityId, SearchCriteria searchCriteria, Integer status, Date endDate, String comments, Boolean updateOnlyEmptyComments) throws CertificationServiceException Updates the status of a role policy- Parameters:
certificationId
- - Certification IdtaskUid
- - Task UidroleEntityId
- - Role Entity IdsearchCriteria
- - Filter parametersstatus
- - New statusendDate
- - Status end date if certifying conditionallycomments
- - Comments from reviewerupdateOnlyEmptyComments
- - Use comment if existing comment is empty or replace all- Returns:
- The subset of line items for which certify operation failed
- Throws:
CertificationServiceException
-
updateRolePolicyStatusWithFilter
void updateRolePolicyStatusWithFilter(Long certificationId, String taskUid, Long roleEntityId, SearchCriteria searchCriteria, Integer status, Date endDate, String comments) throws CertificationServiceException Updates the status of a role policy- Parameters:
certificationId
- - Certification IdtaskUid
- - Task UidroleEntityId
- - Role Entity IdsearchCriteria
- - Filter parametersstatus
- - New statusendDate
- - Status end date if certifying conditionallycomments
- - Comments from reviewer- Throws:
CertificationServiceException
-
updateRolePolicyCommentsWithFilter
void updateRolePolicyCommentsWithFilter(Long certificationId, String taskUid, Long roleEntityId, SearchCriteria searchCriteria, String comments) throws CertificationServiceException Updates the certification comments of a role policy- Parameters:
certificationId
- - Certification IdtaskUid
- - Task UidroleEntityId
- - Role Entity IdsearchCriteria
- - Filter parameterscomments
- - New status- Throws:
CertificationServiceException
-
updateSelectedRolePolicyStatus
void updateSelectedRolePolicyStatus(Long certificationId, String taskUid, Long roleEntityId, Set<Long> policyEntityIds, Set<Long> attributeValueEntityIds, Integer status, Date endDate, String comments) throws CertificationServiceException Updates the status of a selected role policies- Parameters:
certificationId
- - Certification IdtaskUid
- - Task UidroleEntityId
- - Role Entity IdpolicyEntityIds
- - Policy entity IdsattributeValueEntityIds
- - Policy attribute value entity Idsstatus
- - New statusendDate
- - Status end date if certifying conditionallycomments
- - Comments from reviewer- Throws:
CertificationServiceException
-
updateSelectedRolePolicyComments
void updateSelectedRolePolicyComments(Long certificationId, String taskUid, Long roleEntityId, Set<Long> policyEntityIds, Set<Long> attributeValueEntityIds, String comments) throws CertificationServiceException Updates the certification comments of a selected role policies- Parameters:
certificationId
- - Certification IdtaskUid
- - Task UidroleEntityId
- - Role Entity IdpolicyEntityIds
- - Policy IdsattributeValueEntityIds
- - Policy attribute value entity Idscomments
- - Comments from reviewer- Throws:
CertificationServiceException
-
getIndexForIDCRole
long getIndexForIDCRole(Long certificationId, String taskUid, long roleEntityId, PaginationContext context, SearchCriteria searchCriteria) throws CertificationServiceException Find index in list for specified roleId. Used by UI to step back and forth between roles in page 1 of a role certification.- Parameters:
certificationId
- - certification idtaskUid
- - task UidroleEntityId
- - EntityId of desired role (from certd_role.entity_id)context
- - page contextsearchCriteria
- - filter criteria- Returns:
- Index of specified role Id in list of all IDCRoles matching criteria. -1L if not found.
- Throws:
CertificationServiceException
-
getIDCRolesByBatch
List<IDCRole> getIDCRolesByBatch(Long certificationId, String taskUid, PaginationContext context, SearchCriteria criteria) throws CertificationServiceException fetches a set of roles in a role certification.- Parameters:
certificationId
- - id of certificationtaskUid
- - uid of the task, can be null if called from Dashboard uicontext
-criteria
- - search criteria- Returns:
- list of IDCRole objects
- Throws:
CertificationServiceException
-
getFilteredRoleCountByCertification
Long getFilteredRoleCountByCertification(Long certificationId, String taskUid, SearchCriteria criteria) returns filtered role count in a role certification within a certification task.- Parameters:
certificationId
- - certification idtaskUid
- - uid of the current task, can be nullcriteria
- - filter parameters if any- Returns:
- count of roles in a given task
-
certifyRoles
void certifyRoles(Long certificationId, String taskUid, List<Long> roleEntityIds, Integer certified, String comments) throws CertificationServiceException Allows claim, revoke and abstain actions on roles within a given task. Claim action implies that the role belongs to the reviewer and it will not certify any of the role contents. Revoke and Abstain actions affect the role contents.- Parameters:
certificationId
- - certification idtaskUid
- - task uid, can be nullroleEntityIds
- - list of role entity idscertified
- - reviewer decisioncomments
- - action comments- Throws:
CertificationServiceException
-
certifyRoles
void certifyRoles(Long certificationId, String taskUid, SearchCriteria criteria, Integer certified, String comments) throws CertificationServiceException Allows claim, revoke and abstain actions on roles within a given task with a set of filters. Claim action implies that the role belongs to the reviewer and it will not certify any of the role contents. Revoke and Abstain actions affect the role contents.- Parameters:
certificationId
- - certification idtaskUid
- - task uid, can be nullcriteria
- - search criteriacertified
- - reviewer decisioncomments
- - action comments- Throws:
CertificationServiceException
-
certifyRemainingRoleContent
void certifyRemainingRoleContent(Long certificationId, String taskUid, List<Long> roleEntityIds, String comments) throws CertificationServiceException certifies remaining role content in a given task.- Parameters:
certificationId
- - certification idtaskUid
- - task uid, can be nullroleEntityIds
- - list of role entity idscomments
- - action comments- Throws:
CertificationServiceException
-
certifyRemainingRoleContent
void certifyRemainingRoleContent(Long certificationId, String taskUid, SearchCriteria criteria, String comments) throws CertificationServiceException certifies remaining role content in a given task.- Parameters:
certificationId
- - certification idtaskUid
- - task uid, can be nullcriteria
- - search criteriacomments
- - action comments- Throws:
CertificationServiceException
-
certifyRemainingRoleContentWithOptions
void certifyRemainingRoleContentWithOptions(Long certificationId, String taskUid, List<Long> roleEntityIds, String comments, Boolean updateOnlyEmptyComments) throws CertificationServiceException certifies remaining role content in a given task.- Parameters:
certificationId
- - certification idtaskUid
- - task uid, can be nullroleEntityIds
- - list of role entity idscomments
- - action comments- Throws:
CertificationServiceException
-
certifyRemainingRoleContentWithOptions
void certifyRemainingRoleContentWithOptions(Long certificationId, String taskUid, SearchCriteria criteria, String comments, Boolean updateOnlyEmptyComments) throws CertificationServiceException certifies remaining role content in a given task.- Parameters:
certificationId
- - certification idtaskUid
- - task uid, can be nullcriteria
- - search criteriacomments
- - action comments- Throws:
CertificationServiceException
-
updateRoleCertificationComments
void updateRoleCertificationComments(Long certificationId, String taskUid, List<Long> roleEntityIds, String comments) throws CertificationServiceException updates comments on selected roles.- Parameters:
certificationId
- - certification idtaskUid
- - task uid of current task, can be nullroleEntityIds
- - list of role entity idscomments
- - comments to be set- Throws:
CertificationServiceException
-
updateRoleCertificationComments
void updateRoleCertificationComments(Long certificationId, String taskUid, SearchCriteria criteria, String comments) throws CertificationServiceException updates comments on selected roles.- Parameters:
certificationId
- - certification idtaskUid
- - task uid of current task, can be nullcriteria
- - search criteriacomments
- - comments to be set- Throws:
CertificationServiceException
-
getUserCertificationStats
UserCertificationStats getUserCertificationStats(Long certId, String taskUid) throws CertificationServiceException Retrieve UserCertificationStats for specified certification and task. Task is optional. Use null to get information for entire certification.- Parameters:
certId
- - Certification IDtaskUid
- - Task UID- Returns:
- - UserCertificationStats object containing statistics for the certificaiton or task associated with the certification.
- Throws:
CertificationServiceException
-
getUserCertPhase2Progress
double getUserCertPhase2Progress(Long certId, String taskUid, String entityType, long lineItemId) throws CertificationServiceException Retrieve progress (percent complete) for User cert virtual (aka rotated) line items on phase 2 page 1 for specified cert id, task uid and line item id. Result is rounded to the nearest integer.- Parameters:
certId
- required Id of the certificationtaskUid
- taskUid of the task we're looking for (or null for dashboard)entityType
- - Type of virtual line item: Role, Entitlement, ApplicationInstancelineItemId
- - Id of virtual line item (roleId, appInstId or entDefnId)- Returns:
- Percent complete for virtual line item rounded to the nearest integer.
- Throws:
CertificationServiceException
-
getUserEntitlementCount
Long getUserEntitlementCount(Long certificationId, String taskUid, Long userId, Map<String, Object> filters) throws CertificationServiceExceptionReturns the number of entitlements matching the filters for a given user in a certification- Parameters:
certificationId
- - Certification IdtaskUid
- - Task UIDuserId
- - User Idfilters
- - Filters- Returns:
- Number of entitlements matching the filters
- Throws:
CertificationServiceException
-
getUserEntitlementCount
Long getUserEntitlementCount(Long certificationId, String taskUid, Long userId, SearchCriteria searchCriteria) throws CertificationServiceException Returns the number of entitlements matching the filters for a given user in a certification- Parameters:
certificationId
- - Certification IdtaskUid
- - Task UIDuserId
- - User IdsearchCriteria
- - Filters- Returns:
- - Number of entitlements matching the filters
- Throws:
CertificationServiceException
-
loadBatchUserEntitlementForXls
List<IDCUserAccountAttributeAndRoleWrapper> loadBatchUserEntitlementForXls(Long certificationId, String taskUid) throws CertificationServiceException Get the entitlements of a user by batch for XLS- Parameters:
certificationId
- - Certification IdtaskUid
- - Task UID- Returns:
- List of wrappers for user entitlements
- Throws:
CertificationServiceException
-
loadBatchUserEntitlements
List<IDCAccountAttributeAndRoleWrapper> loadBatchUserEntitlements(Long certificationId, String taskUid, Long userId, PaginationContext context, SearchCriteria searchCriteria) throws CertificationServiceException Get the entitlements of a user by batch- Parameters:
certificationId
- - Certification IdtaskUid
- - Task UIDuserId
- - User Idcontext
- - Pagination ContextsearchCriteria
- - Filters- Returns:
- List of wrappers for user entitlements
- Throws:
CertificationServiceException
-
loadBatchUserEntitlements
List<IDCAccountAttributeAndRoleWrapper> loadBatchUserEntitlements(Long certificationId, String taskUid, Long userId, PaginationContext context, Map<String, Object> params) throws CertificationServiceExceptionGet the entitlements of a user by batch- Parameters:
certificationId
- - Certification IdtaskUid
- - Task UIDuserId
- - User Idcontext
- - Pagination Contextparams
- - Filters- Returns:
- List of wrappers for user entitlements
- Throws:
CertificationServiceException
-
getUserRiskSummary
-
getUserCertPh2Pg1ItemList
List<CatalogItemWrapper> getUserCertPh2Pg1ItemList(Long certificationId, String taskUid, PaginationContext context, SearchCriteria criteria) throws CertificationServiceException Returns the List of CatalogItemWrapper representing the rotated view in Phase 2 of User Certification- Parameters:
certificationId
- - Certification IdtaskUid
- - Task Uidcontext
- - Pagination Contextcriteria
- - Filter parameters- Returns:
- List of CatalogItemWrapper
- Throws:
CertificationServiceException
-
getUserCertPh2Pg1ItemCount
Long getUserCertPh2Pg1ItemCount(Long certificationId, String taskUid, SearchCriteria criteria) throws CertificationServiceException Returns the count for List of CatalogItemWrapper representing the rotated view in Phase 2 of User Certification- Parameters:
certificationId
- - Certification IdtaskUid
- - Task Uidcriteria
- - Filter parameters- Returns:
- List of CatalogItemWrapper
- Throws:
CertificationServiceException
-
certifyUserCertPh2Pg1Items
void certifyUserCertPh2Pg1Items(Long certificationId, String taskUid, Set<Long> roleIds, Set<Long> appInstanceIds, Set<Long> entitlementDefinitionIds, Integer certified, Date statusEndDate, String comments) throws CertificationServiceException Certify the items on Page 1 in Phase 2 of User Certification- Parameters:
certificationId
- - Certification IdtaskUid
- - Task UidroleIds
- - Role entity IdsappInstanceIds
- - App Instance IdsentitlementDefinitionIds
- - Entitlement Definition Idscertified
- - StatusstatusEndDate
- - End date for conditional certificationcomments
- - Comments be reviewer- Throws:
CertificationServiceException
-
certifyUserCertPh2Pg1Items
void certifyUserCertPh2Pg1Items(Long certificationId, String taskUid, SearchCriteria criteria, Integer certified, Date statusEndDate, String comments) throws CertificationServiceException Certify the items on Page 1 in Phase 2 of User Certification by search criteria- Parameters:
certificationId
- - Certification IdtaskUid
- - Task Uidcriteria
- - Search Criteriacertified
- - StatusstatusEndDate
- - End date for conditional certificationcomments
- - Comments by reviewer- Throws:
CertificationServiceException
-
certifyRemainingUserCertPh2Pg1ItemContent
void certifyRemainingUserCertPh2Pg1ItemContent(Long certificationId, String taskUid, Set<Long> roleIds, Set<Long> appInstanceIds, Set<Long> entitlementDefinitionIds, Integer certified, Date statusEndDate, String comments) throws CertificationServiceException Certify remaining content(non-certified) for items on Page 1 in Phase 2 of User Certification- Parameters:
certificationId
- - Certification IdtaskUid
- - Task UidroleIds
- - Role entity IdsappInstanceIds
- - App Instance IdsentitlementDefinitionIds
- - Entitlement Definition Idscertified
- - StatusstatusEndDate
- - End date for conditional certificationcomments
- - Comments by reviewer- Throws:
CertificationServiceException
-
certifyRemainingUserCertPh2Pg1ItemContent
void certifyRemainingUserCertPh2Pg1ItemContent(Long certificationId, String taskUid, SearchCriteria criteria, Integer certified, Date statusEndDate, String comments) throws CertificationServiceException Certify remaining content(non-certified) for items on Page 1 in Phase 2 of User Certification- Parameters:
certificationId
- - Certification IdtaskUid
- - Task Uidcriteria
- - Search Criteriacertified
- - StatusstatusEndDate
- - End date for conditional certificationcomments
- - Comments by reviewer- Throws:
CertificationServiceException
-
certifyRemainingUserCertPh2Pg1ItemContentWithOptions
void certifyRemainingUserCertPh2Pg1ItemContentWithOptions(Long certificationId, String taskUid, Set<Long> roleIds, Set<Long> appInstanceIds, Set<Long> entitlementDefinitionIds, Integer certified, Date statusEndDate, String comments, Boolean updateOnlyEmptyComments) throws CertificationServiceException Certify remaining content(non-certified) for items on Page 1 in Phase 2 of User Certification- Parameters:
certificationId
- - Certification IdtaskUid
- - Task UidroleIds
- - Role entity IdsappInstanceIds
- - App Instance IdsentitlementDefinitionIds
- - Entitlement Definition Idscertified
- - StatusstatusEndDate
- - End date for conditional certificationcomments
- - Comments by reviewer- Throws:
CertificationServiceException
-
certifyRemainingUserCertPh2Pg1ItemContentWithOptions
void certifyRemainingUserCertPh2Pg1ItemContentWithOptions(Long certificationId, String taskUid, SearchCriteria criteria, Integer certified, Date statusEndDate, String comments, Boolean updateOnlyEmptyComments) throws CertificationServiceException Certify remaining content(non-certified) for items on Page 1 in Phase 2 of User Certification- Parameters:
certificationId
- - Certification IdtaskUid
- - Task Uidcriteria
- - Search Criteriacertified
- - StatusstatusEndDate
- - End date for conditional certificationcomments
- - Comments by reviewer- Throws:
CertificationServiceException
-
getUserCertPh2Pg2UserItemList
List<IDCRoleUser> getUserCertPh2Pg2UserItemList(Long certificationId, String taskUid, Long roleId, PaginationContext context, SearchCriteria criteria) throws CertificationServiceException Return a list of IDC user members corresponding to the specified role id, certification id and task uid. The list of IDC users is filtered and sorted using the specified search criteria and pagination context. This method is part of TPAD rotated view phase 2 detail (page 2) processing.- Parameters:
certificationId
- - required Id of the certificationtaskUid
- - taskUid of the task we're looking for (or null for dashboard)roleId
- - role entity Idscontext
- - pagination contextcriteria
- - search criteria indicating which objects to retrieve.- Returns:
- List of IDC users.
- Throws:
CertificationServiceException
-
getUserCertPh2Pg2UserItemCount
Long getUserCertPh2Pg2UserItemCount(Long certificationId, String taskUid, Long roleId, SearchCriteria criteria) throws CertificationServiceException Return a count of IDC user members corresponding to the specified role id, certification id and task uid. The list of IDC users is filtered and sorted using the specified search criteria and pagination context. This method is part of TPAD rotated view phase 2 detail (page 2) processing.- Parameters:
certificationId
- - required Id of the certificationtaskUid
- - taskUid of the task we're looking for (or null for dashboard)roleId
- - role entity Idscriteria
- - search criteria indicating which objects to retrieve.- Returns:
- Count of IDC users.
- Throws:
CertificationServiceException
-
getUserCertPh2Pg2AppInstanceAccountItemList
List<IDCAccount> getUserCertPh2Pg2AppInstanceAccountItemList(Long certificationId, String taskUid, Long appInstanceId, PaginationContext context, SearchCriteria criteria) throws CertificationServiceException Return a List of IDC accounts corresponding to the specified application instance id, certification id and task uid. The list of IDC accounts is filtered and sorted using the specified search criteria and pagination context. This method is part of TPAD rotated view phase 2 detail (page 2) processing.- Parameters:
certificationId
- - required Id of the certificationtaskUid
- - taskUid of the task we're looking for (or null for dashboard)appInstanceId
- - application instance Idcontext
- - pagination contextcriteria
- - search criteria indicating which objects to retrieve.- Returns:
- List of IDC accounts.
- Throws:
CertificationServiceException
-
getUserCertPh2Pg2AppInstanceAccountItemCount
Long getUserCertPh2Pg2AppInstanceAccountItemCount(Long certificationId, String taskUid, Long appInstanceId, SearchCriteria criteria) throws CertificationServiceException Return a count of IDC accounts corresponding to the specified application instance id, certification id and task uid. The list of IDC accounts is filtered and sorted using the specified search criteria and pagination context. This method is part of TPAD rotated view phase 2 detail (page 2) processing.- Parameters:
certificationId
- - required Id of the certificationtaskUid
- - taskUid of the task we're looking for (or null for dashboard)appInstanceId
- - application instance Idcriteria
- - search criteria indicating which objects to retrieve.- Returns:
- Count of IDC accounts.
- Throws:
CertificationServiceException
-
getUserCertPh2Pg2EntDefinitionEntAssignItemList
List<IDCEndPointUser> getUserCertPh2Pg2EntDefinitionEntAssignItemList(Long certificationId, String taskUid, Long entDefinitionId, PaginationContext context, SearchCriteria criteria) throws CertificationServiceException Return a List of IDC End Point Users corresponding to the specified entitlement definition id, certification id and task uid. The list of IDC accounts is filtered and sorted using the specified search criteria and pagination context. This method is part of TPAD rotated view phase 2 detail (page 2) processing.- Parameters:
certificationId
- - required Id of the certificationtaskUid
- - taskUid of the task we're looking for (or null for dashboard)entDefinitionId
- - entitlement definition Idcontext
- - pagination contextcriteria
- - search criteria indicating which objects to retrieve.- Returns:
- List of IDC end point users.
- Throws:
CertificationServiceException
-
getUserCertPh2Pg2EntDefinitionEntAssignItemCount
Long getUserCertPh2Pg2EntDefinitionEntAssignItemCount(Long certificationId, String taskUid, Long entDefinitionId, SearchCriteria criteria) throws CertificationServiceException Return a count of IDC End Point Users corresponding to the specified entitlement definition id, certification id and task uid. The list of IDC accounts is filtered and sorted using the specified search criteria and pagination context. This method is part of TPAD rotated view phase 2 detail (page 2) processing.- Parameters:
certificationId
- - required Id of the certificationtaskUid
- - taskUid of the task we're looking for (or null for dashboard)entDefinitionId
- - entitlement definition Idcriteria
- - search criteria indicating which objects to retrieve.- Returns:
- Count of IDC end point users.
- Throws:
CertificationServiceException
-
certifyUserCertPh2Pg2Items
void certifyUserCertPh2Pg2Items(Long certificationId, String taskUid, Long entityId, CertificationConstants.EntityType entityType, SearchCriteria criteria, Integer certified, Date statusEndDate, String comments) throws CertificationServiceException Certify the items on Page 2 in Phase 2 of User Certification by search criteria- Parameters:
certificationId
- - Certification IdtaskUid
- - Task UidentityId
- - Entity Id(Role id, app instance id, entitlement definition id)entityType
- - Entity Typecriteria
- - Search Criteriacertified
- - StatusstatusEndDate
- - End date for conditional certificationcomments
- - Comments be reviewer- Throws:
CertificationServiceException
-
certifyUserCertPh2Pg2ItemsWithExistingComments
Map<CertificationConstants.EntityType,Set<Long>> certifyUserCertPh2Pg2ItemsWithExistingComments(Long certificationId, String taskUid, Long entityId, CertificationConstants.EntityType entityType, SearchCriteria criteria, Integer certified, Date statusEndDate) throws CertificationServiceException Certify the items on Page 2 in Phase 2 of User Certification by search criteria with the existing comments.- Parameters:
certificationId
- - Certification IdtaskUid
- - Task UidentityId
- - Entity Id(Role id, app instance id, entitlement definition id)entityType
- - Entity Typecriteria
- - Search Criteriacertified
- - StatusstatusEndDate
- - End date for conditional certification- Throws:
CertificationServiceException
-
getIndexForIDCUser
long getIndexForIDCUser(Long certificationId, String taskUid, long userId, PaginationContext context, SearchCriteria searchCriteria) throws CertificationServiceException Find index in list for specified userId. Used by UI to step back and forth between users in page 1 of a user certification.- Parameters:
certificationId
- - certification idtaskUid
- - task UiduserId
- - Id of desired user (from certs_user.id)context
- - page contextsearchCriteria
- - filter criteria- Returns:
- Index of specified user Id in list of all IDCUsers matching criteria. -1L if not found.
- Throws:
CertificationServiceException
-
getIDCUsersByBatch
List<IDCUser> getIDCUsersByBatch(Long certificationId, String taskUid, PaginationContext context, SearchCriteria searchCriteria) throws CertificationServiceException gets a batch of IDC User objects within a certification task.- Parameters:
certificationId
- - certification idtaskUid
- - task Uidcontext
- - page contextsearchCriteria
- - filter criteria- Throws:
CertificationServiceException
-
getFilteredUserCountByCertification
Long getFilteredUserCountByCertification(Long certificationId, String taskUid, SearchCriteria searchCriteria) throws CertificationServiceException gets count of users in a task for user certification.- Parameters:
certificationId
- - certification idtaskUid
- - task uid of current task,can be null if invoked from the dashboard UIsearchCriteria
- - filter parameters- Returns:
- - count of users in that task
- Throws:
CertificationServiceException
-
certifyUsers
void certifyUsers(Long certificationId, String taskUid, List<Long> userEntityIds, Integer certified, String certificationComments) throws CertificationServiceException Allows claim, revoke and abstain actions on selected users within a given task. Claim action implies that the user works for the reviewer and it will not certify any of the user access. Revoke and Abstain actions affect the user access.- Parameters:
certificationId
- - certification idtaskUid
- - task iduserEntityIds
- - entity ids from IDCUser objects ( returned from getIDCUsersByBatch )certified
- - action to be taken.certificationComments
- - action comments- Throws:
CertificationServiceException
-
certifyRemainingUserContent
void certifyRemainingUserContent(Long certificationId, String taskUid, List<Long> userEntityIds, String certificationComments) throws CertificationServiceException certifies user roles,accounts and account-attributes which are not acted on.- Parameters:
certificationId
- - required Id of the certificationtaskUid
- - taskUid of the task we're looking for (or null for dashboard)userEntityIds
- - user entity idscertificationComments
- - action comments- Throws:
CertificationServiceException
-
certifyRemainingUserContentWithOptions
void certifyRemainingUserContentWithOptions(Long certificationId, String taskUid, List<Long> userEntityIds, String certificationComments, Boolean updateOnlyEmptyComments) throws CertificationServiceException certifies user roles,accounts and account-attributes which are not acted on.- Parameters:
certificationId
- - required Id of the certificationtaskUid
- - taskUid of the task we're looking for (or null for dashboard)userEntityIds
- - user entity idscertificationComments
- - action comments- Throws:
CertificationServiceException
-
certifyRemainingUserContentWithOptions
void certifyRemainingUserContentWithOptions(Long certificationId, String taskUid, SearchCriteria searchCriteria, String comments, Boolean updateOnlyEmptyComments) throws CertificationServiceException certifies remaining user content with filters.- Parameters:
certificationId
- - required Id of the certificationtaskUid
- - taskUid of the task we're looking for (or null for dashboard)searchCriteria
- - search criteria indicating which objects to retrieve.comments
- - action comments- Throws:
CertificationServiceException
-
certifyUsers
void certifyUsers(Long certificationId, String taskUid, SearchCriteria sc, Integer certified, String comments) throws CertificationServiceException Allows claim, revoke and abstain actions on selected users within a given task with a set of filters. Claim action implies that the user works for the reviewer and it will not certify any of the user access. Revoke and Abstain actions affect the user access.- Parameters:
certificationId
- - required Id of the certificationtaskUid
- - taskUid of the task we're looking for (or null for dashboard)sc
- - search criteria indicating which objects to retrieve.certified
- - action to takencomments
- - action comments- Throws:
CertificationServiceException
-
revokeUsersAccess
void revokeUsersAccess(Long certificationId, String taskUid, List<Long> userEntityIds, String certificationComments) throws CertificationServiceException Allows Revoke action on the access of selected users within a given task.- Parameters:
certificationId
- - certification idtaskUid
- - task iduserEntityIds
- - entity ids from IDCUser objects ( returned from getIDCUsersByBatch )certificationComments
- - action comments- Throws:
CertificationServiceException
-
revokeUsersAccess
void revokeUsersAccess(Long certificationId, String taskUid, SearchCriteria sc, String comments) throws CertificationServiceException Allows Revoke action on the access of selected users within a given task with a set of filters.- Parameters:
certificationId
- - required Id of the certificationtaskUid
- - taskUid of the task we're looking for (or null for dashboard)sc
- - search criteria indicating which objects to retrieve.comments
- - action comments- Throws:
CertificationServiceException
-
certifyRemainingUserContent
void certifyRemainingUserContent(Long certificationId, String taskUid, SearchCriteria searchCriteria, String comments) throws CertificationServiceException certifies remaining user content with filters.- Parameters:
certificationId
- - required Id of the certificationtaskUid
- - taskUid of the task we're looking for (or null for dashboard)searchCriteria
- - search criteria indicating which objects to retrieve.comments
- - action comments- Throws:
CertificationServiceException
-
updateUserCertificationComments
void updateUserCertificationComments(Long certificationId, String taskUid, List<Long> userEntityIds, String comments) throws CertificationServiceException updates user comments for a given list of user entity ids.- Parameters:
certificationId
- - required Id of the certificationtaskUid
- - taskUid of the task we're looking for (or null for dashboard)userEntityIds
- - user entity idscomments
- - action comments- Throws:
CertificationServiceException
-
updateUserCertificationComments
void updateUserCertificationComments(Long certificationId, String taskUid, SearchCriteria criteria, String comments) throws CertificationServiceException updates user comments which meet a specific filter criteria.- Parameters:
certificationId
- - required Id of the certificationtaskUid
- - taskUid of the task we're looking for (or null for dashboard)criteria
- - search criteria indicating which objects to retrievecomments
- - action comments- Throws:
CertificationServiceException
-
certifyUserEntitlements
void certifyUserEntitlements(Long certId, String taskUid, Long userEntityId, Set<Long> roleEntityIds, Set<Long> accountEntityIds, Set<Long> accountAttributeEntityIds, Integer certified, Date statusEndDate, String comments) throws CertificationServiceException Certify the user entitlements for a user in User Certification- Parameters:
certId
- - Certification IdtaskUid
- - Task UIDuserEntityId
- - User Entity IdroleEntityIds
- - Entity Ids of roles to be certifiedaccountEntityIds
- - Entity Ids of accounts to be certifiedaccountAttributeEntityIds
- - Entity Ids of account entitlements to be certifiedcertified
- - New certification statusstatusEndDate
- - Status end date if applicablecomments
- - Certificaiton comments- Throws:
CertificationServiceException
-
certifyUserEntitlements
void certifyUserEntitlements(Long certId, String taskUid, Long userEntityId, SearchCriteria criteria, Integer certified, Date statusEndDate, String comments) throws CertificationServiceException Certify the user entitlements for a user in User Certification- Parameters:
certId
- - required Id of the certificationtaskUid
- - taskUid of the task we're looking for (or null for dashboard)userEntityId
- - user entity Idcriteria
- - search criteria indicating which objects to retrievecertified
- - new Certification statusstatusEndDate
- - Status end date if applicablecomments
- - action comments- Throws:
CertificationServiceException
-
certifyUserEntitlementsWithExistingComments
Map<CertificationConstants.EntityType,Set<Long>> certifyUserEntitlementsWithExistingComments(Long certId, String taskUid, Long userEntityId, Set<Long> roleEntityIds, Set<Long> accountEntityIds, Set<Long> accountAttributeEntityIds, Integer certified, Date statusEndDate) throws CertificationServiceException Certify the user entitlements for a user in User Certification with existing comments- Parameters:
certId
- - Certification IdtaskUid
- - Task UIDuserEntityId
- - User Entity IdroleEntityIds
- - Entity Ids of roles to be certifiedaccountEntityIds
- - Entity Ids of accounts to be certifiedaccountAttributeEntityIds
- - Entity Ids of account entitlements to be certifiedcertified
- - New certification statusstatusEndDate
- - Status end date if applicable- Returns:
- The subset of line items for which certify operation failed with existing comments
- Throws:
CertificationServiceException
-
certifyUserEntitlementsWithExistingComments
Map<CertificationConstants.EntityType,Set<Long>> certifyUserEntitlementsWithExistingComments(Long certId, String taskUid, Long userEntityId, SearchCriteria criteria, Integer certified, Date statusEndDate) throws CertificationServiceException Certify the user entitlements for a user in User Certification using existing comments- Parameters:
certId
- - required Id of the certificationtaskUid
- - taskUid of the task we're looking for (or null for dashboard)userEntityId
- - user entity Idcriteria
- - search criteria indicating which objects to retrievecertified
- - new Certification statusstatusEndDate
- - Status end date if applicable- Returns:
- The subset of line items for which certify operation failed with existing comments
- Throws:
CertificationServiceException
-
certifyUserEntitlementsWithUpdateComments
Map<CertificationConstants.EntityType,Set<Long>> certifyUserEntitlementsWithUpdateComments(Long certId, String taskUid, Long userEntityId, Set<Long> roleEntityIds, Set<Long> accountEntityIds, Set<Long> accountAttributeEntityIds, String comments, Boolean updateOnlyEmptyComments, Integer certified, Date statusEndDate) throws CertificationServiceException Certify the user entitlements for a user in User Certification with new comments if existing comment is empty- Parameters:
certId
- - Certification IdtaskUid
- - Task UIDuserEntityId
- - User Entity IdroleEntityIds
- - Entity Ids of roles to be certifiedaccountEntityIds
- - Entity Ids of accounts to be certifiedaccountAttributeEntityIds
- - Entity Ids of account entitlements to be certifiedcomments
- - Certification commentsupdateOnlyEmptyComments
- - Use comment if existing comment is empty or replace allcertified
- - New certification statusstatusEndDate
- - Status end date if applicable- Returns:
- The subset of line items for which certify operation failed
- Throws:
CertificationServiceException
-
certifyUserEntitlementsWithUpdateComments
Map<CertificationConstants.EntityType,Set<Long>> certifyUserEntitlementsWithUpdateComments(Long certId, String taskUid, Long userEntityId, SearchCriteria criteria, String comments, Boolean updateOnlyEmptyComments, Integer certified, Date statusEndDate) throws CertificationServiceException Certify the user entitlements for a user in User Certification using new comments if existing comment is empty- Parameters:
certId
- - required Id of the certificationtaskUid
- - taskUid of the task we're looking for (or null for dashboard)userEntityId
- - user entity Idcriteria
- - search criteria indicating which objects to retrievecomments
- - Certification CommentsupdateOnlyEmptyComments
- - Use comment if existing comment is empty or replace allcertified
- - new Certification statusstatusEndDate
- - Status end date if applicable- Returns:
- The subset of line items for which certify operation failed
- Throws:
CertificationServiceException
-
approveUserEntitlements
void approveUserEntitlements(Long certId, String taskUid, Long userEntityId, Set<Long> roleEntityIds, Set<Long> accountEntityIds, Set<Long> accountAttributeEntityIds, Date statusEndDate) throws CertificationServiceException Approve user entitlements for user in User Certification. Uses the phase one decsion and comments as the phase two decision and values.- Parameters:
certId
- - Certification idtaskUid
- - task uiduserEntityId
- - user entity idroleEntityIds
- - role entity id listaccountEntityIds
- - account entity id listaccountAttributeEntityIds
- - account attribute value entiy id liststatusEndDate
- - status end date- Throws:
CertificationServiceException
-
approveUserEntitlements
void approveUserEntitlements(Long certId, String taskUid, Long entityId, CertificationConstants.EntityType entityType, SearchCriteria criteria, Date statusEndDate) throws CertificationServiceException Approve user entitlements for user in User Certification with criteria. Uses the phase one decsion and comments as the phase two decision and values.- Parameters:
certId
- - Certification idtaskUid
- - task uidentityId
- - Entity Id(Role/app instance/entitlement definition id from phase 2 page 1)entityType
- - Entity Typecriteria
- - Search CriteriastatusEndDate
- - status end date- Throws:
CertificationServiceException
-
updateUserEntitlementComments
void updateUserEntitlementComments(Long certId, String taskUid, Long userEntityId, Set<Long> roleEntityIds, Set<Long> accountEntityIds, Set<Long> accountAttributeEntityIds, String comments) throws CertificationServiceException Update the user entitlement comments for a user in User Certification- Parameters:
certId
- - Certification IduserEntityId
- - User Entity IdtaskUid
- - Task UIDroleEntityIds
- - Entity Ids of roles to be certifiedaccountEntityIds
- - Entity Ids of accounts to be certifiedaccountAttributeEntityIds
- - Entity Ids of account entitlements to be certifiedcomments
- - Certification comments- Throws:
CertificationServiceException
-
updateUserEntitlementComments
void updateUserEntitlementComments(Long certId, String taskUid, Long userEntityId, SearchCriteria criteria, String comments) throws CertificationServiceException Update all user entitlement comments for a user in User Certification based on search criteria- Parameters:
certId
- - Certification IduserEntityId
- - User Entity IdtaskUid
- - Task UIDcriteria
- - SearchCriteria for all the entitlements displayed in UIcomments
- - Certification comments- Throws:
CertificationServiceException
-
getEntitlementCertificationStats
EntitlementCertificationStats getEntitlementCertificationStats(Long certId, String taskUid) throws CertificationServiceException Retrieve AppInstCertificationStats for specified certification and task. Task is optional. Use null to get information for entire certification.- Parameters:
certId
- - Certification IDtaskUid
- - Task UID- Returns:
- - AppInstCertificationStats object containing statistics for the certificaiton or task associated with the certification.
- Throws:
CertificationServiceException
-
getIDCEntitlementsByBatch
List<IDCEndPointAttributeValue> getIDCEntitlementsByBatch(Long certificationId, String taskUid, PaginationContext context, SearchCriteria searchCriteria) throws CertificationServiceException returns entitlement batch applying specified filter criteria.- Parameters:
certificationId
- - certification idtaskUid
- - task uid of the current task, null if invoked from dashboardcontext
- - supplies rows to fetch, rows to skipsearchCriteria
- - set of filters- Returns:
- - batch of entitlements
- Throws:
CertificationServiceException
-
getIndexForIDCEntitlement
long getIndexForIDCEntitlement(Long certificationId, String taskUid, long entDefnEntityId, PaginationContext context, SearchCriteria searchCriteria) throws CertificationServiceException Find index in list for specified entDefnId. Used by UI to step back and forth between entDefns in page 1 of an Entitlement certification.- Parameters:
certificationId
- - certification idtaskUid
- - task UidentDefnEntityId
- - EntityId of desired ent defn (from certd_ent_defn.entity_id)context
- - page contextsearchCriteria
- - filter criteria- Returns:
- Index of specified entitlement definition Id in list of all IDCEntitlements matching criteria. -1L if not found.
- Throws:
CertificationServiceException
-
getEntitlementCount
returns entitlement count applying specified filter criteria.- Parameters:
certificationId
- - certification idtaskUid
- - task uid of the current task, null if invoked from dashboardsearchCriteria
- - set of filters- Returns:
- count of entitlements
-
certifyEntitlements
void certifyEntitlements(Long certificationId, String taskUid, Integer belongsToMe, Set<Long> entityIds, String comments) throws CertificationServiceException certifies a set of entitlements- Parameters:
certificationId
- - certification idtaskUid
- - task uid of the current task, null if invoked from dashboardbelongsToMe
- - page1 status valueentityIds
- - entitlements to be certifiedcomments
- - comments if any- Throws:
CertificationServiceException
-
certifyEntitlements
void certifyEntitlements(Long certificationId, String taskUid, Integer belongsToMe, SearchCriteria searchCriteria, String comments) throws CertificationServiceException certifies a set of entitlements matching a search criteria.- Parameters:
certificationId
- - certification idtaskUid
- - task uid of the current task, null if invoked from dashboardbelongsToMe
- - page1 status valuesearchCriteria
- - search criteriacomments
- - comments if any- Throws:
CertificationServiceException
-
certifyRemainingEntitlementContent
void certifyRemainingEntitlementContent(Long certificationId, String taskUid, Set<Long> entityIds, String comments) throws CertificationServiceException completes an entitlement. sets all *untouched* page2 entities to STATUS_CERTIFIED.- Parameters:
certificationId
- - certification idtaskUid
- - task uid of the current task, null if invoked from dashboardentityIds
- - entitlements to be certifiedcomments
- - comments if any- Throws:
CertificationServiceException
-
certifyRemainingEntitlementContent
void certifyRemainingEntitlementContent(Long certificationId, String taskUid, SearchCriteria searchCriteria, String comments) throws CertificationServiceException completes a set of entitlements that match a search criteria. sets all *untouched* page2 entities to STATUS_CERTIFIED.- Parameters:
certificationId
- - certification idtaskUid
- - task uid of the current task, null if invoked from dashboardsearchCriteria
- - search criteriacomments
- - comments if any- Throws:
CertificationServiceException
-
certifyRemainingEntitlementContentWithOptions
void certifyRemainingEntitlementContentWithOptions(Long certificationId, String taskUid, Set<Long> entityIds, String comments, Boolean updateOnlyEmptyComments) throws CertificationServiceException completes an entitlement. sets all *untouched* page2 entities to STATUS_CERTIFIED.- Parameters:
certificationId
- - certification idtaskUid
- - task uid of the current task, null if invoked from dashboardentityIds
- - entitlements to be certifiedcomments
- - comments if any- Throws:
CertificationServiceException
-
certifyRemainingEntitlementContentWithOptions
void certifyRemainingEntitlementContentWithOptions(Long certificationId, String taskUid, SearchCriteria searchCriteria, String comments, Boolean updateOnlyEmptyComments) throws CertificationServiceException completes a set of entitlements that match a search criteria. sets all *untouched* page2 entities to STATUS_CERTIFIED.- Parameters:
certificationId
- - certification idtaskUid
- - task uid of the current task, null if invoked from dashboardsearchCriteria
- - search criteriacomments
- - comments if any- Throws:
CertificationServiceException
-
updateEntitlementCertificationComments
void updateEntitlementCertificationComments(Long certificationId, String taskUid, Set<Long> entityIds, String comments) throws CertificationServiceException update entitlement comments for a given set of entitlements.- Parameters:
certificationId
- - certification idtaskUid
- - task uid of the current task, null if invoked from dashboardentityIds
- - entitlements to be updated with new commentscomments
- - comments if any- Throws:
CertificationServiceException
-
updateEntitlementCertificationComments
void updateEntitlementCertificationComments(Long certificationId, String taskUid, SearchCriteria searchCriteria, String comments) throws CertificationServiceException update entitlement comments for entitlements matching search criteria.- Parameters:
certificationId
- - certification idtaskUid
- - task uid of the current task, null if invoked from dashboardsearchCriteria
- - entitlements to be updated with new commentscomments
- - comments if any- Throws:
CertificationServiceException
-
getIDCEndPointUsersByBatch
@Deprecated List<IDCEndPointUser> getIDCEndPointUsersByBatch(Long certificationId, String taskUid, Long attributeValueEntityId, PaginationContext context, Map<String, Object> filters) throws CertificationServiceException- Throws:
CertificationServiceException
-
getIDCEndPointUsersByBatch
List<IDCEndPointUser> getIDCEndPointUsersByBatch(Long certificationId, String taskUid, Long attributeValueEntityId, PaginationContext context, SearchCriteria searchCriteria) throws CertificationServiceException Returns the list of user accounts for the given entitlement definition- Parameters:
certificationId
- - Certification IdtaskUid
- - Task UidattributeValueEntityId
- - Entitlement Definition Entity Idcontext
- - Pagination ContextsearchCriteria
- - search criteria- Returns:
- List of IDCEndPointUser
- Throws:
CertificationServiceException
-
getAttributeValueUsersCountWithFilter
@Deprecated Long getAttributeValueUsersCountWithFilter(Long certificationId, String taskUid, Long attributeValueEntityId, Map<String, Object> filters) throws CertificationServiceException- Throws:
CertificationServiceException
-
getAttributeValueUsersCountWithFilter
Long getAttributeValueUsersCountWithFilter(Long certificationId, String taskUid, Long attributeValueEntityId, SearchCriteria searchCriteria) throws CertificationServiceException Returns the count for user accounts in the given entitlement definition- Parameters:
certificationId
- - Certification IdtaskUid
- - Task UidattributeValueEntityId
- - Entitlement Definition Entity IdsearchCriteria
- - search criteria- Returns:
- List of IDCEndPointUser
- Throws:
CertificationServiceException
-
certifyEntitlementUsersWithFilter
void certifyEntitlementUsersWithFilter(Long certificationId, String taskUid, Long attributeValueEntityId, Map<String, Object> filters, Integer status, Date endDate, String comments) throws CertificationServiceExceptionCertifies the user accounts for a given entitlement definition- Parameters:
certificationId
- - Certification IdtaskUid
- - Task UidattributeValueEntityId
- - Entitlement Definition Entity Idfilters
- - Filter parametersstatus
- - New statusendDate
- - End date if the status is ceritify conditionallycomments
- - Certification comments- Throws:
CertificationServiceException
-
updateEntitlementUserCommentsWithFilter
void updateEntitlementUserCommentsWithFilter(Long certificationId, String taskUid, Long attributeValueEntityId, Map<String, Object> filters, String comments) throws CertificationServiceExceptionUpdates the user account comments for a given entitlement definition- Parameters:
certificationId
- - Certification IdtaskUid
- - Task UidattributeValueEntityId
- - Entitlement Definition Entity Idfilters
- - Filter parameterscomments
- - Certification comments- Throws:
CertificationServiceException
-
certifySelectedEntitlementUsers
void certifySelectedEntitlementUsers(Long certificationId, String taskUid, Long attributeValueEntityId, Set<Long> entitlementUserAccountEntityIds, Integer status, Date endDate, String comments) throws CertificationServiceException Certifies the user accounts for a given entitlement definition- Parameters:
certificationId
- - Certification IdtaskUid
- - Task UidattributeValueEntityId
- - Entitlement Definition Entity IdentitlementUserAccountEntityIds
- - User account entity Idsstatus
- - New statusendDate
- - End date if the status is ceritify conditionallycomments
- - Certification comments- Throws:
CertificationServiceException
-
certifySelectedEntitlementUsers
void certifySelectedEntitlementUsers(Long certificationId, String taskUid, Long attributeValueEntityId, SearchCriteria searchCriteria, Integer status, Date endDate, String comments) throws CertificationServiceException Certifies the user accounts for a given entitlement definition- Parameters:
certificationId
- - Certification IdtaskUid
- - Task UidattributeValueEntityId
- - Entitlement Definition Entity IdsearchCriteria
- - search criteriastatus
- - New statusendDate
- - End date if the status is ceritify conditionallycomments
- - Certification comments- Throws:
CertificationServiceException
-
certifySelectedEntitlementUsersWithExistingComments
Map<CertificationConstants.EntityType,Set<Long>> certifySelectedEntitlementUsersWithExistingComments(Long certificationId, String taskUid, Long attributeValueEntityId, Set<Long> entitlementUserAccountEntityIds, Integer status, Date endDate) throws CertificationServiceException Certifies the user accounts for a given entitlement definition with existing comments- Parameters:
certificationId
- - Certification IdtaskUid
- - Task UidattributeValueEntityId
- - Entitlement Definition Entity IdentitlementUserAccountEntityIds
- - User account entity Idsstatus
- - New statusendDate
- - End date if the status is ceritify conditionally- Returns:
- The subset of line items for which certify operation failed with existing comments
- Throws:
CertificationServiceException
-
certifySelectedEntitlementUsersWithExistingComments
Map<CertificationConstants.EntityType,Set<Long>> certifySelectedEntitlementUsersWithExistingComments(Long certificationId, String taskUid, Long attributeValueEntityId, SearchCriteria searchCriteria, Integer status, Date endDate) throws CertificationServiceException Certifies the user accounts for a given entitlement definition- Parameters:
certificationId
- - Certification IdtaskUid
- - Task UidattributeValueEntityId
- - Entitlement Definition Entity IdsearchCriteria
- - search criteriastatus
- - New statusendDate
- - End date if the status is ceritify conditionally- Returns:
- The subset of line items for which certify operation failed with existing comments
- Throws:
CertificationServiceException
-
certifySelectedEntitlementUsersWithUpdateComments
Map<CertificationConstants.EntityType,Set<Long>> certifySelectedEntitlementUsersWithUpdateComments(Long certificationId, String taskUid, Long attributeValueEntityId, Set<Long> entitlementUserAccountEntityIds, Integer status, Date endDate, String comments, Boolean updateOnlyEmptyComments) throws CertificationServiceException Certifies the user accounts for a given entitlement definition- Parameters:
certificationId
- - Certification IdtaskUid
- - Task UidattributeValueEntityId
- - Entitlement Definition Entity IdentitlementUserAccountEntityIds
- - User account entity Idsstatus
- - New statusendDate
- - End date if the status is ceritify conditionallycomments
- - Certification commentsupdateOnlyEmptyComments
- - Use comment if existing comment is empty or replace all- Returns:
- The subset of line items for which certify operation failed.
- Throws:
CertificationServiceException
-
certifySelectedEntitlementUsersWithUpdateComments
Map<CertificationConstants.EntityType,Set<Long>> certifySelectedEntitlementUsersWithUpdateComments(Long certificationId, String taskUid, Long attributeValueEntityId, SearchCriteria searchCriteria, Integer status, Date endDate, String comments, Boolean updateOnlyEmptyComments) throws CertificationServiceException Certifies the user accounts for a given entitlement definition- Parameters:
certificationId
- - Certification IdtaskUid
- - Task UidattributeValueEntityId
- - Entitlement Definition Entity IdsearchCriteria
- - search criteriastatus
- - New statusendDate
- - End date if the status is ceritify conditionallycomments
- - Certification commentsupdateOnlyEmptyComments
- - Use comment if existing comment is empty or replace all- Returns:
- The subset of line items for which certify operation failed
- Throws:
CertificationServiceException
-
updateSelectedEntitlementUserComments
void updateSelectedEntitlementUserComments(Long certificationId, String taskUid, Long attributeValueEntityId, Set<Long> entitlementUserAccountEntityIds, String comments) throws CertificationServiceException Updates the user account comments for a given entitlement definition- Parameters:
certificationId
- - Certification IdtaskUid
- - Task UidattributeValueEntityId
- - Entitlement Definition Entity IdentitlementUserAccountEntityIds
- - User account entity Idscomments
- - Certification comments- Throws:
CertificationServiceException
-
updateSelectedEntitlementUserComments
void updateSelectedEntitlementUserComments(Long certificationId, String taskUid, Long attributeValueEntityId, SearchCriteria searchCriteria, String comments) throws CertificationServiceException Updates the user account comments for a given entitlement definition- Parameters:
certificationId
- - Certification IdtaskUid
- - Task UidattributeValueEntityId
- - Entitlement Definition Entity IdsearchCriteria
- - search criteriacomments
- - Certification comments- Throws:
CertificationServiceException
-
getLineItemActionHistory
List<IDCActionHistory> getLineItemActionHistory(Long certificationId, String taskUid, Long lineItemEId) retrieves action history for a line item.- Parameters:
certificationId
- - certification idtaskUid
- - task identifierlineItemEId
- - entity id of line item- Returns:
- list of IDCActionHistory objects
-
getLineItemDetailActionHistory
@Deprecated List<IDCActionHistory> getLineItemDetailActionHistory(Long certificationId, String taskUid, Long lineItemEId, Long lineItemDetailEId, int lineItemDetailType) Deprecated.returns action history for a line item detail (using line item and line item detail entity ids)- Parameters:
certificationId
- - certification idtaskUid
- - task identifierlineItemEId
- - entity id of line itemlineItemDetailEId
- - entity id of line item detaillineItemDetailType
- - Type of the line-item-detail we're looking at. This is required because entity ids are not guaranteed to be unique across item types.- Returns:
- list of IDCActionHistory objects
-
getLineItemDetailActionHistory
List<IDCActionHistory> getLineItemDetailActionHistory(Long certificationId, String taskUid, Long lineItemEId, Long lineItemDetailEId, CertificationConstants.EntityType lineItemDetailType) returns action history for a line item detail (using line item and line item detail entity ids)- Parameters:
certificationId
- - certification idtaskUid
- - task identifierlineItemEId
- - entity id of line itemlineItemDetailEId
- - entity id of line item detaillineItemDetailType
- - Type of the line-item-detail we're looking at. This is required because entity ids are not guaranteed to be unique across item types.- Returns:
- list of IDCActionHistory objects
-
taskAcquire
void taskAcquire(Long certificationId, String taskUid, String acquiredBy) throws CertificationServiceException Update primary reviewer for the certification once the group task is acquired by a reviewer User who is invoking this API must be assigned Certification Administrator or System Administrator admin role- Parameters:
certificationId
- - Certification IdtaskUid
- - Task UIDacquiredBy
- - User Id(usr_key from USR table)- Throws:
CertificationServiceException
-
getAttributeValueUsersCountWithFilter(Long, String, Long, SearchCriteria)