com.goonit.imapi.jaxrs.servlet.isim
Class orgSearch
java.lang.Object
com.goonit.imapi.jaxrs.servlet.isim.orgSearch
public class orgSearch
- extends java.lang.Object
orgSearch
is a RESTFul service which retrieves Organization Units from the ISIM org tree.
This class has a Path
annotation with the value "/orgSearch/{filter}" which
means the resource will be available at:
http://<hostname>:<port>/<context root>/<servlet path>/orgSearch/{searchBase}/{filter}
Method Summary |
java.lang.String |
GET(javax.servlet.http.HttpServletRequest requestObj,
javax.servlet.http.HttpServletResponse responseObj,
java.lang.String filter)
Processes a GET request and returns the stored message. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
orgSearch
public orgSearch()
GET
public java.lang.String GET(@Context
javax.servlet.http.HttpServletRequest requestObj,
@Context
javax.servlet.http.HttpServletResponse responseObj,
java.lang.String filter)
throws java.rmi.RemoteException,
com.ibm.itim.apps.ApplicationException
Processes a GET request and returns the stored message.
- Returns:
- a JSON Object containing an Array of locations, e.g.
{"identifier": "id",
"items":
[
{"ersupervisor":"",
"erparent":"erglobalid=5632373361916938571,ou=orgchart,erglobalid=00000000000000000000,ou=goonit,dc=com2",
"name":"Finance",
"id":"erglobalid=7359008545321563967,ou=orgchart,erglobalid=00000000000000000000,ou=goonit,dc=com2"
}
]}
- Throws:
java.rmi.RemoteException
com.ibm.itim.apps.ApplicationException