|
CStockage 4.2_beta-RC-1 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jasig.portal.channels.BaseChannel
org.esupportail.portal.channels.CStockage.CStockage
Id: CStockage.java,v 1.0 7 avr. 2004
Copyright (c) 2004 Esup Portail (www.esup-portail.org)
Classes: CStockage
Original Author: Yohan Colmant
Channel used to manage personal files on a webdav server through the portal
Constructor Summary | |
CStockage()
Constructor |
Method Summary | |
static void |
addObligedSpacesToList(java.lang.String userPortalLogin,
java.util.Vector userGroups,
java.util.ArrayList initialSpaces)
Set the obliged spaces for this user |
void |
downloadData(java.io.OutputStream arg0)
Function unused here |
org.jasig.portal.ChannelCacheKey |
generateKey()
|
static java.util.TreeMap[] |
getAvailableAndUsedSpaces(PersonalizationTool tool,
java.lang.String userPortalLogin,
java.util.Vector userGroups)
Set the used spaces and the avalaible spaces for this user |
java.lang.String |
getContentType()
Return the content type of the seleted file |
java.util.Map |
getHeaders()
Send HTTP header |
java.util.Map |
getHeaders2()
Send HTTP header |
java.io.InputStream |
getInputStream()
Get the strem for the file to dowload |
java.lang.String |
getName()
Function unused here |
boolean |
isCacheValid(java.lang.Object validity)
|
void |
renderXML(org.xml.sax.ContentHandler out)
Output channel content to the portal |
void |
reportDownloadError(java.lang.Exception arg0)
Print the error generated by the download |
static Space |
setSpacesIntoMenu(java.util.ArrayList spaces,
Space currentSpace,
PersonalizationTool tool,
org.jasig.portal.security.IPerson person,
java.lang.String userPortalLogin,
java.util.Vector userGroups,
java.util.TreeMap usedSpaces,
BufferAction buffer)
Set the personal spaces into the spaces menu |
void |
setStaticData(org.jasig.portal.ChannelStaticData sd)
Receive static channel data from the portal. |
static void |
xsltTransformation(org.jasig.portal.utils.XSLT xslt,
java.lang.StringBuffer xmlTemp,
org.xml.sax.ContentHandler out,
org.jasig.portal.ChannelRuntimeData runtimeData,
java.lang.StringBuffer stylesheet,
BufferAction buffer,
boolean isSpacesPersonalization)
Do the XSLT transformation in the channel |
Methods inherited from class org.jasig.portal.channels.BaseChannel |
getRuntimeProperties, receiveEvent, setRuntimeData |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CStockage()
Method Detail |
public void setStaticData(org.jasig.portal.ChannelStaticData sd)
setStaticData
in interface org.jasig.portal.IChannel
sd
- ChannelStaticData static channel datapublic void renderXML(org.xml.sax.ContentHandler out) throws org.jasig.portal.PortalException
renderXML
in interface org.jasig.portal.IChannel
out
- a sax document handler
org.jasig.portal.PortalException
public static void xsltTransformation(org.jasig.portal.utils.XSLT xslt, java.lang.StringBuffer xmlTemp, org.xml.sax.ContentHandler out, org.jasig.portal.ChannelRuntimeData runtimeData, java.lang.StringBuffer stylesheet, BufferAction buffer, boolean isSpacesPersonalization) throws org.jasig.portal.PortalException
xslt
- the XSLT objectxmlTemp
- the XML generatedout
- the ContentHandler objectruntimeData
- the ChannelRuntimeData objectstylesheet
- the stylesheet usedbuffer
- the buffer used in the channel
org.jasig.portal.PortalException
public static void addObligedSpacesToList(java.lang.String userPortalLogin, java.util.Vector userGroups, java.util.ArrayList initialSpaces) throws DataBaseException, PropertiesException, ServerException
DataBaseException
PropertiesException
ServerException
public static java.util.TreeMap[] getAvailableAndUsedSpaces(PersonalizationTool tool, java.lang.String userPortalLogin, java.util.Vector userGroups) throws DataBaseException, PropertiesException, ServerException
DataBaseException
PropertiesException
ServerException
public static Space setSpacesIntoMenu(java.util.ArrayList spaces, Space currentSpace, PersonalizationTool tool, org.jasig.portal.security.IPerson person, java.lang.String userPortalLogin, java.util.Vector userGroups, java.util.TreeMap usedSpaces, BufferAction buffer) throws DataBaseException, ChannelException
DataBaseException
ChannelException
public java.lang.String getContentType()
getContentType
in interface org.jasig.portal.IMimeResponse
IMimeResponse.getContentType()
public java.util.Map getHeaders()
getHeaders
in interface org.jasig.portal.IMimeResponse
IMimeResponse.getHeaders()
public java.util.Map getHeaders2()
IMimeResponse.getHeaders()
public java.io.InputStream getInputStream() throws java.io.IOException
getInputStream
in interface org.jasig.portal.IMimeResponse
java.io.IOException
IMimeResponse.getInputStream()
public void downloadData(java.io.OutputStream arg0) throws java.io.IOException
downloadData
in interface org.jasig.portal.IMimeResponse
java.io.IOException
IMimeResponse.downloadData(java.io.OutputStream)
public java.lang.String getName()
getName
in interface org.jasig.portal.IMimeResponse
IMimeResponse.getName()
public void reportDownloadError(java.lang.Exception arg0)
reportDownloadError
in interface org.jasig.portal.IMimeResponse
IMimeResponse.reportDownloadError(java.lang.Exception)
public org.jasig.portal.ChannelCacheKey generateKey()
generateKey
in interface org.jasig.portal.ICacheable
public boolean isCacheValid(java.lang.Object validity)
isCacheValid
in interface org.jasig.portal.ICacheable
|
CStockage 4.2_beta-RC-1 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |