Aqualogic Interaction API  
 

IPTAuditManager.QueryAuditMsgs Method 

Used to retrieve all of the audit messages that are in the database which correspond to the indicated constraints

IPTQueryResult QueryAuditMsgs(
   int lPropIDMask,
   int lAuditTypeMask,
   int lSkipMsgs,
   int lNumMsgs,
   object[][] vQueryFilter,
   int sortVal
);

Parameters

lPropIDMask
a bitmask of values from PT_PROPIDS used to indicate the output data desired
lAuditTypeMask
a bitmask of values from PT_AUDIT_TYPES used to indicate which types of audit messages should be included in the result, or -1 for all.
lSkipMsgs
the number of messages to skip. This is used for pagination (e.g. to show messages 101-200, this value would be 101.)
lNumMsgs
the number of messages to return. This is used for pagination (e.g. to show messages 101-200, this value would be 100.)
vQueryFilter
a query filter, in the same format as the vQueryFilter argument to IPTObjectManager.Query
sortVal
a value from com.plumtree.server.PT_ORDERBY_SETTINGS indicating the sort order for the result set. The results are always sorted by PT_PROPIDS.PT_PROPID_AUDIT_MSGTIME.

Return Value

an IPTQueryResult containing the requested audit messages

See Also

IPTAuditManager Interface | com.plumtree.server Namespace | IPTQueryResult | PT_PROPIDS | PT_AUDIT_TYPES | PT_ORDERBY_SETTINGS | IPTObjectManager#Query