Package com.highdeal.mappingtable.hci
Class SearchMappingTableOp
java.lang.Object
com.highdeal.hci.MessageOperationAdapter
com.highdeal.mappingtable.hci.SearchMappingTableOp
- All Implemented Interfaces:
IXMLMarshallable,MessageOperation,XMLMapping,XMLMarshallable
This operation allows you to search for a
mapping table in master data (pricing catalog) of a service provider.
Send to the system, it search a Mapping Table.
It is composed of the filter used to perform the search (only Mapping Table that matches
with this filter are returned).
Operation Result
SearchMappingTableResult Operation Failure Exceptions
XML API for HCI
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="searchMappingTable">
<xs:complexType>
<xs:sequence>
<xs:element ref="mappingTableSearchFilter" minOccurs="1" maxOccurs="1"/>
</xs:sequence>
<xs:attribute name="withRows" type="xs:boolean" use="optional" default="true" />
<xs:attribute name="withVersions" type="xs:boolean" use="optional" default="false" />
</xs:complexType>
</xs:element>
Operation Availability
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 |
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe XML tag name of this service operation: "searchMappingTable" -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCharacterData(String cData) Adds character data to the content element.voidaddChild(String tagName, XMLMarshallable child) Adds a child to the object, thechildrepresenting the marshallable object which must be added to the element.Class<?>getClass(String nsUri, String tag, XMLAttributes atts) Returns theJava classfor a specifiedXML tagand its attributes in a namespace.Gets the filter used for theMapping Tablesearch.getName()Gets the XML name of the service operation.booleanbooleanGets whether table and row versions must be returned in the result of the operation.voidmarshalAttributes(XMLOutputter output) Gives an XML representation of the attributes of an object.voidmarshalChildren(XMLOutputter output) Gives an XML representation of the child objects of an object.voidsetAttributes(XMLAttributes atts) Sets the attributes of the XML representation of the element being processed.voidSets the filter used by the searchMapping Tableoperation.voidsetWithRows(boolean withRows) voidsetWithVersions(boolean withVersions) Sets whether table and row versions must be returned in the result of the operation.Methods inherited from class com.highdeal.hci.MessageOperationAdapter
marshal
-
Field Details
-
OPERATION_NAME
The XML tag name of this service operation: "searchMappingTable"- See Also:
-
-
Constructor Details
-
SearchMappingTableOp
public SearchMappingTableOp()
-
-
Method Details
-
getFilter
Gets the filter used for theMapping Tablesearch.- Returns:
- The filter used during the search operation of the mapping table
-
setFilter
Sets the filter used by the searchMapping Tableoperation.- Parameters:
filter- The filter used to search aMapping Table.
-
getName
Description copied from interface:MessageOperationGets the XML name of the service operation. This name identifies the operation request in the HCI messages. It is used to marshal theJava objectrepresenting an HCI operation into an XML representation that can be exchanged via the HCI communication interface between your client application and the SAP CC system.Example
activateAllping
- Specified by:
getNamein interfaceMessageOperation- Returns:
- The technical name of the HCI operation
-
isWithRows
public boolean isWithRows()- Returns:
- the withRows
-
setWithRows
public void setWithRows(boolean withRows) - Parameters:
withRows- the withRows to set
-
isWithVersions
public boolean isWithVersions()Gets whether table and row versions must be returned in the result of the operation.- Returns:
trueif table and row versions must be returned in the result of the operation,falseotherwise
-
setWithVersions
public void setWithVersions(boolean withVersions) Sets whether table and row versions must be returned in the result of the operation.- Parameters:
withVersions-trueif table and row versions must be returned in the result of the operation,falseotherwise
-
getClass
Description copied from interface:XMLMappingReturns theJava classfor a specifiedXML tagand its attributes in a namespace.- Specified by:
getClassin interfaceXMLMapping- Parameters:
nsUri- The unique resource identifier of the namespace of the XML tagtag- The local part of the XML tagatts- The attributes of the XML tag- Returns:
- A
Java classwith a default constructor
-
setAttributes
Description copied from interface:XMLMarshallableSets the attributes of the XML representation of the element being processed.- Specified by:
setAttributesin interfaceXMLMarshallable- Parameters:
atts- TheXML attributesof the current element
-
addChild
Description copied from interface:XMLMarshallableAdds a child to the object, thechildrepresenting the marshallable object which must be added to the element.- Specified by:
addChildin interfaceXMLMarshallable- Parameters:
tagName- The name of tag for the childchild- The child to be added
-
addCharacterData
Description copied from interface:XMLMarshallableAdds character data to the content element.- Specified by:
addCharacterDatain interfaceXMLMarshallable- Parameters:
cData- The character data to be added
-
marshalAttributes
Description copied from interface:IXMLMarshallableGives an XML representation of the attributes of an object.- Specified by:
marshalAttributesin interfaceIXMLMarshallable- Parameters:
output- TheXML outputto marshal the object attributes into
-
marshalChildren
Description copied from interface:IXMLMarshallableGives an XML representation of the child objects of an object.- Specified by:
marshalChildrenin interfaceIXMLMarshallable- Parameters:
output- TheXML outputto marshal the child objects into
-