com.nesstar.api
Interface Role

All Superinterfaces:
NesstarBankObject, NesstarObject

public interface Role
extends NesstarBankObject

A Role on a Nesstar Server. A Role can have 0 or more User associated with it.

Since:
0.2

Method Summary
 String getDescription()
          Returns a more detailed (unstructured) description of the Role.
 String getId()
          Returns the Id of the Role (e.g.
 String getName()
          Returns the Name of the Role (e.g.
 
Methods inherited from interface com.nesstar.api.NesstarObject
getLabel, getTimeStamp, reload, toURI
 

Method Detail

getId

String getId()
Returns the Id of the Role (e.g. "administrator", "anonymous", etc).

Specified by:
getId in interface NesstarObject
Returns:

getName

String getName()
               throws NotAuthorizedException,
                      IOException
Returns the Name of the Role (e.g. "The administrator user").

Returns:
Throws:
NotAuthorizedException - If access was denied by the Nesstar server.
IOException

getDescription

String getDescription()
                      throws NotAuthorizedException,
                             IOException
Returns a more detailed (unstructured) description of the Role.

Returns:
Throws:
NotAuthorizedException - If access was denied by the Nesstar server.
IOException


Copyright © 2011, NSD All rights reserved