com.goonit.imapi.jaxrs.servlet.isim
Class personRestore

java.lang.Object
  extended by com.goonit.imapi.jaxrs.servlet.isim.personRestore

public class personRestore
extends java.lang.Object

personRestore is a simple JAX-RS resource.

This class has a Path annotation with the value "personRestore/{dnStr}" which means the resource will be available at: http://<hostname>:<port>/<context root>/goonapi/personRestore/{dnStr}

dnStr should be the Distinguished name of the entry being restored.


Constructor Summary
personRestore()
           
 
Method Summary
 java.lang.String POST(java.lang.String obj, javax.servlet.http.HttpServletRequest requestObj, javax.servlet.http.HttpServletResponse responseObj, java.lang.String dnStr, java.lang.String date)
          Processes a POST request and returns a JSON response containing the Request.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

personRestore

public personRestore()
Method Detail

POST

public java.lang.String POST(java.lang.String obj,
                             @Context
                             javax.servlet.http.HttpServletRequest requestObj,
                             @Context
                             javax.servlet.http.HttpServletResponse responseObj,
                             java.lang.String dnStr,
                             java.lang.String date)
Processes a POST request and returns a JSON response containing the Request.

Parameters:
dnStr - the dn of the person
?date - Query String containing the scheduled date ("null" = submit now)
Returns: