Package com.highdeal.pnr.hci
Class SearchCodeOp
java.lang.Object
com.highdeal.pnr.hci.SearchCodeOp
- All Implemented Interfaces:
MessageOperation,XMLMarshallable
This operation allows searchinf for an object by specifying its type and optionally its owner and return an object code list.
Searched objects can be:
ProductChargeable Item ClassCharged Item ClassPricing MacroTranslation TableTier TableMapping Table ClassMapping TableRange Table ClassRange TableOfferCharge ComponentCharge PlanRefill Item ClassRefill LogicRefill Record ClassRefill PlanRefill LogicCharged Item Aggregation PolicyAllowance LogicAllowance PlanMonitoring Plan
Operation Result
SearchCodeResult Operation Failure Exceptions
XML API for HCI
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="searchCode">
<xs:complexType>
<xs:attribute name="object" type="CatalogEntryTypeType"/>
<xs:attribute name="withModelCompatibility" type="xs:boolean"/>
<xs:attribute name="owner" type="xs:string"/>
</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
Fields -
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.getName()Gets the name.Gets the object type.getOwner()Gets the owner.booleanvoidmarshal(XMLOutputter output) Gives an XML representation of this object, including its children.voidsetAttributes(XMLAttributes atts) Sets the attributes of the XML representation of the element being processed.voidsetObjectType(String object) Sets the object type.voidSets the owner.voidsetWithModelCompatibility(boolean withCompatibility) Sets the model compatibility.
-
Field Details
-
OPERATION_NAME
- See Also:
-
-
Constructor Details
-
SearchCodeOp
public SearchCodeOp()
-
-
Method Details
-
getName
Gets the name.- Specified by:
getNamein interfaceMessageOperation- Returns:
- The name
-
getObjectType
Gets the object type.- Returns:
- The object type
-
setObjectType
Sets the object type.- Parameters:
object- The object type
-
getOwner
Gets the owner.- Returns:
- The owner
-
setOwner
Sets the owner.- Parameters:
o- The owner
-
setWithModelCompatibility
public void setWithModelCompatibility(boolean withCompatibility) Sets the model compatibility.- Parameters:
withCompatibility- The compatibility
-
getWithModelCompatibility
public boolean getWithModelCompatibility()- Returns:
- The model compatibility
-
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
-
addCharacterData
Description copied from interface:XMLMarshallableAdds character data to the content element.- Specified by:
addCharacterDatain interfaceXMLMarshallable- Parameters:
cData- The character data to be added
-
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
-
marshal
Description copied from interface:XMLMarshallableGives an XML representation of this object, including its children.- Specified by:
marshalin interfaceXMLMarshallable- Parameters:
output- TheXML outputto marshal the object into
-