java.lang.Objectcom.collabnet.tracker.ws.handler.GetArtifactListHandler
public class GetArtifactListHandler
Handles getArtifactList requests. The format of the request document is:
<getArtifactList xmlns="urn:ws.tracker.collabnet.com">
[query]
</getArtifactList>
The response is of the type
<artifactList xmlns="urn:ws.tracker.collabnet.com">
For the XML [query], see QueryXMLHelper
For the XML format of the response, see ArtifactListXMLHelper.
The getArtifactList operation executes the query and returns the
first n records. If the query results in more than n records
then the getNextPage request can be used to retrieve them. (See
GetNextPageHandler.)
The operation returns full artifact records. So the only thing that's worth specifying as part of the query xml is the sort order of artifacts.
| Constructor Summary | |
|---|---|
GetArtifactListHandler()
|
|
| Method Summary | |
|---|---|
DocumentType[] |
getHandledDocumentTypes()
Returns the {urn:ws.tracker.collabnet.com}getArtifactList document type. |
java.util.List |
getSchemaReferences(Callcontext context,
XMLRequest request)
Returns the schemas used by this handler. |
void |
handle(Callcontext context,
XMLRequest request,
XMLResponse response)
Handles a {urn:ws.tracker.collabnet.com}getArtifactList request. |
void |
produceSchema(Callcontext context,
XMLRequest request,
SchemaVisitor visitor)
Produces schema for <getArtifactList> and <artifactList> documents. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GetArtifactListHandler()
| Method Detail |
|---|
public void handle(Callcontext context,
XMLRequest request,
XMLResponse response)
throws java.lang.Exception
handle in interface DocumentHandlerjava.lang.ExceptionDocumentHandler.handle(com.collabnet.core.ws.services.Callcontext,
com.collabnet.core.ws.dispatcher.XMLRequest,
com.collabnet.core.ws.dispatcher.XMLResponse)
public java.util.List getSchemaReferences(Callcontext context,
XMLRequest request)
throws SchemaReferenceException
getSchemaReferences in interface DocumentHandlerSchemaReferenceExceptionDocumentHandler.getSchemaReferences(com.collabnet.core.ws.services.Callcontext,
com.collabnet.core.ws.dispatcher.XMLRequest)public DocumentType[] getHandledDocumentTypes()
getHandledDocumentTypes in interface DocumentHandlerDocumentHandler.getHandledDocumentTypes()
public void produceSchema(Callcontext context,
XMLRequest request,
SchemaVisitor visitor)
throws SchemaGenerationException
produceSchema in interface DocumentHandlerSchemaGenerationExceptionDocumentHandler.produceSchema(com.collabnet.core.ws.services.Callcontext,
com.collabnet.core.ws.dispatcher.XMLRequest,
com.collabnet.core.xml.SchemaVisitor)