public interface EventMgmtService
Modifier and Type | Method and Description |
---|---|
boolean |
assignEvent(long eventId,
java.lang.String usrLogin,
long usrKey,
long grpKey)
Deprecated.
|
void |
createAccount(long eventId,
long ownerKey,
java.lang.String ownerType,
java.lang.String modifiersName,
java.lang.String linkSrc,
java.lang.String actionPerformed,
boolean ServiceAccount)
Creates a new Account in the OIM DB, using Event data.
|
void |
createUser(long eventId,
java.lang.String modifiersName,
java.lang.String linkSrc,
java.lang.String actionPerformed)
Deprecated.
Please try to use
ReconOperationsService.processReconciliationEvent(long) |
void |
establishAccountLink(long eventId,
long orcKey,
java.lang.String modifiersName,
java.lang.String linkSrc,
java.lang.String actionPerformed)
Links an Event to an Account, thus triggering all necessary database updates to the Account.
|
void |
establishLink(long eventId,
long key,
java.lang.String linkSrc,
java.lang.String actionPerformed)
Links an Event, thus triggering all necessary database updates.
|
void |
establishUserLink(long eventId,
long usrKey,
java.lang.String modifiersName,
java.lang.String linkSrc,
java.lang.String actionPerformed)
Links an Event to a User, thus performing all necessary database updates.
|
Account |
getLinkedAccountForEvent(long eventId)
Returns the linked account for the specified event
|
Organization |
getLinkedOrgForEvent(long eventId)
Returns the linked organization for the specified event
|
Role |
getLinkedRoleForEvent(long eventId)
Returns the linked role for the specified event
|
RoleHierarchy |
getLinkedRoleHierarchyForEvent(long eventId)
Fetches the Role Hierarchy currently linked to the given Event
|
RoleMember |
getLinkedRoleMemberForEvent(long eventId)
Returns the linked role member for the specified event
|
User |
getLinkedUserForEvent(long eventId)
Returns the linked user for the specified event
|
java.util.List |
getMatchedAccountsForEvent(long eventId)
Returns the list of matched acounts for a specific event
|
java.util.List |
getMatchedOrgsForEvent(long eventId)
Returns the list of Organizations that match the given Event.
|
java.util.List |
getMatchedRoleHierarchiesForEvent(long EventID)
Returns the list of Role Hierarchies that match the given Event.
|
java.util.List |
getMatchedRoleMembersForEvent(long EventID)
Returns a list of Role Memberss that match the Event which ID is given.
|
java.util.List |
getMatchedRolesForEvent(long EventID)
Returns a list of Roles that match the Event which ID is given.
|
java.util.List |
getMatchedUsersForEvent(long eventId)
Returns a list of Users that match the Event which ID is given.
|
ReconEventData |
getReconEventData(ReconEvent evt)
Fetches the data for the given Event.
|
java.util.List |
getReconHistoryForEvent(long eventId)
Returns the recon history for the specified event
|
long |
getSearchCount(ReconSearchCriteria searchParams)
Returns the number of database rows matching the given search criteria.
|
java.util.List |
getTargetAttrDetailsCollection(ReconEvent event)
Deprecated.
|
void |
performBulkAction(java.lang.String actionName,
java.util.HashMap actionParams,
java.util.List reconEvents)
Deprecated.
|
void |
performBulkAction(java.lang.String actionName,
java.util.HashMap actionParams,
java.util.List reconEvents,
java.lang.String actionPerformed)
Perform Bulk Event Actions.
|
java.util.List |
search(ReconSearchCriteria searchParams,
java.util.Vector order,
boolean ascOrderFlag,
int startIndex,
int pageSize)
PAGINATED Search for Reconciliation Events where order is provided.
|
long getSearchCount(ReconSearchCriteria searchParams)
srchCrit
- The ReconSearchCriteria to use for counting database rows.java.util.List search(ReconSearchCriteria searchParams, java.util.Vector order, boolean ascOrderFlag, int startIndex, int pageSize)
minIndex(next Page) = minIndex(initial Page) + size.
Paginated Search greatly improves Search performance by only returning a subset of the overall results.
searchParams
- a ReconSearchCriteria
object encapsulating the Search parameters.order
- the list of field names to order the search results by. The Field names are constants defined in
EventConstants
.ascOrderFlag
- a boolean that should be set to TRUE to order the results in ascending order.size
- the maximum size of the expected search results set. This is the size of the search results page.minIndex
- the index of the first result of the result page.void performBulkAction(java.lang.String actionName, java.util.HashMap actionParams, java.util.List reconEvents, java.lang.String actionPerformed) throws EventManagementException
actionName
- the name of the action like event close, re-evaluate, archive, assignactionParams
- the parameters required by the selected actionreconEvents
- the list of Reconciliation Events to apply the action to.actionPerformed
- the name of the Bulk action to perform, as it should appear in the Recon History table. Typically a Language sensitive string coming from a
bundle or translatable properties file.usrName
- the name of the user performing the action.EventManagementException
- in case the action fails.java.util.List getTargetAttrDetailsCollection(ReconEvent event)
event
- a Recon Event
instance encapsulating the Event for which the attribute details are requested.ReconTargetAttribute
)ReconEventData getReconEventData(ReconEvent evt) throws EventManagementException
evt
- the instance of the Event for which to fetch the Data.ReconEventData
containing all the data related to this event.EventManagementException
java.util.List getMatchedUsersForEvent(long eventId)
eventId
- the ID of the Event for which the User matches is requested.User
who all match the given Event.java.util.List getMatchedRolesForEvent(long EventID)
EventID
- the ID of the Event for which the Role matches are requested.Role
who all match the given Event.java.util.List getMatchedRoleMembersForEvent(long EventID)
EventID
- the ID of the Event for which the Role Member matches are requested.Role Member
who all match the given Event.java.util.List getMatchedRoleHierarchiesForEvent(long EventID)
EventID
- the current Event ID for which matches are requestedjava.util.List getMatchedOrgsForEvent(long eventId)
eventId
- the ID of the Event for which the Org macthes are requested.Organization
that match the given Event.java.util.List getMatchedAccountsForEvent(long eventId)
eventId
- - event ID for the specified recon eventUser getLinkedUserForEvent(long eventId)
eventId
- - event ID for the specified recon eventOrganization getLinkedOrgForEvent(long eventId)
eventId
- - event ID for the specified recon eventRole getLinkedRoleForEvent(long eventId)
eventId
- - event ID for the specified recon eventRoleMember getLinkedRoleMemberForEvent(long eventId)
eventId
- - event ID for the specified recon eventRoleHierarchy getLinkedRoleHierarchyForEvent(long eventId)
eventId
- the ID of the Event for which to find the linked Role.Account getLinkedAccountForEvent(long eventId)
eventId
- - event ID for the specified recon eventjava.util.List getReconHistoryForEvent(long eventId)
eventId
- - event ID for the specified recon eventvoid createUser(long eventId, java.lang.String modifiersName, java.lang.String linkSrc, java.lang.String actionPerformed) throws EventManagementException
ReconOperationsService.processReconciliationEvent(long)
eventId
- - event ID for the specified recon eventmodifiersName
- - logged in user name, not used, always pass as null, kept for backword compatibility only.linkSrc
- - Source of linkingEventManagementException
void createAccount(long eventId, long ownerKey, java.lang.String ownerType, java.lang.String modifiersName, java.lang.String linkSrc, java.lang.String actionPerformed, boolean ServiceAccount) throws EventManagementException
eventId
- the ID of the Recon Event containing the new account data.ownerKey
- the User Key of the owner of the Account.ownerType
- The type of owner, usually USER.modifiersName
- the name of the user performing the action, not used, always pass as null, kept for backword compatibility only.linkSrc
- the source of the create action/Event Link: either manual Linking or linked through an automated action rule.actionPerformed
- ServiceAccount
- a boolean stating whether Account to create should be a service account or not.EventManagementException
- in case the operation failsvoid establishUserLink(long eventId, long usrKey, java.lang.String modifiersName, java.lang.String linkSrc, java.lang.String actionPerformed) throws EventManagementException
eventId
- the ID of the Event to link.usrKey
- the User ID/Key of the user to link the event to.modifiersName
- the name of the user performing the action, not used, always pass as null, kept for backword compatibility only.linkSrc
- the source of the Event Link: either manual Linking or linked through an automated action rule.actionPerformed
- the name of the operation, for logging into the History table.EventManagementException
- in case the operation fails.void establishLink(long eventId, long key, java.lang.String linkSrc, java.lang.String actionPerformed) throws EventManagementException
eventId
- the ID of the Event to Link.key
- The Key to link the Event to.linkSrc
- the source of the Event Link: either manual Linking or linked through an automated action rule.actionPerformed
- the name of the operation, for logging into the History table.EventManagementException
- in case the operatrion fails.void establishAccountLink(long eventId, long orcKey, java.lang.String modifiersName, java.lang.String linkSrc, java.lang.String actionPerformed) throws EventManagementException
eventId
- the ID of the Event to Link.orcKey
- The ORC Key of the Account to link the Event to.modifiersName
- the name of the user performing the action, not used, always pass as null, kept for backword compatibility only.linkSrc
- the source of the Event Link: either manual Linking or linked through an automated action rule.actionPerformed
- the name of the operation, for logging into the History table.EventManagementException
- in case the operatrion fails.@Deprecated boolean assignEvent(long eventId, java.lang.String usrLogin, long usrKey, long grpKey)
@Deprecated void performBulkAction(java.lang.String actionName, java.util.HashMap actionParams, java.util.List reconEvents) throws EventManagementException
EventManagementException