public class ExportSubscriberDataOp extends MessageOperationAdapter
This operation enables to export consistently a subscriber account or
a subscription from its identifier.
With this operation you can transport this customer master data from a development system to a quality assurance or production system.
This master data is grouped in a Subscriber Data object:
subscriber account includes all its related subscriptions,
accesses and counter snapshots.owner of the subscriber account is mandatory and must be specified in the operation.
Subscription includes all its related Accesses and
Counter Snapshots.
Note
All the available chronologies are part of the export.
ExportSubscriberDataResult The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="exportSubscriberData">
<xs:complexType>
<xs:attribute name="id" type="xs:string" use="required" />
<xs:attribute name="owner" type="xs:string" use="optional" />
<xs:attribute name="type" type="ExportSubscriberDataType" use="required" />
</xs:complexType>
</xs:element>
<xs:simpleType name="ExportSubscriberDataType">
<xs:restriction base="xs:string">
<xs:enumeration value="subscription" />
<xs:enumeration value="subscriberAccount" />
</xs:restriction>
</xs:simpleType>
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 | Class and Description |
|---|---|
static class |
ExportSubscriberDataOp.ExportSubscriberDataType
This enumeration represents the types of exportable objects.
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
OPERATION_NAME
The XML name of the operation: exportSubscriberData
|
| Constructor and Description |
|---|
ExportSubscriberDataOp()
Builds an empty
ExportSubscriberDataOp operation. |
| Modifier and Type | Method and Description |
|---|---|
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 |
getId()
Gets the identifier of the object to export.
|
java.lang.String |
getName()
Gets the XML name of the service operation.
|
java.lang.String |
getOwner()
Gets the owner of the object to export.
|
ExportSubscriberDataOp.ExportSubscriberDataType |
getType()
Gets the
type of the object to export. |
void |
marshalAttributes(XMLOutputter output)
Gives an XML representation of the attributes of an object.
|
void |
marshalChildren(XMLOutputter output)
Gives an XML representation of the child objects of an object.
|
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being
processed.
|
void |
setId(java.lang.String id)
Sets the identifier of the object to export.
|
void |
setOwner(java.lang.String owner)
Sets the owner of the object to export.
|
void |
setType(ExportSubscriberDataOp.ExportSubscriberDataType type)
Sets the
type of the object to export. |
marshalpublic static final java.lang.String OPERATION_NAME
public ExportSubscriberDataOp()
ExportSubscriberDataOp operation.public java.lang.String getName()
MessageOperationJava object representing 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
activateAll
ping
public void setAttributes(XMLAttributes atts)
XMLMarshallableatts - The XML attributes of the current elementpublic void addChild(java.lang.String tagName,
XMLMarshallable child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.tagName - The name of tag for the childchild - The child to be addedpublic void addCharacterData(java.lang.String cData)
XMLMarshallablecData - The character data to be addedpublic void marshalAttributes(XMLOutputter output)
IXMLMarshallableoutput - The XML output to marshal the object attributes intopublic void marshalChildren(XMLOutputter output)
IXMLMarshallableoutput - The XML output to marshal the child objects intopublic java.lang.String getId()
SubscriberAccountModel.getCode(),
SubscriptionModel.getCode()public void setId(java.lang.String id)
id - The identifier of the object to exportSubscriberAccountModel.getCode(),
SubscriptionModel.getCode()public java.lang.String getOwner()
SubscriberAccountModel.getServiceProvider()public void setOwner(java.lang.String owner)
owner - The owner of the object to exportSubscriberAccountModel.getServiceProvider()public ExportSubscriberDataOp.ExportSubscriberDataType getType()
type of the object to export.public void setType(ExportSubscriberDataOp.ExportSubscriberDataType type)
type of the object to export.type - The type of the object to export