public class CustomInfoHandler extends BaseHandler
VALID| Constructor and Description | 
|---|
| CustomInfoHandler() | 
| Modifier and Type | Method and Description | 
|---|---|
| int | createKey(User loggedInUser,
         java.lang.String keyLabel,
         java.lang.String keyDescription)Create a new custom key | 
| int | deleteKey(User loggedInUser,
         java.lang.String keyLabel)Delete an existing custom key | 
| java.lang.Object[] | listAllKeys(User loggedInUser)List the custom information keys defined for the user's organization. | 
| int | updateKey(User loggedInUser,
         java.lang.String keyLabel,
         java.lang.String keyDescription)Update description of a custom key | 
ensureConfigAdmin, ensureOrgAdmin, ensureOrgOrConfigAdmin, ensureSatAdmin, ensureSystemGroupAdmin, ensureUserRole, getLoggedInUser, invoke, providesAuthentication, setEntityAttribute, validateClientCertificate, validateEntitlements, validateMap, verifyOrgExistspublic int createKey(User loggedInUser, java.lang.String keyLabel, java.lang.String keyDescription) throws FaultException
loggedInUser - The current userkeyLabel - stringkeyDescription - stringFaultException - A FaultException is thrown if:
   - Either the label or description is not provided
   - Any error occurspublic int updateKey(User loggedInUser, java.lang.String keyLabel, java.lang.String keyDescription) throws FaultException
loggedInUser - The current userkeyLabel - stringkeyDescription - stringFaultException - A FaultException is thrown if a key doesn't exist or
 an iinvalid description is providedpublic int deleteKey(User loggedInUser, java.lang.String keyLabel) throws FaultException
loggedInUser - The current userkeyLabel - stringFaultException - A FaultException is thrown if:
   - Either the label or description is not provided
   - Any error occurspublic java.lang.Object[] listAllKeys(User loggedInUser) throws FaultException
loggedInUser - The current userFaultException - A FaultException is thrown on error.