java.lang.Objectcom.collabnet.tracker.ws.handler.RemoveMetadataHandler
public class RemoveMetadataHandler
Handler for [XMLConstants.NAMESPACE]removeMetadata documents
The format of the document is:
<removeMetadata xmlns="urn:ws.tracker.collabnet.com">
<namespace>{the namespace}</namespace>
</removeMetadata>
Note that only metadata associated with namespaces that are in the
'inprogress' state (NamespacePeer.NAMESPACE_INPROGRESS_STATUS)
can be removed.
| Field Summary | |
|---|---|
static java.lang.String |
NAMESPACE_TAG_NAME
The name of the namespace tag |
static java.lang.String |
REQUEST_ROOT_ELEMENT_NAME
The root element of the removeMetadata document |
static java.lang.String |
RESPONSE_ROOT_ELEMENT_NAME
The root element of the removeMetadataResponse document |
| Constructor Summary | |
|---|---|
RemoveMetadataHandler()
|
|
| Method Summary | |
|---|---|
DocumentType[] |
getHandledDocumentTypes()
Returns the [ XMLConstants.NAMESPACE]saveMetadata DocumentType
(non-Javadoc) |
java.util.List |
getSchemaReferences(Callcontext context,
XMLRequest request)
Returns the references to the schemas used by artifactList and updateArtifactList documents. |
void |
handle(Callcontext context,
XMLRequest request,
XMLResponse response)
Handles {XMLConstants.NAMESPACE}saveMetadata documents. |
void |
produceSchema(Callcontext context,
XMLRequest request,
SchemaVisitor visitor)
Generates the schema for updateArtifactList and artifactList documents. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String REQUEST_ROOT_ELEMENT_NAME
public static final java.lang.String RESPONSE_ROOT_ELEMENT_NAME
public static final java.lang.String NAMESPACE_TAG_NAME
| Constructor Detail |
|---|
public RemoveMetadataHandler()
| Method Detail |
|---|
public void handle(Callcontext context,
XMLRequest request,
XMLResponse response)
throws java.lang.Exception
handle in interface DocumentHandlerjava.lang.ExceptionDocumentHandler.handle(Callcontext, XMLRequest, XMLResponse)
public java.util.List getSchemaReferences(Callcontext context,
XMLRequest request)
throws SchemaReferenceException
getSchemaReferences in interface DocumentHandlerSchemaReferenceExceptionDocumentHandler.getSchemaReferences(Callcontext, XMLRequest)public DocumentType[] getHandledDocumentTypes()
XMLConstants.NAMESPACE]saveMetadata DocumentType
(non-Javadoc)
getHandledDocumentTypes in interface DocumentHandlerDocumentHandler.getHandledDocumentTypes()
public void produceSchema(Callcontext context,
XMLRequest request,
SchemaVisitor visitor)
throws SchemaGenerationException
produceSchema in interface DocumentHandlerSchemaGenerationExceptionDocumentHandler.produceSchema(Callcontext, XMLRequest,
SchemaVisitor)