|
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.SchedulableJobModel
com.highdeal.bart.hci.CleanDatabaseJobModel
public class CleanDatabaseJobModel
Clean database job model is a extends of abstract class SchedulableJobModel.
A clean database job model is used a job to clean old CDRs, acquisition sessions and rating sessions.
This job is NOT the same as the database job "purge and archive" and using both can lead to conflicts.
A clean database job model is similar to an SchedulableJobModel but the delay. Each time the job is launched, the
delay is remove from the current date. All CDRs which have an acquisition date older to this delay are deleted.
| XML Schema Fragment |
<xs:element name="cleanDatabaseJob">
<xs:complexType>
<xs:attribute name="pollingPeriod" type="xs:string"/>
<xs:attribute name="recurrence" type="xs:string"/>
<xs:attribute name="delay" type="xs:string"/>
<xs:attribute name="status" type="cleanDatabaseJobStatusType"/>
<xs:attribute name="description" type="xs:string"/>
<xs:attribute name="jobID" type="xs:long"/>
</xs:complexType>
</xs:element> |
<xs:simpleType name="cleanDatabaseJobStatusType">
<xs:restriction base="xs:string">
<xs:enumeration value="active"/>
<xs:enumeration value="inactive"/>
</xs:restriction>
</xs:simpleType> |
| Field Summary | |
|---|---|
static java.lang.String |
NAME
XML tag name of this model. |
| Fields inherited from class com.highdeal.bart.hci.SchedulableJobModel |
|---|
STATUS_ACTIVE, STATUS_INACTIVE |
| Constructor Summary | |
|---|---|
CleanDatabaseJobModel()
Builds an empty job model. |
|
CleanDatabaseJobModel(java.lang.Long delay,
java.lang.Long pollingPeriod,
java.lang.String recurrence,
int status,
java.lang.String description)
Public constructor |
|
| Method Summary | |
|---|---|
void |
addCharacterData(java.lang.String cData)
|
void |
addChild(java.lang.String tagName,
XMLMarshallable child)
|
java.lang.Long |
getDelay()
Gets the delay. |
java.lang.String |
getJobClassName()
Gets the class name of this job. |
void |
marshal(XMLOutputter output)
|
void |
setAttributes(XMLAttributes atts)
|
void |
setDelay(java.lang.Long delay)
Sets the delay. |
| Methods inherited from class com.highdeal.bart.hci.SchedulableJobModel |
|---|
_getJobID, _getLastActivationDate, _setJobID, _setLastActivationDate, compareTo, getDescription, getPollingPeriod, getRecurrence, getRecurrenceAsString, getStatus, innerMarshall, innerSetAttributes, parseStatus, setDescription, setPollingPeriod, setRecurrence, setRecurrenceAsString, setStatus, statusToString, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String NAME
| Constructor Detail |
|---|
public CleanDatabaseJobModel()
public CleanDatabaseJobModel(java.lang.Long delay,
java.lang.Long pollingPeriod,
java.lang.String recurrence,
int status,
java.lang.String description)
delay - pollingPeriod - recurrence - status - description - | Method Detail |
|---|
public void setDelay(java.lang.Long delay)
delay - the delaypublic java.lang.Long getDelay()
public java.lang.String getJobClassName()
getJobClassName in class SchedulableJobModelpublic void setAttributes(XMLAttributes atts)
public void addChild(java.lang.String tagName,
XMLMarshallable child)
public void addCharacterData(java.lang.String cData)
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 | ||||||||