public class CreateRoleOp extends MessageOperationAdapter
role that can be assigned to the SAP CC users. CreateRoleResult The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="createRole">
<xs:complexType>
<xs:sequence>
<xs:element ref="role" minOccurs="1" maxOccurs="1"/>
</xs:sequence>
</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 | No | No | No | No | No |
This operation is audited as part of the audit domain ADMINISTRATION
| Modifier and Type | Field and Description |
|---|---|
static String |
OPERATION_NAME
The XML tag name of the operation: "createRole"
|
| Constructor and Description |
|---|
CreateRoleOp() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCharacterData(String cData)
Adds character data to the content element.
|
void |
addChild(String tagName,
XMLMarshallable child)
Adds a child to the object, the
child representing
the marshallable object which must be added to the element. |
String |
getName()
Gets the XML name of the service operation.
|
RoleModel |
getRole()
Gets the role to create.
|
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 |
setRole(RoleModel role)
Sets the role to create.
|
marshalpublic static final String OPERATION_NAME
public RoleModel getRole()
public void setRole(RoleModel role)
role - The role to createpublic 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(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(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 into