|
SAP Convergent Charging
Java and XML APIs (Core) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.highdeal.hci.MessageOperationAdapter
com.highdeal.pnr.hci.RerateBulkOp
public class RerateBulkOp
This operation allows to trigger the rerating process; by default you use this in the SAP CC Core Tool user interface and you do not need to implement this operation in your client application.
You implement this operation to manage the rerating operations directly in your client application. During the production operation phase, the SAP CC users do not need anymore to work with the Core Tool user interface.
The rerating process gives the possibility to cancel previous charging operations and to perform new ones on identified sets of
subscriptions or charging contracts.
This feature is mainly used to correct errors such as:
There are two possible configurations for the rerating process:
In this context, the rerating operation does the following:
subscriptions and/or charging contracts to rerate to SAP CC BART Server
When rerating a subscription or charging contract,
the following operations are performed:
subscription or charging contract
so that it can only be used by the current rerating sessionsubscription or charging contract to a previous statesubscription or charging contract
so that it can be used by other processes
When a subscription or charging contract has been rerated,
it is unlocked so that it can be used by other processes. In case it remains locked, the unlocking can be performed manually by using
either the operation UnlockSubscriptionOp for subscriptions, or
UnlockChargingContractOp for charging contracts.
In this context, the rerating process has the following restrictions:
offline subscriptions
and charging contracts can be reratedIn this context, the rerating operation does the following:
charging contracts to rerate to SAP CIIn this context, the rerating process has the following restrictions:
charging contracts can be reratedreason must be specified in the rerating operationIn both configurations, rerating operations cannot be performed on charging contracts which use prepaid accounts.
subscriptions
(deprecated since version 1.0 of SAP CC)HCI message envelope
SubscriptionModel,
SubscriptionSearchFilterModel,
ChargingContractSearchFilterModel RerateBulkResult RerateExceptionThe XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="rerateBulk">
<xs:complexType>
<xs:sequence>
<xs:choice>
<xs:element ref="subscriptionSearchFilter" minOccurs="0" maxOccurs="1"/>
<xs:element ref="chargingContractSearchFilter" minOccurs="0" maxOccurs="1"/>
</xs:choice>
</xs:sequence>
<xs:attribute name="fromDate" type="xs:dateTime" use="required"/>
<xs:attribute name="adaptFromDate" type="xs:boolean" use="optional" default="false"/>
<xs:attribute name="offerCode" type="xs:string"/>
<xs:attribute name="translationTableCode" type="xs:string"/>
<xs:attribute name="tierTableCode" type="xs:string"/>
<xs:attribute name="pricingMacroCode" type="xs:string"/>
<xs:attribute name="chargePlanId" type="xs:string"/>
<xs:attribute name="mappingTableId" type="xs:string" />
<xs:attribute name="rangeTableId" type="xs:string" />
<xs:attribute name="reason" type="xs:string" use="optional" />
</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 |
| Field Summary | |
|---|---|
static java.lang.String |
OPERATION_NAME
|
| Constructor Summary | |
|---|---|
RerateBulkOp()
Builds an empty RerateBulk Operation |
|
| Method Summary | |
|---|---|
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. |
java.lang.String |
getChargePlanId()
Returns the identifier of the charge plan |
ChargingContractSearchFilterModel |
getChargingContractSearchFilter()
Returns the search filter used to select the charging contracts to rerate. |
java.lang.Class<?> |
getClass(java.lang.String nsUri,
java.lang.String tag,
XMLAttributes atts)
Returns the Java class for a specified XML tag and its attributes in a namespace. |
java.util.Date |
getFromDate()
Returns the from date. |
java.lang.String |
getMappingTableId()
Returns the identifier of the mapping table |
int |
getMaxThroughput()
Deprecated. |
java.lang.String |
getName()
Returns the name of the operation, that is "rerateBulk" |
java.lang.String |
getOfferCode()
Returns the identifier code of the offer to rerate |
java.lang.String |
getPricingMacroCode()
Returns the identifier code of the pricing macro |
java.lang.String |
getRangeTableId()
Returns the identifier of the range table |
java.lang.String |
getReason()
Returns the reason for the rerating operation |
SearchFilterModel |
getSearchFilter()
Deprecated. |
SubscriptionSearchFilterModel |
getSubscriptionSearchFilter()
Returns the search filter used to select the subscriptions to rerate. |
java.lang.String |
getTierTableCode()
Returns the identifier code of the tier table |
java.lang.String |
getTranslationTableCode()
Returns the identifier code of the translation table |
boolean |
isAdaptFromDate()
Returns whether the from date must be adapted |
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 |
release()
Release operation |
void |
setAdaptFromDate(boolean adaptFromDate)
Specifies whether the from date must be adapted |
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being processed. |
void |
setChargePlanId(java.lang.String chargePlanId)
Sets the identifier of the charge plan |
void |
setChargingContractSearchFilter(ChargingContractSearchFilterModel searchFilterModel)
Sets the search filter used to select the charging contracts to rerate. |
void |
setFromDate(java.util.Date fromDate)
Sets the from date. |
void |
setMappingTableId(java.lang.String mappingTableId)
Sets the identifier of the mapping table |
void |
setMaxThroughput(int val)
Deprecated. |
void |
setOfferCode(java.lang.String offerCode)
Sets the identifier code of the offer to rerate |
void |
setPricingMacroCode(java.lang.String pricingMacroCode)
Sets the identifier code of the pricing macro |
void |
setRangeTableId(java.lang.String rangeTableId)
Sets the identifier of the range table |
void |
setReason(java.lang.String reason)
Specifies the reason for the rerating operation |
void |
setSearchFilter(SearchFilterModel searchFilterModel)
Deprecated. |
void |
setSubscriptionSearchFilter(SubscriptionSearchFilterModel searchFilterModel)
Sets the search filter used to select the subscriptions to rerate. |
void |
setTierTableCode(java.lang.String tierTableCode)
Sets the identifier code of the tier table |
void |
setTranslationTableCode(java.lang.String translationTableCode)
Sets the identifier code of the translation table |
| Methods inherited from class com.highdeal.hci.MessageOperationAdapter |
|---|
marshal |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String OPERATION_NAME
| Constructor Detail |
|---|
public RerateBulkOp()
| Method Detail |
|---|
public void release()
public java.lang.String getName()
getName in interface MessageOperationpublic java.lang.String getOfferCode()
setOfferCode(String)public void setOfferCode(java.lang.String offerCode)
offerCode - code of the subscription table to rerategetOfferCode()public SearchFilterModel getSearchFilter()
setSearchFilter(SearchFilterModel)public void setSearchFilter(SearchFilterModel searchFilterModel)
searchFilterModel - A search filter used to select the subscriptions to rerategetSearchFilter()public SubscriptionSearchFilterModel getSubscriptionSearchFilter()
setSubscriptionSearchFilter(SubscriptionSearchFilterModel)public void setSubscriptionSearchFilter(SubscriptionSearchFilterModel searchFilterModel)
searchFilterModel - a search filter used to select the subscriptions to rerategetSubscriptionSearchFilter()public ChargingContractSearchFilterModel getChargingContractSearchFilter()
setChargingContractSearchFilter(ChargingContractSearchFilterModel)public void setChargingContractSearchFilter(ChargingContractSearchFilterModel searchFilterModel)
searchFilterModel - a search filter used to select the charging contracts to rerategetChargingContractSearchFilter()public java.lang.String getTranslationTableCode()
setTranslationTableCode(String)public void setTranslationTableCode(java.lang.String translationTableCode)
translationTableCode - Code of the subscription table to rerategetTranslationTableCode()public java.lang.String getTierTableCode()
setTierTableCode(String)public void setTierTableCode(java.lang.String tierTableCode)
tierTableCode - The code of the tier tablegetTierTableCode()public java.lang.String getPricingMacroCode()
setPricingMacroCode(String)public void setPricingMacroCode(java.lang.String pricingMacroCode)
pricingMacroCode - Code of the pricing macro to rerategetPricingMacroCode()public java.lang.String getChargePlanId()
setChargePlanId(String)public void setChargePlanId(java.lang.String chargePlanId)
chargePlanId - The identifier of the charge plangetChargePlanId()public java.lang.String getMappingTableId()
setMappingTableId(String)public void setMappingTableId(java.lang.String mappingTableId)
mappingTableId - The identifier of the mapping tablegetMappingTableId()public java.lang.String getRangeTableId()
setRangeTableId(String)public void setRangeTableId(java.lang.String rangeTableId)
rangeTableId - The identifier of the range tablegetRangeTableId()public java.util.Date getFromDate()
setFromDate(Date)public void setFromDate(java.util.Date fromDate)
fromDate - Starting date of the rerating processgetFromDate()public boolean isAdaptFromDate()
true if the from date must be adapted, false otherwisesetAdaptFromDate(boolean)public void setAdaptFromDate(boolean adaptFromDate)
adaptFromDate - whether the from date must be adaptedisAdaptFromDate()public java.lang.String getReason()
setReason(String)public void setReason(java.lang.String reason)
reason - the reason for the rerating operationgetReason()@Deprecated public int getMaxThroughput()
@Deprecated public void setMaxThroughput(int val)
val - the value of the maxThroughput.public void setAttributes(XMLAttributes atts)
XMLMarshallable
setAttributes in interface XMLMarshallableatts - The XML attributes of the current elementpublic void addCharacterData(java.lang.String cData)
XMLMarshallable
addCharacterData in interface XMLMarshallablecData - The character data to be added
public 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 marshalAttributes(XMLOutputter output)
IXMLMarshallable
marshalAttributes in interface IXMLMarshallableoutput - The XML output to marshal the object attributes intopublic void marshalChildren(XMLOutputter output)
IXMLMarshallable
marshalChildren in interface IXMLMarshallableoutput - The XML output to marshal the child objects into
public java.lang.Class<?> getClass(java.lang.String nsUri,
java.lang.String tag,
XMLAttributes atts)
XMLMappingJava class for a specified XML tag and its attributes in a namespace.
getClass in interface XMLMappingnsUri - The unique resource identifier of the namespace of the XML tagtag - The local part of the XML tagatts - The attributes of the XML tag
Java class with a default constructor
|
Document Published: October 2015 (SAP CC 4.0 SP10 and Later) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||