Package com.highdeal.admin.hci
Class PurgeFileMetadataResult
java.lang.Object
com.highdeal.hci.HCIModelAdapter
com.highdeal.hci.OperationResultAdapter
com.highdeal.admin.hci.PurgeFileMetadataResult
- All Implemented Interfaces:
ITagNameProvider,IXMLMarshallable,OperationResult,XMLMarshallable
FOR INTERNAL USE ONLY - See the Admin+ user interface.
This class represents the result of the
Purge File Metadata operation.
It contains the number of file metadata deleted during the execution of the operation.
Operation Request
PurgeFileMetadataOpXML API for HCI
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="purgeFileMetadataResult">
<xs:complexType>
<xs:attribute name="referenceDate" type="xs:dateTime" use="required" />
<xs:attribute name="purgedCount" type="xs:integer" use="required" />
</xs:complexType>
</xs:element>
-
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 code or the reference (if no code exists) that identifies the operand of the operation request; If the operation is not auditable, the operand reference isnull.intGets the number of file metadata deleted during the purge operation.Gets the reference date for the purge operation.Gets the XML tag name of theHCI operation result.voidmarshalAttributes(XMLOutputter output) Gives an XML representation of the attributes of an object.voidmarshalChildren(XMLOutputter output) Gives an XML representation of the child objects of an object.voidsetAttributes(XMLAttributes atts) Sets the attributes of the XML representation of the element being processed.voidsetPurgedCount(int purgedCount) Sets the number of file metadata deleted during the purge operation.voidsetReferenceDate(Date referenceDate) Sets the reference date for the purge operation.Methods inherited from class com.highdeal.hci.HCIModelAdapter
marshal
-
Field Details
-
RESULT_NAME
The XML tag used for this result.- See Also:
-
-
Constructor Details
-
PurgeFileMetadataResult
public PurgeFileMetadataResult()
-
-
Method Details
-
getReferenceDate
Gets the reference date for the purge operation.- Returns:
- the reference date for the purge operation
-
setReferenceDate
Sets the reference date for the purge operation.- Parameters:
referenceDate- the reference date for the purge operation
-
getPurgedCount
public int getPurgedCount()Gets the number of file metadata deleted during the purge operation.- Returns:
- the number of file metadata deleted during the purge operation
-
setPurgedCount
public void setPurgedCount(int purgedCount) Sets the number of file metadata deleted during the purge operation.- Parameters:
purgedCount- the number of file metadata deleted during the purge operation
-
getOperandReference
Description copied from interface:OperationResultGets the code or the reference (if no code exists) that identifies the operand of the operation request; If the operation is not auditable, the operand reference isnull.- Returns:
- The operand reference of the operation result
-
getTagName
Description copied from class:OperationResultAdapterGets the XML tag name of theHCI operation result.- Specified by:
getTagNamein interfaceITagNameProvider- Specified by:
getTagNamein classOperationResultAdapter- Returns:
- The XML tag name
-
setAttributes
Description copied from interface:XMLMarshallableSets the attributes of the XML representation of the element being processed.- Parameters:
atts- TheXML attributesof the current element
-
marshalAttributes
Description copied from interface:IXMLMarshallableGives an XML representation of the attributes of an object.- Parameters:
output- TheXML outputto marshal the object attributes into
-
marshalChildren
Description copied from interface:IXMLMarshallableGives an XML representation of the child objects of an object.- Parameters:
output- TheXML outputto marshal the child objects into
-
addChild
Description copied from interface:XMLMarshallableAdds a child to the object, thechildrepresenting the marshallable object which must be added to the element.- Parameters:
tagName- The name of tag for the childchild- The child to be added
-
addCharacterData
Description copied from interface:XMLMarshallableAdds character data to the content element.- Parameters:
cData- The character data to be added
-