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

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

public class accountOrphan
extends java.lang.Object

accountOrphan is a RESTful service which turns an existing Adopted account into an Orphan. It can be used to orphan accounts adopted in error.

 This class has a Path annotation with the value "/orphanAccount/" which
 means the resource will be available at:
 http://<hostname>:<port>/<context root>/<servlet path>/orphanAccount/

 Only POST Operation is supported: -
 
 POST should contain a JSON array of the accounts to be orphaned
 ["erglobalid=5492820963263542989,ou=orphans,erglobalid=00000000000000000000,ou=goonit,dc=com2",
 "erglobalid=5492820989601278193,ou=orphans,erglobalid=00000000000000000000,ou=goonit,dc=com2"]
    


Constructor Summary
accountOrphan()
           
 
Method Summary
 java.lang.String POST(java.lang.String json)
          Processes a POST request to adopt accounts.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

accountOrphan

public accountOrphan()
Method Detail

POST

public java.lang.String POST(java.lang.String json)
Processes a POST request to adopt accounts.

Parameters:
messageBody - a JSON array of accounts to be orphaned
 ["erglobalid=5492820963263542989,ou=orphans,erglobalid=00000000000000000000,ou=goonit,dc=com2",
 "erglobalid=5492820989601278193,ou=orphans,erglobalid=00000000000000000000,ou=goonit,dc=com2"]