com.goonit.imapi.jaxrs.servlet.isim
Class personSuspend
java.lang.Object
com.goonit.imapi.jaxrs.servlet.isim.personSuspend
public class personSuspend
- extends java.lang.Object
personSuspend
is a simple JAX-RS service.
This class has a Path
annotation with the value "personSuspend/{personDN}" which
means the resource will be available at:
http://<hostname>:<port>/<context root>/goonapi/personRestore/{personDN}
dnStr should be the Distinguished name of the entry being restored.
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 |
personSuspend
public personSuspend()
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:
obj
- json string containing a password?date
- Query String containing the scheduled date ("null" = submit now)requestObj
- responseObj
- dnStr
- the dn of the person
- Returns:
- ISIM Request ID