SAP CC 1.0
API 4.2 (Core)

com.highdeal.pnr.hci
Class SearchSubscriptionOp

java.lang.Object
  extended by com.highdeal.pnr.hci.SearchSubscriptionOp
All Implemented Interfaces:
MessageOperation, XMLMarshallable

public class SearchSubscriptionOp
extends java.lang.Object
implements MessageOperation

This operation allows to retrieve subscriptions. Subscriptions could be retreived by two way.
- First, a subscriptionSearchFilter can be used. The filter allows to describe the subscription wanted.
- The second way, which is deprecated , is to specify the subscription code or/and the offerCode or/and the subscriber or/and the subscription reference. As this research system is deprecated, favour the first usage.

If the subscriptionSearchFilter is not null, only this filter is used in order to retreive subscriptions (other attributes are forgotten). IMPORTANT NOTE : If this operation is used in conjunction with some perimeter filter, the total item count (if required) will be always set to -1.

See Also :
SearchSubscriptionResult
Operation Failure Exception :
InvalidSearchException
ServerFailureException
Operation available with roles :
"csr" "admin"


XML Schema 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>

Operation availability :
EditionAvailable On:
RaterUpdaterBackupGuiderChargerBulkLoaderBillingAssistantEZTaxer
Ratenoyesnononononono
Chargenoyesnononononono
Billnoyesnononononono
Fullnoyesnononononono

Field Summary
static java.lang.String OPERATION_NAME
           
 
Constructor Summary
SearchSubscriptionOp()
          Builds a search subscription operation.
 
Method Summary
 void addCharacterData(java.lang.String cData)
          Adds character data to the content element.
 void addChild(java.lang.String name, XMLMarshallable child)
          Adds a child to the objects, the child represents the marshallable object to be added into the content tree.
 java.util.Vector<AdditionalInfoModel> getAdditionalInfos()
          Deprecated. since Transactive 3.2, use the subscriptionSearchFilter.
 java.lang.String getCode()
          Deprecated. since Transactive 3.2, use the subscriptionSearchFilter.
 SubscriptionSearchFilterModel getFilter()
          Gets the subscription filter.
 java.lang.String getFromCode()
          Gets the code of the subscription from which subscriptions should be fetched.
 java.math.BigDecimal getMaxSize()
          Gets the maximum number of subscriptions to be retrieved for this operation.
 java.lang.String getName()
          Gets the name of the operation.
 java.lang.String getOfferCode()
          Deprecated. since Transactive 3.2, use the subscriptionSearchFilter.
 java.lang.String getReference()
          Deprecated. since Transactive 3.2, use the subscriptionSearchFilter.
 void marshal(XMLOutputter output)
          Gives an XML representation of this object, and of its children.
 void setAdditionalInfos(java.util.Vector<AdditionalInfoModel> infos)
          Deprecated. since Transactive 3.2, use the subscriptionSearchFilter.
 void setAttributes(XMLAttributes atts)
          Sets the attributes of the XML representation of the tag beeing processed.
 void setCode(java.lang.String code)
          Deprecated. since Transactive 3.2, use the subscriptionSearchFilter.
 void setFilter(SubscriptionSearchFilterModel filter)
          Sets the subscription filter.
 void setFromCode(java.lang.String code)
          Sets the from subscription code.
 void setMaxSize(java.math.BigDecimal max)
          Sets a maximum number of subscriptions.
 void setOfferCode(java.lang.String oc)
          Deprecated. since Transactive 3.2, use the subscriptionSearchFilter.
 void setReference(java.lang.String reference)
          Deprecated. since Transactive 3.2, use the subscriptionSearchFilter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OPERATION_NAME

public static final java.lang.String OPERATION_NAME
See Also:
Constant Field Values
Constructor Detail

SearchSubscriptionOp

public SearchSubscriptionOp()
Builds a search subscription operation.

Method Detail

getFilter

public SubscriptionSearchFilterModel getFilter()
Gets the subscription filter.

Returns:
Returns the filter.

setFilter

