public class SearchSubscriptionOp extends Object implements MessageOperation
subscriptionSearchFilter can be used.
The filter allows to describe the subscription wanted. subscriptionSearchFilter is not null,
only this filter is used in order to retrieve subscriptions (other attributes are forgotten). SearchSubscriptionResult The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="searchSubscription">
<xs:complexType>
<xs:sequence>
<xs:element ref="subscriptionSearchFilter" minOccurs="0" maxOccurs="1"/>
<xs:element ref="additionalInformation" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="code" type="xs:string"/>
<xs:attribute name="offerCode" type="xs:string"/>
<xs:attribute name="reference" type="xs:string"/>
<xs:attribute name="fromCode" type="xs:string"/>
<xs:attribute name="maxSize" type="xs:integer"/>
</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 |
| Modifier and Type | Field and Description |
|---|---|
static String |
OPERATION_NAME |
| Constructor and Description |
|---|
SearchSubscriptionOp()
Builds a search subscription operation.
|
| 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. |
Vector<AdditionalInfoModel> |
getAdditionalInfos()
Deprecated.
Use the subscriptionSearchFilter instead. Deprecated since former Transactive 3.2.
|
String |
getCode()
Deprecated.
Use the subscriptionSearchFilter instead. Deprecated since former Transactive 3.2.
|
SubscriptionSearchFilterModel |
getFilter()
Gets the subscription filter.
|
String |
getFromCode()
Gets the code of the subscription from which subscriptions
should be fetched
|
BigDecimal |
getMaxSize()
Gets the maximum number of subscriptions to be retrieved
for this operation.
|
String |
getName()
Gets the name of the operation.
|
String |
getOfferCode()
Deprecated.
Use the subscriptionSearchFilter instead. Deprecated since former Transactive 3.2.
|
String |
getReference()
Deprecated.
Use the subscriptionSearchFilter instead. Deprecated since former Transactive 3.2.
|
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, including its children.
|
void |
setAdditionalInfos(Vector<AdditionalInfoModel> infos)
Deprecated.
Use the subscriptionSearchFilter instead. Deprecated since former Transactive 3.2.
|
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being
processed.
|
void |
setCode(String code)
Deprecated.
Use the subscriptionSearchFilter instead. Deprecated since former Transactive 3.2.
|
void |
setFilter(SubscriptionSearchFilterModel filter)
Sets the subscription filter.
|
void |
setFromCode(String code)
Sets the from subscription code.
|
void |
setMaxSize(BigDecimal max)
Sets a maximum number of subscriptions.
|
void |
setOfferCode(String oc)
Deprecated.
Use the subscriptionSearchFilter instead. Deprecated since former Transactive 3.2.
|
void |
setReference(String reference)
Deprecated.
Use the subscriptionSearchFilter instead. Deprecated since former Transactive 3.2.
|
public static final String OPERATION_NAME
public SearchSubscriptionOp()
public SubscriptionSearchFilterModel getFilter()
public void setFilter(SubscriptionSearchFilterModel filter)
filter - The filter to set.public String getCode()
public void setCode(String code)
code - The code of the subscriptionpublic String getReference()
public void setReference(String reference)
reference - The reference of the subscriptionpublic String getOfferCode()
public void setOfferCode(String oc)
oc - The offer codepublic Vector<AdditionalInfoModel> getAdditionalInfos()
info.public void setAdditionalInfos(Vector<AdditionalInfoModel> infos)
infos - the list of additional info.public String getFromCode()
public void setFromCode(String code)
setMaxSize(BigDecimal).code - the from subscription code.public BigDecimal getMaxSize()
public void setMaxSize(BigDecimal max)
max - the maximum number of subscriptions to be
retrieved for this operation.public String getName()
getName in interface MessageOperationpublic void setAttributes(XMLAttributes atts)
XMLMarshallablesetAttributes in interface XMLMarshallableatts - The XML attributes of the current elementpublic void addCharacterData(String cData)
XMLMarshallableaddCharacterData in interface XMLMarshallablecData - The character data to be addedpublic 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 marshal(XMLOutputter output)
XMLMarshallablemarshal in interface XMLMarshallableoutput - The XML output to marshal the object into