|
SAP Convergent Charging
Java and XML APIs (BART) |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.highdeal.bart.hci.DeleteCDROp
public class DeleteCDROp
This operation requests the BART Server system to delete a CDR stored in the back-end BART Database.
InvalidAcquisitionExceptionThe XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="deleteCDR">
<xs:complexType>
<xs:attribute name="cdrID" type="xs:string"/>
<xs:attribute name="consumptionDate" type="xs:dateTime" use="optional"/>
<xs:attribute name="batchRatingGroupId" type="xs:integer" use="optional"/>
<xs:attribute name="mode" type="DeletionModeType"/>
</xs:complexType>
</xs:element><xs:simpleType name="DeletionModeType">
<xs:restriction base="xs:string">
<xs:enumeration value="delete"/>
<xs:enumeration value="deleteAndDeduplicate"/>
</xs:restriction>
</xs:simpleType>
| Field Summary | |
|---|---|
static int |
DELETE_AND_DEDUPLICATE_MODE
Deletion mode of the SAP CC BART Server system that searches for duplicates after the deletion; This is the default deletion mode. |
static int |
DELETE_MODE
Deletion mode of the SAP CC BART Server system that does not search for duplicates after the deletion |
| Constructor Summary | |
|---|---|
DeleteCDROp()
Deletes a CDR in background BART Database; Default deletion mode is |
|
| Method Summary | |
|---|---|
void |
addCharacterData(java.lang.String cData)
Adds character data to the content element. |
void |
addChild(java.lang.String tagName,
XMLMarshallable marsh)
Adds a child to the object, the child representing
the marshallable object which must be added to the element. |
java.lang.Integer |
getBatchRatingGroupId()
Gets the batch rating group ID. This information will be used in server side in order for better use of database partition. |
java.lang.Long |
getCDRID()
Gets the CDR unique ID |
java.util.Date |
getConsumptionDate()
Gets the consumption date of the CDR; BART Server uses this information to organize the database partitions. |
int |
getMode()
Returns the deletion mode currently set DELETE_AND_DEDUPLICATE_MODE: If there are some duplicate CDRs of the deleted one, the one with the oldest
acquisition date is marked as new
DELETE_MODE: the CDR is deleted regardless of any existing duplicates |
java.lang.String |
getName()
Gets the operation name |
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, including its children. |
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being processed. |
void |
setBatchRatingGroupId(java.lang.Integer batchRatingGroupId)
Sets the batch rating group ID. This information will be used in server side in order for better use of database partition. |
void |
setCDRID(java.lang.Long id)
Sets the CDR unique ID |
void |
setConsumptionDate(java.util.Date consumptionDate)
Sets the consumption date of the CDR; BART Server uses this information to organize the database partitions. |
void |
setMode(int deletionMode)
Sets the execution mode of the deletion request; This deletion mode indicates whether a deduplicate process should be made after a CDR is deleted by the distant SAP CC system. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int DELETE_MODE
public static final int DELETE_AND_DEDUPLICATE_MODE
| Constructor Detail |
|---|
public DeleteCDROp()
DELETE_AND_DEDUPLICATE_MODE| Method Detail |
|---|
public java.lang.String getName()
getName in interface com.highdeal.hci.MessageOperationpublic java.lang.Long getCDRID()
public void setCDRID(java.lang.Long id)
id - The CDR unique identifierpublic void setConsumptionDate(java.util.Date consumptionDate)
consumptionDate - The consumption date of the CDR to modifypublic java.util.Date getConsumptionDate()
public void setBatchRatingGroupId(java.lang.Integer batchRatingGroupId)
batchRatingGroupId - The batch rating group identifierpublic java.lang.Integer getBatchRatingGroupId()
public int getMode()
DELETE_AND_DEDUPLICATE_MODE: If there are some duplicate CDRs of the deleted one, the one with the oldest
acquisition date is marked as new
DELETE_MODE: the CDR is deleted regardless of any existing duplicates
public void setMode(int deletionMode)
DELETE_AND_DEDUPLICATE_MODE: If there are some duplicate CDRs of
the deleted one, the one with the oldest acquisition date is
marked as new
DELETE_MODE: The CDR is deleted regardless of any existing
duplicates
deletionMode - The deletion modepublic 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 marsh)
XMLMarshallablechild representing
the marshallable object which must be added to the element.
addChild in interface XMLMarshallabletagName - The name of tag for the childmarsh - The child to be addedpublic void marshal(XMLOutputter output)
XMLMarshallable
marshal in interface XMLMarshallableoutput - The XML output to marshal the object into
|
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 | ||||||||