public void setFilter(SubscriptionSearchFilterModel filter)
Sets the subscription filter.

Parameters:
filter - The filter to set.

getCode

public java.lang.String getCode()
Deprecated. since Transactive 3.2, use the subscriptionSearchFilter.

Gets the code of the subscription.

Returns:
the code of the subscription.

setCode

public void setCode(java.lang.String code)
Deprecated. since Transactive 3.2, use the subscriptionSearchFilter.

Sets the code of the subscription.

Parameters:
code - the code of the subscription.

getReference

public java.lang.String getReference()
Deprecated. since Transactive 3.2, use the subscriptionSearchFilter.

Gets the reference of the subscription.

Returns:
the reference of the subscription.

setReference

public void setReference(java.lang.String reference)
Deprecated. since Transactive 3.2, use the subscriptionSearchFilter.

Sets the reference of the subscription.

Parameters:
reference - the reference of the subscription.

getOfferCode

public java.lang.String getOfferCode()
Deprecated. since Transactive 3.2, use the subscriptionSearchFilter.

Gets the offer code.

Returns:
the offer code.

setOfferCode

public void setOfferCode(java.lang.String oc)
Deprecated. since Transactive 3.2, use the subscriptionSearchFilter.

Sets the offer code.

Parameters:
oc - the offer code.

getAdditionalInfos

public java.util.Vector<AdditionalInfoModel> getAdditionalInfos()
Deprecated. since Transactive 3.2, use the subscriptionSearchFilter.

Returns the list of AdditionalInfoModel.

Returns:
the list of the associated additional info.

setAdditionalInfos

public void setAdditionalInfos(java.util.Vector<AdditionalInfoModel> infos)
Deprecated. since Transactive 3.2, use the subscriptionSearchFilter.

Sets the list of additional infos.

Parameters:
infos - the list of additional info.

getFromCode

public java.lang.String getFromCode()
Gets the code of the subscription from which subscriptions should be fetched.

Returns:
the from subscription code.

setFromCode

public void setFromCode(java.lang.String code)
Sets the from subscription code. This method should be used with its companion setMaxSize(BigDecimal).

Parameters:
code - the from subscription code.

getMaxSize

public java.math.BigDecimal getMaxSize()
Gets the maximum number of subscriptions to be retrieved for this operation.

Returns:
the maximum size.

setMaxSize

public void setMaxSize(java.math.BigDecimal max)
Sets a maximum number of subscriptions.

Parameters:
max - the maximum number of subscriptions to be retrieved for this operation.

getName

public java.lang.String getName()
Gets the name of the operation.

Specified by:
getName in interface MessageOperation
Returns:
the name of the operation.

setAttributes

public void setAttributes(XMLAttributes atts)
Description copied from interface: XMLMarshallable
Sets the attributes of the XML representation of the tag beeing processed.

Specified by:
setAttributes in interface XMLMarshallable
Parameters:
atts - the XML attributes of the current tag.

addCharacterData

public void addCharacterData(java.lang.String cData)
Description copied from interface: XMLMarshallable
Adds character data to the content element.

Specified by:
addCharacterData in interface XMLMarshallable
Parameters:
cData - the character data to be added.

addChild

public void addChild(java.lang.String name,
                     XMLMarshallable child)
Description copied from interface: XMLMarshallable
Adds a child to the objects, the child represents the marshallable object to be added into the content tree.

Specified by:
addChild in interface XMLMarshallable
Parameters:
name - the name of tag for the child.
child - the child to be added.

marshal

public void marshal(XMLOutputter output)
Description copied from interface: XMLMarshallable
Gives an XML representation of this object, and of its children.

Specified by:
marshal in interface XMLMarshallable
Parameters:
output - the XML output to marshall the object into.

SAP CC 1.0
API 4.2 (Core)


API Reference - July 2009

SAP Convergent Charging 1.0 (build R4.2.1.35.0.0)
CONVERGENT CHARGING 4.2

(c) Copyright 2009 SAP AG. All rights reserved.