|
SAP CC 3.0 BART API | ||||||||
| 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 allows to delete a CDR.
InvalidAcquisitionException| XML Schema 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
In this mode, a search of duplicate is performed after the deletion. |
static int |
DELETE_MODE
In this mode, no search of duplicate is performed after the deletion. |
| Constructor Summary | |
|---|---|
DeleteCDROp()
Deletes a CDR in database Default deletion mode is |
|
| Method Summary | |
|---|---|
void |
addCharacterData(java.lang.String cData)
|
void |
addChild(java.lang.String tagName,
XMLMarshallable marsh)
|
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. This information will be used in server side in order for better use of database partition. |
int |
getMode()
Returns the mode of the operation. |
java.lang.String |
getName()
Gets the operation name. |
void |
marshal(XMLOutputter output)
|
void |
setAttributes(XMLAttributes atts)
|
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. This information will be used in server side in order for better use of database partition. |
void |
setMode(int deletionMode)
This mode indicates whether a deduplicate process should be made after a CDR is deleted - With mode |
| 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()
public java.lang.Long getCDRID()
public void setCDRID(java.lang.Long id)
id - the CDR unique id.public 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 Idpublic java.lang.Integer getBatchRatingGroupId()
public int getMode()
if there are some duplicate CDR of the deleted one, the one with the oldest
acquisition date is marked as new,
the CDR is deleted regardless of any existing duplicatespublic void setMode(int deletionMode)
deletionMode - if there are some duplicate CDR of
the deleted one, the one with the oldest acquisition date is
marked as new,
the CDR is deleted regardless of any existing
duplicatespublic void setAttributes(XMLAttributes atts)
public void addCharacterData(java.lang.String cData)
public void addChild(java.lang.String tagName,
XMLMarshallable marsh)
public void marshal(XMLOutputter output)
|
SAP CC 3.0 BART API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||