org.jasig.portal.channels.error
Class SupportedPermissions

java.lang.Object
  extended by org.jasig.portal.channels.error.SupportedPermissions
All Implemented Interfaces:
IPermissible

Deprecated. All IChannel implementations should be migrated to portlets

@Deprecated
public class SupportedPermissions
extends Object
implements IPermissible

Conveys the single permission available from CError that if granted allows users to see the stack trace button. This allows PermissionsManager to show the permission available from CError and grant it to other users or groups.

Since:
uPortal 2.6.
Author:
Mark Boyd, mboyd@sungardsct.com

Constructor Summary
SupportedPermissions()
          Deprecated.  
 
Method Summary
 String getActivityName(String token)
          Deprecated. For a given activity token, return a human-readable string that describes the activity.
 String[] getActivityTokens()
          Deprecated. Return a list of tokens representing all the activities this channel controls with permissions.
 String getOwnerName()
          Deprecated. Human-readable name of the owner - normally the Channel name.
 String getOwnerToken()
          Deprecated. Return the token used by this channel to represent itself as the owner of generated permissions.
 String getTargetName(String token)
          Deprecated. Return the human readable name of a target
 String[] getTargetTokens()
          Deprecated. Return an array of tokens representing all targets this channel controls with permissions.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SupportedPermissions

public SupportedPermissions()
Deprecated. 
Method Detail

getActivityTokens

public String[] getActivityTokens()
Deprecated. 
Description copied from interface: IPermissible
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

Specified by:
getActivityTokens in interface IPermissible

getActivityName

public String getActivityName(String token)
Deprecated. 
Description copied from interface: IPermissible
For a given activity token, return a human-readable string that describes the activity. Used in rendering the Permissions Manager GUI.

Specified by:
getActivityName in interface IPermissible

getTargetTokens

public String[] getTargetTokens()
Deprecated. 
Description copied from interface: IPermissible
Return an array of tokens representing all targets this channel controls with permissions.

Specified by:
getTargetTokens in interface IPermissible

getTargetName

public String getTargetName(String token)
Deprecated. 
Description copied from interface: IPermissible
Return the human readable name of a target

Specified by:
getTargetName in interface IPermissible

getOwnerToken

public String getOwnerToken()
Deprecated. 
Description copied from interface: IPermissible
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.

Specified by:
getOwnerToken in interface IPermissible

getOwnerName

public String getOwnerName()
Deprecated. 
Description copied from interface: IPermissible
Human-readable name of the owner - normally the Channel name.

Specified by:
getOwnerName in interface IPermissible


Copyright © 2010 Jasig. All Rights Reserved.