|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.gpt.server.csw.provider.DeleteProvider
public class DeleteProvider
Provides the CSW Transaction/Delete operation.
Constructor Summary | |
---|---|
DeleteProvider()
Default constructor |
Method Summary | |
---|---|
protected void |
executeDelete(OperationContext context,
Publisher publisher,
String typeName,
String handle,
String[] ids)
Executes a deletion request. |
void |
generateResponse(OperationContext context)
Generates the response. |
void |
handleGet(OperationContext context,
HttpServletRequest request)
Handles a URL based request (HTTP GET). |
void |
handleXML(OperationContext context,
Node root,
XPath xpath)
Handles an XML based request (normally HTTP POST). |
protected void |
parseDeletionIds(Node parent,
XPath xpath,
StringSet ids)
Parses a parent node for logical, property comparison and spatial sub-clauses. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DeleteProvider()
Method Detail |
---|
protected void executeDelete(OperationContext context, Publisher publisher, String typeName, String handle, String[] ids) throws Exception
context
- the operation contextpublisher
- the authenticated publishertypeName
- the CSW collection typehandle
- a client supplied name (can be echoed within the response)ids
- the collection of IDs to delete
Exception
- if a processing exception occurspublic void generateResponse(OperationContext context) throws Exception
context
- the operation context
Exception
- if a processing exception occurspublic void handleGet(OperationContext context, HttpServletRequest request) throws Exception
handleGet
in interface IOperationProvider
context
- the operation contextrequest
- the HTTP request
Exception
- if a processing exception occurspublic void handleXML(OperationContext context, Node root, XPath xpath) throws Exception
handleXML
in interface IOperationProvider
context
- the operation contextroot
- the root nodexpath
- an XPath to enable queries (properly configured with name spaces)
Exception
- if a processing exception occursprotected void parseDeletionIds(Node parent, XPath xpath, StringSet ids) throws OwsException, XPathExpressionException
parent
- the parent node from which sub-clauses will readxpath
- an XPath to enable queries (properly configured with name spaces)ids
- the collection of ID's to populate for deletion
OwsException
- if validation fails
XPathExpressionException
- if an XPath related exception occurs
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |