Class AuditUtil
java.lang.Object
com.ptc.qualitymanagement.audit.util.AuditUtil
This class implements helper methods for working with and finding WTChangeAudit objects
Supported API: true
Extendable: false
Supported API: true
Extendable: false
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.ptc.qualitymanagement.audit.WTChangeAudit
Supported API: truestatic com.ptc.qualitymanagement.audit.WTChangeAudit
Supported API: truestatic com.ptc.qualitymanagement.audit.WTChangeAuditgetAudit(Persistable persistable) Finds the set of audits related to the persistable.
-
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
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
-