org.jasig.portal.channels
Class CPersonAttributes

java.lang.Object
  extended by org.jasig.portal.channels.BaseChannel
      extended by org.jasig.portal.channels.CPersonAttributes
All Implemented Interfaces:
IChannel, IMimeResponse

Deprecated. All IChannel implementations should be migrated to portlets

@Deprecated
public class CPersonAttributes
extends BaseChannel
implements IMimeResponse

This channel demonstrates the method of obtaining and displaying standard uPortal person attributes. Implements IMimeResponse in order to support the inline display of jpegPhotos Note: for proper operation, one should use an idempotent baseActionURL.

Version:
$Revision: 19776 $ $Date: 2010-01-14 16:17:21 -0600 (Thu, 14 Jan 2010) $
Author:
Ken Weiner, kweiner@unicon.net, Yuji Shinozaki, ys2n@virginia.edu

Field Summary
 
Fields inherited from class org.jasig.portal.channels.BaseChannel
log, runtimeData, staticData
 
Constructor Summary
CPersonAttributes()
          Deprecated.  
 
Method Summary
 void downloadData(OutputStream out)
          Deprecated. Pass the OutputStream object to the download code if it needs special handling (like outputting a Zip file).
 String getContentType()
          Deprecated. Returns the MIME type of the content.
 Map getHeaders()
          Deprecated. Returns a list of header values that can be set in the HttpResponse.
 InputStream getInputStream()
          Deprecated. Returns the MIME content in the form of an input stream.
 String getName()
          Deprecated. Returns the name of the MIME file.
 void renderXML(ContentHandler out)
          Deprecated. Ask channel to render its content.
 void reportDownloadError(Exception e)
          Deprecated. Let the channel know that there were problems with the download
 
Methods inherited from class org.jasig.portal.channels.BaseChannel
getRuntimeProperties, receiveEvent, setRuntimeData, setStaticData, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CPersonAttributes

public CPersonAttributes()
Deprecated. 
Method Detail

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
Overrides:
renderXML in class BaseChannel
Parameters:
out - the SAX ContentHandler to output content to
Throws:
PortalException

getContentType

public String getContentType()
Deprecated. 
Returns the MIME type of the content.

Specified by:
getContentType in interface IMimeResponse

getInputStream

public InputStream getInputStream()
                           throws IOException
Deprecated. 
Returns the MIME content in the form of an input stream. Returns null if the code needs the OutputStream object

Specified by:
getInputStream in interface IMimeResponse
Throws:
IOException

downloadData

public void downloadData(OutputStream out)
                  throws IOException
Deprecated. 
Pass the OutputStream object to the download code if it needs special handling (like outputting a Zip file). Unimplemented.

Specified by:
downloadData in interface IMimeResponse
Throws:
IOException

getName

public String getName()
Deprecated. 
Returns the name of the MIME file.

Specified by:
getName in interface IMimeResponse

getHeaders

public Map getHeaders()
Deprecated. 
Returns a list of header values that can be set in the HttpResponse. Returns null if no headers need to be set.

Specified by:
getHeaders in interface IMimeResponse

reportDownloadError

public void reportDownloadError(Exception e)
Deprecated. 
Let the channel know that there were problems with the download

Specified by:
reportDownloadError in interface IMimeResponse
Parameters:
e -


Copyright © 2010 Jasig. All Rights Reserved.