|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.goonit.imapi.jaxrs.servlet.isim.service
public class service
service
is a RESTFul service which performs Create, Read, Update and Delete operations on Service Entities.
http://<hostname>:<port>/<context root>/<servlet path>/service/{dnStr}
For GET, POST and DELETE Methods the dnStr represents the DN of the Person
For PUT (Create Person) dnStr is the DN of the Organization Container within which the user should be created.
Constructor Summary | |
---|---|
service()
|
Method Summary | |
---|---|
java.lang.String |
DELETE(java.lang.String strDN)
Processes a DELETE (Service DELETE) request and returns the ISIM process id of the request. |
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 Service Details. |
java.lang.String |
POST(java.lang.String json,
java.lang.String dnStr)
Processes a POST (Service Update) request and returns the ISIM process id of the request. |
java.lang.String |
putMessage(java.lang.String json,
java.lang.String profileName,
java.lang.String dnstr)
Processes a PUT (Service Create) request and returns the ISIM process id of the request. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public service()
Method Detail |
---|
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
java.rmi.RemoteException
com.ibm.itim.apps.ApplicationException
public java.lang.String POST(java.lang.String json, java.lang.String dnStr)
{dnStr}
- the DN of the Person being updated.
e.g https://localhost/goonit/goonapi/service/erglobalid=5913724919930104998,ou=services,erglobalid=00000000000000000000,ou=goonit,dc=com2?date=
- optional date to schedule the requestmessageBody
- - A JSON Object representing the attributes being changed, e.g.
{
"attributeValueMap": {
"erservicename": { "name": "erservicename","values": ["GoonIT Linux ISIM Dev"]}}}
public java.lang.String putMessage(java.lang.String json, java.lang.String profileName, java.lang.String dnstr)
{dnStr}
- the DN of the Organisation unit in which the service is being updated.
e.g https://localhost/goonit/goonapi/service/erglobalid=6328172302732505759,ou=orgchart,erglobalid=00000000000000000000,ou=goonit,dc=com2?date=
- optional date to schedule the requestmessageBody
- - A JSON Object representing the Service attributes (dn, objectclass, erglobalid should not be set)
public java.lang.String DELETE(java.lang.String strDN)
{dnStr}
- the DN of the Service being deleted.
e.g https://localhost/goonit/goonapi/service/erglobalid=5913724919930104998,ou=services,erglobalid=00000000000000000000,ou=goonit,dc=com2
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |