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

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

public class personActivities
extends java.lang.Object

personActivities is a RESTFul service which Lists a Person's activities.

This class has a Path annotation with the value "/personActivities/{personDN}" which means the resource will be available at: http://<hostname>:<port>/<context root>/<servlet path>/person/{personDN} Only the GET activities is currently implemented.


Constructor Summary
personActivities()
           
 
Method Summary
 java.lang.String DELETE(java.lang.String strDN)
           
 java.lang.String GET(javax.servlet.http.HttpServletRequest requestObj, javax.servlet.http.HttpServletResponse responseObj, java.lang.String strDN)
          Processes a GET request (READ) and returns a JSON object with the Activities for the Person DN specified.
 java.lang.String POST(java.lang.String json, java.lang.String dnStr)
          Processes a POST request and returns the incoming request message.
 java.lang.String PUT(java.lang.String json, java.lang.String profileName, java.lang.String dnstr)
          Processes a PUT request and returns the incoming request message.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

personActivities

public personActivities()
Method Detail

GET

public java.lang.String GET(@Context
                            javax.servlet.http.HttpServletRequest requestObj,
                            @Context
                            javax.servlet.http.HttpServletResponse responseObj,
                            java.lang.String strDN)
                     throws java.rmi.RemoteException,
                            com.ibm.itim.apps.ApplicationException
Processes a GET request (READ) and returns a JSON object with the Activities for the Person DN specified.

Parameters:
personDN - - the DN of the Person
Throws:
java.rmi.RemoteException
com.ibm.itim.apps.ApplicationException

POST

public java.lang.String POST(java.lang.String json,
                             java.lang.String dnStr)
Processes a POST request and returns the incoming request message.

Parameters:
incomingMessage - the request body is mapped to the String by the JAX-RS runtime using a built-in entity provider
Returns:
the original request body
Throws:
com.ibm.itim.apps.ApplicationException
java.rmi.RemoteException

PUT

public java.lang.String PUT(java.lang.String json,
                            java.lang.String profileName,
                            java.lang.String dnstr)
Processes a PUT request and returns the incoming request message.

Parameters:
incomingMessage - the request body is mapped to the byte[] by the JAX-RS runtime using a built-in entity provider
Returns:
the original request body in a JAX-RS Response object

DELETE

public java.lang.String DELETE(java.lang.String strDN)