public class ModifyAccessOp extends Object implements MessageOperation
accessible charge chronology can be modified in an access. In order to add an accessible charge
in the chronology the method setAccessibleCharge(AccessibleChargeModel accessibleCharge)
of access must be used.
The new accessible charge chronology will be updated with the new accessible charge available from modification date
to modification end date. If the accessible charge is null, the new accessible charge chronology will be discontinuous
between the modification date and end date.
If modification date is null, the new accessible charge will be available from ever.
If modification end date is null, the new accessible charge will be available for ever.
If both are null, the new accessible charge chronology contains only the new accessible charge. ModifyAccessResult The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="modifyAccess">
<xs:complexType>
<xs:sequence>
<xs:element ref="access" minOccurs="1" maxOccurs="1"/>
</xs:sequence>
<xs:attribute name="modificationDate" type="xs:dateTime"/>
<xs:attribute name="modificationEndDate" type="xs:dateTime"/>
</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 as part of the audit domain CUSTOMER
| Modifier and Type | Field and Description |
|---|---|
static String |
OPERATION_NAME |
| Constructor and Description |
|---|
ModifyAccessOp()
Builds an empty operation.
|
| 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. |
AccessModel |
getAccess() |
Date |
getModificationDate() |
Date |
getModificationEndDate() |
String |
getName()
Gets the name of the operation.
|
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, including its children.
|
void |
setAccess(AccessModel access) |
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being
processed.
|
void |
setModificationDate(Date date) |
void |
setModificationEndDate(Date date) |
public static final String OPERATION_NAME
public String getName()
getName in interface MessageOperationpublic Date getModificationDate()
public Date getModificationEndDate()
public void setModificationDate(Date date)
public void setModificationEndDate(Date date)
public AccessModel getAccess()
public void setAccess(AccessModel access)
public void setAttributes(XMLAttributes atts)
XMLMarshallablesetAttributes in interface XMLMarshallableatts - The XML attributes of the current elementpublic void addCharacterData(String cData)
XMLMarshallableaddCharacterData in interface XMLMarshallablecData - The character data to be addedpublic void addChild(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