|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.esupportail.portal.channels.CStockage.channelAction.AbstractDefaultRenderXml
org.esupportail.portal.channels.CStockage.channelAction.injac.DefaultRenderXml
Id: DefaultRenderXml.java,v 1.0 27 sept. 2004
Copyright (c) 2004 Esup Portail (www.esup-portail.org)
Classes: DefaultRenderXml
Original Author: Yohan Colmant
Get the XML to show the curent dir
Field Summary | |
protected static Log |
log
Logger object |
Constructor Summary | |
DefaultRenderXml()
|
Method Summary | |
static java.lang.StringBuffer |
getXml(java.util.ArrayList spaces,
Space currentSpace,
ChannelException error,
java.lang.String information,
java.lang.String userPortalLogin,
java.util.Vector userGroups,
DirectoryProperties directoryProperties,
java.lang.String currentSortType)
Return the XML representing the curent dir |
private static java.lang.StringBuffer |
getXmlAction(Space currentSpace,
java.lang.String userPortalLogin,
java.util.Vector userGroups,
DirectoryProperties directoryProperties)
Get the XML for the action bar |
private static java.lang.StringBuffer |
getXmlContent(Space currentSpace,
ChannelResource[] resources,
java.lang.String userPortalLogin,
java.util.Vector userGroups,
DirectoryProperties directoryProperties,
java.lang.String currentSortType)
Get the XML for the content |
private static java.lang.StringBuffer |
getXmlForResource(java.lang.String name,
java.lang.String type,
java.lang.String state,
boolean defaultDocument,
java.lang.String weight,
java.util.Calendar date)
Return the xml for one resource |
Methods inherited from class org.esupportail.portal.channels.CStockage.channelAction.AbstractDefaultRenderXml |
getLastUpdateDateXml, getLengthFormat, getXmlError, getXmlForPasswordSetting, getXmlInformation, getXmlNavigation, getXmlPassword |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final Log log
Constructor Detail |
public DefaultRenderXml()
Method Detail |
public static java.lang.StringBuffer getXml(java.util.ArrayList spaces, Space currentSpace, ChannelException error, java.lang.String information, java.lang.String userPortalLogin, java.util.Vector userGroups, DirectoryProperties directoryProperties, java.lang.String currentSortType)
spaces
- the spaces listcurrentSpace
- the current space usederror
- the error exceptioninformation
- this information messageuserPortalLogin
- the user portal loginuserGroups
- the user portal groupsdirectoryProperties
- currentSortType
- The current and default sort type for the resources
private static java.lang.StringBuffer getXmlAction(Space currentSpace, java.lang.String userPortalLogin, java.util.Vector userGroups, DirectoryProperties directoryProperties) throws PropertiesException, ServerException
currentSpace
- the current space useduserPortalLogin
- the user portal loginuserGroups
- the user portal groupsdirectoryProperties
- the current directory properties
PropertiesException
ServerException
private static java.lang.StringBuffer getXmlContent(Space currentSpace, ChannelResource[] resources, java.lang.String userPortalLogin, java.util.Vector userGroups, DirectoryProperties directoryProperties, java.lang.String currentSortType) throws PropertiesException, ServerException
currentSpace
- the current space usedresources
- all the ChannelWebdavResource objectsuserPortalLogin
- the user portal loginuserGroups
- the user portal groupsdirectoryProperties
- the current directory propertiescurrentSortType
- The current and default sort type for the resources
PropertiesException
ServerException
private static java.lang.StringBuffer getXmlForResource(java.lang.String name, java.lang.String type, java.lang.String state, boolean defaultDocument, java.lang.String weight, java.util.Calendar date)
name
- the name of the resourcetype
- the type of the resourcestate
- the state of a directorydefaultDocument
- if it is a directory, if it is the default documentweight
- the weight of the resourcedate
- the last modification date
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |