| org.jasig.portal.IPermissible
All known Subclasses: org.jasig.portal.channels.cusermanager.CUserManagerPermissions, org.jasig.portal.channels.error.SupportedPermissions, org.jasig.portal.channels.permissionsmanager.PermissibleSubscribeChannels, org.jasig.portal.channels.permissionsmanager.PermissiblePublishChannels, org.jasig.portal.channels.groupsmanager.CGroupsManager, org.jasig.portal.channels.cusermanager.CUserManager,
IPermissible | public interface IPermissible (Code) | | This interface represents the set of questions any channel or service ("Owner") must answer
if it wants to delegate the responsibility of assigning and viewing permissions
to the Permissions Manager channel.
Owners will be registered by the IPermissible classname that represents them.
These classnames will be stored in a database "UP_PERMISSIBLE"
author: Alex vigdor av317@columbia.edu version: $Revision: 34818 $ |
Method Summary | |
public String | getActivityName(String token) For a given activity token, return a human-readable string that describes the activity. | public String[] | getActivityTokens() Return a list of tokens representing all the activities this channel controls with permissions. | public String | getOwnerName() Human-readable name of the owner - normally the Channel name. | public String | getOwnerToken() Return the token used by this channel to represent itself as the owner of generated permissions.
Can be arbitrary, but must be unique - I've been using classnames. | public String | getTargetName(String token) | public String[] | getTargetTokens() Return an array of tokens representing all targets this channel controls with permissions. |
getActivityName | public String getActivityName(String token)(Code) | | For a given activity token, return a human-readable string that describes the activity.
Used in rendering the Permissions Manager GUI.
|
getActivityTokens | public String[] getActivityTokens()(Code) | | Return a list of tokens representing all the activities this channel controls with permissions.
These tokens can be used by the channel to ascertain permissions at runtime after they have
been entered with the Permissions manager
|
getOwnerName | public String getOwnerName()(Code) | | Human-readable name of the owner - normally the Channel name.
|
getOwnerToken | public String getOwnerToken()(Code) | | Return the token used by this channel to represent itself as the owner of generated permissions.
Can be arbitrary, but must be unique - I've been using classnames. This is also used by the channel
to request a PermissionManager from the AuthorizationService at runtime.
|
getTargetName | public String getTargetName(String token)(Code) | | Return the human readable name of a target
|
getTargetTokens | public String[] getTargetTokens()(Code) | | Return an array of tokens representing all targets this channel controls with permissions.
|
|
|