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

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

public class customLabels
extends java.lang.Object

customLabels is a RESTFul service which retrieves ISIM properties files from the data directory and returns them as a JSON Object.

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


Constructor Summary
customLabels()
           
 
Method Summary
 java.lang.String GET(java.lang.String data, java.lang.String reportName)
          Processes a GET request (READ) and returns a JSON objectfrom the properties file.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

customLabels

public customLabels()
Method Detail

GET

public java.lang.String GET(java.lang.String data,
                            java.lang.String reportName)
Processes a GET request (READ) and returns a JSON objectfrom the properties file.

Parameters:
filename - - the properties file to return
 e.g. http://localhost/goonit/goonapi/customLabels/CustomLabels.properties
 
{
....
"PasswordPolicy":"Password policy",
"userRecertAccountsRejectedLabel":"The following accounts were rejected, along with all groups associated with the accounts:",
"ercacertstore":"CA certificate store",
"erdisallowedaction":"Disallowed action",
"givenname":"First name",
"DSMLInfo":"DSML identity feed",
"firstnamedotlastname":"Given name dot Last name",
"enRoleService":"ITIM",
"role.classification.business":"Business role",
"recertDeclinedAcctDeletedBody":"The account {0} on service {1} owned by {2} has been deleted due to rejection of a recertification request.",
"errolename":"Name",
"labeleduri":"URI","inactive":"Inactive",
"EMAIL":"E-mail address",
"erjavascript":"JavaScript",
"ergroupname":"Group name",
"erCredentialName":"Name"
....
}