public class CreateCatalogOp extends java.lang.Object implements CrossReferenceableOp
pricing catalog in the master data stored in SAP CC for a service provider;
It triggers the creation of a tree catalog under the specified parent entry. If no parent is specified,
then a root entry is created. CreateCatalogResult InvalidCreationExceptionThe XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="createCatalog">
<xs:complexType>
<xs:sequence>
<xs:element ref="catalogEntry" minOccurs="1" maxOccurs="1"/>
</xs:sequence>
<xs:attribute name="opID" type="xs:string"/>
<xs:attribute name="parent" type="xs:string"/>
<xs:attribute name="parentID" 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 |
This operation is audited by the system as part of the audit domain: CATALOG. Consult the IT administrator.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
OPERATION_NAME
The XML element name of this service operation: "createCatalog"
|
| Constructor and Description |
|---|
CreateCatalogOp() |
| 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. |
CatalogEntryModel |
getCatalogEntry()
Gets the entry to be created.
|
java.lang.String |
getName()
Gets the name of operation.
|
java.lang.String |
getOperationID()
Gets the operation ID.
|
java.lang.String |
getParentID()
Gets the ID of the parent (as specified by a previous operation
ID in the same message envelope).
|
java.lang.String |
getParentRef()
Gets the reference of the parent under which
this entry should be created.
|
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 |
setCatalogEntry(CatalogEntryModel catalogEntry)
Sets the catalog entry to be created.
|
void |
setOperationID(java.lang.String id)
Sets the operation ID.
|
void |
setParentID(java.lang.String id)
Sets the ID of the parent (as specified by a previous operation
ID in the same message envelope).
|
void |
setParentRef(java.lang.String ref)
Sets the reference of the parent under which
this entry should be created.
|
public static final java.lang.String OPERATION_NAME
public java.lang.String getOperationID()
getOperationID in interface CrossReferenceableOpnull if the operation
has no IDpublic void setOperationID(java.lang.String id)
setOperationID in interface CrossReferenceableOpid - The operation IDpublic java.lang.String getName()
getName in interface MessageOperationpublic java.lang.String getParentRef()
null if
if must be a root entry.public void setParentRef(java.lang.String ref)
ref - The reference of the parent, or null
if the new entry should be a root entry.public java.lang.String getParentID()
public void setParentID(java.lang.String id)
id - The identifier of the parentpublic CatalogEntryModel getCatalogEntry()
public void setCatalogEntry(CatalogEntryModel catalogEntry)
catalogEntry - The catalog entry to be createdpublic void setAttributes(XMLAttributes atts)
XMLMarshallablesetAttributes in interface XMLMarshallableatts - The XML attributes of the current elementpublic void addCharacterData(java.lang.String cData)
XMLMarshallableaddCharacterData in interface XMLMarshallablecData - The character data to be addedpublic 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)
XMLMarshallablemarshal in interface XMLMarshallableoutput - The XML output to marshal the object into