public class SearchAuditsOp extends Object implements MessageOperation
audit from a specified code;
If you specify a null code, then all the audits are retrieved. SearchAuditsResult The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="searchAudits">
<xs:complexType>
<xs:attribute name="code" type="xs:string"/>
<xs:attribute name="fetchOps" type="xs:boolean"/>
</xs:complexType>
</xs:element>
You can send this operation request in HCI messages to the following final target types of instances in the connected SAP CC system:
| Edition | Final Target Instances | |||||
| rater | updater | guider | bulkLoader | taxer | dispatcher | |
| charge | No | Yes | No | No | No | No |
This operation is audited as part of the audit domain TECHNICAL
| Modifier and Type | Field and Description |
|---|---|
static String |
OPERATION_NAME
The XML tag name of the operation: "searchAudits"
|
| Constructor and Description |
|---|
SearchAuditsOp() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCharacterData(String cData)
Adds character data to the content element.
|
void |
addChild(String name,
XMLMarshallable child)
Adds a child to the object, the
child representing
the marshallable object which must be added to the element. |
String |
getCode()
Gets the code of audit to be found.
|
boolean |
getFetchOps()
Returns whether the result of this operation
brings the user operations back.
|
String |
getName()
Gets the name of the operation.
|
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, including its children.
|
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being
processed.
|
void |
setCode(String code)
Sets the code of audit to be found.
|
void |
setFetchOps(boolean fetch)
Sets whether the result of this operation
brings the user operations back.
|
public static final String OPERATION_NAME
public String getName()
getName in interface MessageOperationpublic String getCode()
public void setCode(String code)
code - The code of auditpublic boolean getFetchOps()
public void setFetchOps(boolean fetch)
fetch - whether the result of this operation
brings the user operations back.public void setAttributes(XMLAttributes atts)
XMLMarshallablesetAttributes in interface XMLMarshallableatts - The XML attributes of the current elementpublic void addChild(String name, XMLMarshallable child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.addChild in interface XMLMarshallablename - The name of tag for the childchild - The child to be addedpublic void addCharacterData(String cData)
XMLMarshallableaddCharacterData in interface XMLMarshallablecData - The character data to be addedpublic void marshal(XMLOutputter output)
XMLMarshallablemarshal in interface XMLMarshallableoutput - The XML output to marshal the object into