Class DeleteSubscriptionBulkOp
- All Implemented Interfaces:
MessageOperation,XMLMarshallable
This operation may conflict with the pre-rating feature. This may lead to inconsistency if the deletion
concerns at least a subscription containing unresolved pre-ratings. In that case, post-ratings will fail.
To prevent from that, the user is warned when he/she tries to delete such a subscription.
But if the user considers the deletion as safe, he/she can force it (using the ignorePrerating parameter).
To improve bulk performance and minimize database locks, this process allows the user to customize some parameters :
-
PNR_BULK_THREAD_COUNTthreads used to delete subscriptions. -
PNR_BULK_SEARCH_FETCH_SIZEsize of subscription blocks which matches the search filter. -
PNR_BULK_MODIFICATION_FETCH_SIZEsize of subscription blocks to delete.
Operation Result
DeleteSubscriptionBulkResult Operation Failure Exceptions
XML API for HCI
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="deleteSubscriptionBulk">
<xs:complexType>
<xs:sequence>
<xs:element ref="subscriptionSearchFilter" minOccurs="1" maxOccurs="1"/>
</xs:sequence>
<xs:attribute name="ignorePreRating" type="xs:string" default="false"/>
<xs:attribute name="ignorePendingSession" type="xs:string" default="false"/>
</xs:complexType>
</xs:element>
Operation Availability
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 |
Audit Domain
This operation is audited by the system as part of the audit domain: CUSTOMER. Consult the IT administrator.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCharacterData(String cData) Adds character data to the content element.voidaddChild(String tagName, XMLMarshallable child) Adds a child to the object, thechildrepresenting the marshallable object which must be added to the element.Gets the subscription filter.getName()Returns the name of the operation, that is "deleteSubscriptionBulk".booleanGets the ignorePendingSession attribute.booleanGets the ignorePreRating attribute.voidmarshal(XMLOutputter output) Gives an XML representation of this object, including its children.voidsetAttributes(XMLAttributes atts) Sets the attributes of the XML representation of the element being processed.voidSets the subscription filter.voidsetIgnorePendingSession(boolean ignorePendingSession) Sets the ignorePendingSession attribute.voidsetIgnorePreRating(boolean ignorePreRating) Sets the ignorePreRating attribute.
-
Field Details
-
OPERATION_NAME
- See Also:
-
-
Constructor Details
-
DeleteSubscriptionBulkOp
public DeleteSubscriptionBulkOp()Builds an empty operation.
-
-
Method Details
-
getName
Returns the name of the operation, that is "deleteSubscriptionBulk".- Specified by:
getNamein interfaceMessageOperation- Returns:
- "deleteSubscriptionBulk"
-
getFilter
Gets the subscription filter.- Returns:
- the subscription filter to apply.
-
setFilter
Sets the subscription filter.- Parameters:
filter- the subscription filter to apply.
-
isIgnorePreRating
public boolean isIgnorePreRating()Gets the ignorePreRating attribute.- Returns:
- the ignorePreRating value
-
setIgnorePreRating
public void setIgnorePreRating(boolean ignorePreRating) Sets the ignorePreRating attribute.- Parameters:
ignorePreRating-
-
isIgnorePendingSession
public boolean isIgnorePendingSession()Gets the ignorePendingSession attribute.- Returns:
- the ignorePendingSession value
-
setIgnorePendingSession
public void setIgnorePendingSession(boolean ignorePendingSession) Sets the ignorePendingSession attribute.- Parameters:
ignorePendingSession-
-
setAttributes
Description copied from interface:XMLMarshallableSets the attributes of the XML representation of the element being processed.- Specified by:
setAttributesin interfaceXMLMarshallable- Parameters:
atts- TheXML attributesof the current element
-
addCharacterData
Description copied from interface:XMLMarshallableAdds character data to the content element.- Specified by:
addCharacterDatain interfaceXMLMarshallable- Parameters:
cData- The character data to be added
-
addChild
Description copied from interface:XMLMarshallableAdds a child to the object, thechildrepresenting the marshallable object which must be added to the element.- Specified by:
addChildin interfaceXMLMarshallable- Parameters:
tagName- The name of tag for the childchild- The child to be added
-
marshal
Description copied from interface:XMLMarshallableGives an XML representation of this object, including its children.- Specified by:
marshalin interfaceXMLMarshallable- Parameters:
output- TheXML outputto marshal the object into
-