public class ModifyRoleOp extends MessageOperationAdapter
role customized in the SAP CC system.
It contains a new version of an existing role. This change is sent to the distant system to be validated and recorded permanently.
RoleModel,
CreateRoleOp,
DeleteRoleOp,
SearchRoleOp ModifyRoleResult The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="modifyRole">
<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 value of this constant is the XML tag name of the operation of modification of role: "modifyRole"
|
| Constructor and Description |
|---|
ModifyRoleOp() |
| 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 modify in the system
|
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 modify in the system
|
marshalpublic static final String OPERATION_NAME
public RoleModel getRole()
public void setRole(RoleModel role)
role - The role to modifypublic 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