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

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

public class accountform
extends com.goonit.imapi.jaxrs.servlet.isim.LDAPHelper

 accountform is a RESTful service which retrieves details of the ISIM Accountform template for an Account profile.
 

This class has a Path annotation with the value "/accountform/{profileName}" which means the resource will be available at: http://<hostname>:<port>/<context root>/<servlet path>/accountform/{profileName} http://localhost/goonit/goonapi/accountform/ldapprofile Only the GET Method is implemented, updates to Account form templates must be done through ISIM. This service returns the same data as /objectprofile which takes eraccountname as the input parameter.


Constructor Summary
accountform()
           
 
Method Summary
 java.lang.String GET(javax.servlet.http.HttpServletRequest requestObj, javax.servlet.http.HttpServletResponse responseObj, java.lang.String profilename)
          Processes a GET request (READ) and returns a JSON object with the Account Details.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

accountform

public accountform()
Method Detail

GET

public java.lang.String GET(@Context
                            javax.servlet.http.HttpServletRequest requestObj,
                            @Context
                            javax.servlet.http.HttpServletResponse responseObj,
                            java.lang.String profilename)
                     throws java.lang.Exception
Processes a GET request (READ) and returns a JSON object with the Account Details.

Parameters:
profileName - the profile name for the account e.g http://localhost/goonit/goonapi/objectprofile/ldapaccount
Returns:
{"body": {"tabbedForm": [{"@index":"0", "@selected":"true", "title":"$tag.ldap.User", "image":[], "url":"javascript:switchTabs(document.forms['body'],0);", "formElement":[{"@name":"data.eruid","@label":"$eruid", "@required":"true","input":{"@name":"data.eruid","@size":"50"}, "constraint":{"type":"REQUIRED","parameter":"true"} }, {"@name":"data.erldapcontainername", "@label":"$erldapcontainername", "@isReadOnlyOnModify":"true", "searchFilter":{"filter":"(objectclass=erLdapContainerAccount)", "base":"contextual", "attribute":"erLdapContainerName", "size":[], "prepopulate":"false"} }, .... "displayNames": { "erldapinitialgrpmem": "Initial group member", "tag.ldap.address": "Address", "erservicepassword": "Administrator password", "erldapgroupfullname": "Group Full Name", "erldappwdreset": "Force a password change at next logon?", "erdsname": "Directory server name", "erldapgrprdn": "Group RDN attribute", "tag.ldap.group": "Group", "erldapgrouporganizationalunit": "Group Organizational Unit", "erldapalfilesystempath": "AL FileSystem Path", "erldapgroupseealso": "See Also", "erusercontainerdn": "User base DN", "tag.ldap.business": "Business", "erresourceurl": "Directory server location", "erldapgrpmemattr": "Group membership attribute", "tag.ldap.other": "Other", "tag.ldap.user": "User", "erldapgrouporganization": "Group Organization", "ldapprofile": "LDAP profile", "erldapgroupaccount": "LDAP groups", "erldapdisablealcache": "Disable AL Caching", "erldappagesize": "LDAP Page size", "ldapaccount": "LDAP account", "erldapgroupowner": "Group Owner", "erserviceuid": "Administrator name", "erldapgroupbusinesscategory": "Group Business Category", "ergroupscontainerdn": "Group base DN", "erldapgroupclass": "Group object class name",
Throws:
java.lang.Exception