org.jasig.portal.channels.cusermanager
Class CUserManager

java.lang.Object
  extended by org.jasig.portal.channels.cusermanager.CUserManager
All Implemented Interfaces:
IChannel, IPermissible

Deprecated. All IChannel implementations should be migrated to portlets

@Deprecated
public class CUserManager
extends Object
implements IChannel, IPermissible

Version:
$Revision: 19776 $ $Date: 2010-01-14 16:17:21 -0600 (Thu, 14 Jan 2010) $
Author:
smb1@cornell.edu, apetro@unicon.net

Field Summary
protected static Properties activities
          Deprecated.  
static String[] activityNames
          Deprecated. Description of the Field
static String[] activityTokens
          Deprecated. Values for use by the permissions manager
protected  org.apache.commons.logging.Log log
          Deprecated.  
 
Constructor Summary
CUserManager()
          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.
 ChannelRuntimeProperties getRuntimeProperties()
          Deprecated. Acquires ChannelRuntimeProperites from the channel.
 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.
 void receiveEvent(PortalEvent ev)
          Deprecated. Passes an outside event to a channel.
 void renderXML(ContentHandler out)
          Deprecated. Ask channel to render its content.
 void setRuntimeData(ChannelRuntimeData rd)
          Deprecated. Passes ChannelRuntimeData to the channel.
 void setStaticData(ChannelStaticData sd)
          Deprecated. Passes ChannelStaticData to the channel.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jasig.portal.IPermissible
getActivityName, getActivityTokens, getOwnerName, getOwnerToken, getTargetName, getTargetTokens
 

Field Detail

log

protected final org.apache.commons.logging.Log log
Deprecated. 

activityTokens

public static String[] activityTokens
Deprecated. 
Values for use by the permissions manager


activityNames

public static String[] activityNames
Deprecated. 
Description of the Field


activities

protected static final Properties activities
Deprecated. 
Constructor Detail

CUserManager

public CUserManager()
Deprecated. 
Method Detail

getRuntimeProperties

public ChannelRuntimeProperties getRuntimeProperties()
Deprecated. 
Description copied from interface: IChannel
Acquires ChannelRuntimeProperites from the channel. This function may be called by the portal framework throughout the session.

Specified by:
getRuntimeProperties in interface IChannel
See Also:
ChannelRuntimeProperties

receiveEvent

public void receiveEvent(PortalEvent ev)
Deprecated. 
Description copied from interface: IChannel
Passes an outside event to a channel. Events should normally come from the LayoutBean.

Specified by:
receiveEvent in interface IChannel
Parameters:
ev - PortalEvent object
See Also:
PortalEvent

setStaticData

public void setStaticData(ChannelStaticData sd)
Deprecated. 
Description copied from interface: IChannel
Passes ChannelStaticData to the channel. This is done during channel instantiation time. see org.jasig.portal.ChannelStaticData

Specified by:
setStaticData in interface IChannel
Parameters:
sd - channel static data
See Also:
ChannelStaticData

setRuntimeData

public void setRuntimeData(ChannelRuntimeData rd)
Deprecated. 
Description copied from interface: IChannel
Passes ChannelRuntimeData to the channel. This function is called prior to the renderXML() call.

Specified by:
setRuntimeData in interface IChannel
Parameters:
rd - channel runtime data
See Also:
ChannelRuntimeData

renderXML

public void renderXML(ContentHandler out)
               throws PortalException
Deprecated. 
Description copied from interface: IChannel
Ask channel to render its content.

Specified by:
renderXML in interface IChannel
Parameters:
out - the SAX ContentHandler to output content to
Throws:
PortalException

getActivityTokens

public String[] getActivityTokens()
Deprecated. 
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. 
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. 
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. 
Return the human readable name of a target

Specified by:
getTargetName in interface IPermissible

getOwnerToken

public String getOwnerToken()
Deprecated. 
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. 
Human-readable name of the owner - normally the Channel name.

Specified by:
getOwnerName in interface IPermissible


Copyright © 2010 Jasig. All Rights Reserved.