Package Thor.API.Operations
Interface tcAuditOperationsIntf
- All Superinterfaces:
tcUtilityOperationsIntf
-
Method Summary
Modifier and TypeMethodDescriptionvoid
generateGPASnapshot
(long groupKey) Creates the SnapShots for each groups, this is as a part of the Group auditing update script.void
generateSnapshot
(long usrKey) Creates the SnapShots for each users, this is as a part of the User profile auditing update script.void
generateSnapshotForUserOnline
(long usrKey) This method will generate snapshot for the given user "online" i.e.Thor.API.tcResultSet
getUserProfile
(long upa) Get user profile from a given UPA_KEYString[]
This method checks that all the users have a snapshot.boolean
processAuditMessageOnline
(int audJmsKey) Processes the specific AUD_JMS_KEY onlinevoid
processIdentifierOffline
(String audJmsKey, String auditor, String identifier, String maxAudJmsKey) Sends a JMS message for the specified identifier and auditorvoid
reIssueAuditMessageByIdentifier
(String auditor, String identifier) Re-issues the audit message for a specific for a specific auditor and identifier.Methods inherited from interface Thor.API.Base.tcUtilityOperationsIntf
close, getName, setCountry, setLanguage, setVariant
-
Method Details
-
generateSnapshot
Creates the SnapShots for each users, this is as a part of the User profile auditing update script.- Throws:
tcAPIException
-
getUserProfile
Get user profile from a given UPA_KEY- Returns:
- A
tcResultSet
that contains the following information:- Users.User ID
- Users.Key
- Users.First Name
- Users.Last Name
- Users.Manager Key
- Users.Manager Login
- Users.Manager First Name
- Users.Manager Last Name
- Users.Xellerate Type
- Users.Creation Date
- Users.Create By
- Users.Updated By
- Users.Status
- Users.Disable User
- Users.Lock User
- Organizations.Key
- Users.Role
- Organizations.Organization Name
- Users.Email
- Users.Start Date
- Users.End Date
- Users.Provisioning Date
- Users.Deprovisioning Date
- Users.Provisioned Date
- Users.Deprovisioned Date
- Users.Middle Name
- All the User Defined fields
- Throws:
tcAPIException
tcAPIException
-
processAuditMessageOnline
Processes the specific AUD_JMS_KEY online- Parameters:
audJmsKey
- The AUD_JMS_KEY to process- Throws:
tcAPIException
- Since:
- 9.1.0.0
-
reIssueAuditMessageByIdentifier
void reIssueAuditMessageByIdentifier(String auditor, String identifier) throws tcAPIException, tcAPIException Re-issues the audit message for a specific for a specific auditor and identifier. Since many messages could be waiting for the same auditor and identifier, many messages will be re-issue.- Parameters:
auditor
- The AUD_CLASS value to re-issueidentifier
- The IDENTIFIER value to re-issue- Throws:
tcAPIException
tcUserNotFoundException
-
processIdentifierOffline
void processIdentifierOffline(String audJmsKey, String auditor, String identifier, String maxAudJmsKey) throws tcAPIException, tcAPIException Sends a JMS message for the specified identifier and auditor- Parameters:
audJmsKey
- aud_jms_keyauditor
- The AUD_CLASS value to re-issueidentifier
- The IDENTIFIER value to re-issuemaxAudJmsKey
- Max aud jms key- Throws:
tcAPIException
- Since:
- 9.1.0.0
-
getUsersWithNoSnapshots
This method checks that all the users have a snapshot. If not, this method will return a list of all users with no snapshot in progress or already in the- Throws:
tcAPIException
-
generateSnapshotForUserOnline
This method will generate snapshot for the given user "online" i.e. without going through JMS.- Throws:
tcAPIException
-
generateGPASnapshot
Creates the SnapShots for each groups, this is as a part of the Group auditing update script.- Throws:
tcAPIException
- Since:
- 9.1.0.0
-