Interface tcAuditOperationsIntf

All Superinterfaces:
tcUtilityOperationsIntf

public interface tcAuditOperationsIntf extends tcUtilityOperationsIntf
  • Method Details

    • 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
      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(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-issue
      identifier - 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_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

      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