|
SAP Convergent Charging
Java and XML APIs (Core) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.highdeal.pnr.hci.SearchCodeOp
public class SearchCodeOp
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 Table Range Table ClassRange TableOfferCharge ComponentCharge PlanRefill Item ClassRefill LogicRefill Record ClassRefill PlanRefill LogicCharged Item Aggregation PolicyAllowance LogicAllowance PlanMonitoring Plan
SearchCodeResult ServerFailureExceptionThe XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="searchCode">
<xs:complexType>
<xs:attribute name="object" type="ObjectType"/>
<xs:attribute name="withModelCompatibility" type="xs:boolean"/>
<xs:attribute name="owner" type="xs:string"/>
</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 |
| Field Summary | |
|---|---|
static java.lang.String |
OPERATION_NAME
|
| Constructor Summary | |
|---|---|
SearchCodeOp()
|
|
| Method Summary | |
|---|---|
void |
addCharacterData(java.lang.String cData)
Adds character data to the content element. |
void |
addChild(java.lang.String tagName,
XMLMarshallable child)
Adds a child to the object, the child representing
the marshallable object which must be added to the element. |
java.lang.String |
getName()
Gets the name. |
java.lang.String |
getObjectType()
Gets the object type. |
java.lang.String |
getOwner()
Gets the owner. |
boolean |
getWithModelCompatibility()
|
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 |
setObjectType(java.lang.String object)
Sets the object type. |
void |
setOwner(java.lang.String o)
Sets the owner. |
void |
setWithModelCompatibility(boolean withCompatibility)
Sets the model compatibility. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String OPERATION_NAME
| Constructor Detail |
|---|
public SearchCodeOp()
| Method Detail |
|---|
public java.lang.String getName()
getName in interface MessageOperationpublic java.lang.String getObjectType()
public void setObjectType(java.lang.String object)
object - The object typepublic java.lang.String getOwner()
public void setOwner(java.lang.String o)
o - The ownerpublic void setWithModelCompatibility(boolean withCompatibility)
withCompatibility - The compatibilitypublic boolean getWithModelCompatibility()
public void setAttributes(XMLAttributes atts)
XMLMarshallable
setAttributes in interface XMLMarshallableatts - The XML attributes of the current elementpublic void addCharacterData(java.lang.String cData)
XMLMarshallable
addCharacterData in interface XMLMarshallablecData - The character data to be added
public void addChild(java.lang.String tagName,
XMLMarshallable child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.
addChild in interface XMLMarshallabletagName - The name of tag for the childchild - The child to be addedpublic void marshal(XMLOutputter output)
XMLMarshallable
marshal in interface XMLMarshallableoutput - The XML output to marshal the object into
|
Document Published: October 2015 (SAP CC 4.0 SP10 and Later) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||