Skip navigation links


Thor.API.Operations
Interface tcAuditOperationsIntf

All Superinterfaces:
tcUtilityOperationsIntf

public interface tcAuditOperationsIntf
extends tcUtilityOperationsIntf

Method Summary
 void 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_KEY
 java.lang.String[] getUsersWithNoSnapshots()
          This method checks that all the users have a snapshot.
 boolean processAuditMessageOnline(int audJmsKey)
          Processes the specific AUD_JMS_KEY online
 void processIdentifierOffline(java.lang.String audJmsKey, java.lang.String auditor, java.lang.String identifier, java.lang.String maxAudJmsKey)
          Sends a JMS message for the specified identifier and auditor
 void reIssueAuditMessageByIdentifier(java.lang.String auditor, java.lang.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 Detail

generateSnapshot

void generateSnapshot(long usrKey)
                      throws tcAPIException
Creates the SnapShots for each users, this is as a part of the User profile auditing update script.
Throws:
tcAPIException

getUserProfile

Thor.API.tcResultSet getUserProfile(long upa)
                                    throws tcAPIException,
                                           tcAPIException
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

processAuditMessageOnline

boolean processAuditMessageOnline(int audJmsKey)
                                  throws tcAPIException,
                                         tcAPIException
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(java.lang.String auditor,
                                     java.lang.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-issue
identifier - The IDENTIFIER value to re-issue
Throws:
tcAPIException
tcUserNotFoundException

processIdentifierOffline

void processIdentifierOffline(java.lang.String audJmsKey,
                              java.lang.String auditor,
                              java.lang.String identifier,
                              java.lang.String maxAudJmsKey)
                              throws tcAPIException,
                                     tcAPIException
Sends a JMS message for the specified identifier and auditor
Parameters:
audJmsKey - aud_jms_key
auditor - The AUD_CLASS value to re-issue
identifier - The IDENTIFIER value to re-issue
maxAudJmsKey - Max aud jms key
Throws:
tcAPIException
Since:
9.1.0.0

getUsersWithNoSnapshots

java.lang.String[] getUsersWithNoSnapshots()
                                           throws tcAPIException,
                                                  tcAPIException
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

void generateSnapshotForUserOnline(long usrKey)
                                   throws tcAPIException,
                                          tcAPIException
This method will generate snapshot for the given user "online" i.e. without going through JMS.
Throws:
tcAPIException

generateGPASnapshot

void generateGPASnapshot(long groupKey)
                         throws tcAPIException
Creates the SnapShots for each groups, this is as a part of the Group auditing update script.
Throws:
tcAPIException
Since:
9.1.0.0

Skip navigation links


Copyright © 2014, Oracle and/or its affiliates. All rights reserved.