com.anabas.sharedlet
Interface SharedletRoleInfo
- public interface SharedletRoleInfo
Interface for defining the roles that a sharedlet has.
Each role is defined to be a list of capabilities. For example, a "Host" role
normally has all of the capabilities listed. a "Participant" role normally
has a minimal set of capabilities listed.
This structure is used by the management system to set the capabilities for
a particular instance of the sharedlet.
getID
public java.lang.String getID()
- Returns:
- The unique identifier for this role.
getRoleCapabilities
public CapabilityList getRoleCapabilities()
- Returns:
- A list of capabilities for this role.
getRoleViews
public java.util.Vector getRoleViews()
- Returns:
- A list of view ID's that this a particular role is allowed to see.
Sames as that returned by SharedletViewInfo.getID();
getRoleModeratableElements
public java.util.Vector getRoleModeratableElements()
- Returns:
- A list of moderatable role element names that are enabled for this
role.