Thor.API.Operations
Interface tcAuditOperationsIntf


public interface tcAuditOperationsIntf


Method Summary
 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.
 void reIssueAuditMessageByIdentifier(java.lang.String auditor, java.lang.String identifier)
          Re-issues the audit message for a specific for a specific auditor and identifier.
 

Method Detail

generateSnapshot

public 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

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

reIssueAuditMessageByIdentifier

public void reIssueAuditMessageByIdentifier(java.lang.String auditor,
                                            java.lang.String identifier)
                                     throws Thor.API.Exceptions.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

getUsersWithNoSnapshots

public java.lang.String[] getUsersWithNoSnapshots()
                                           throws Thor.API.Exceptions.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

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

Throws:
tcAPIException


Copyright © 1991, 2006 Oracle. All rights reserved.