Class AuditUtil

java.lang.Object
com.ptc.qualitymanagement.audit.util.AuditUtil

public class AuditUtil extends Object
This class implements helper methods for working with and finding WTChangeAudit objects

Supported API: true

Extendable: false
  • Method Details

    • getAudit

      public static com.ptc.qualitymanagement.audit.WTChangeAudit getAudit(String oidString) throws WTException


      Supported API: true
      Throws:
      WTException
    • getAudit

      public static com.ptc.qualitymanagement.audit.WTChangeAudit getAudit(NmOid nmOid) throws WTException


      Supported API: true
      Throws:
      WTException
    • getAudit

      public static com.ptc.qualitymanagement.audit.WTChangeAudit getAudit(Persistable persistable)
      Finds the set of audits related to the persistable.

      Persistable: WTChangeAudit --> WTChangeAudit
      Persistable: AuditDetail --> Related ChangeAudit

      When the persistable is a WorkItem, the primaryBusinessObject is retrieved, then the above algorithm is used.

      Returns null when no valid relationship is found.



      Supported API: true