org.esupportail.portal.channels.CStockage.channelAction.injac
Class DirectoryProperties
java.lang.Object
org.esupportail.portal.channels.CStockage.channelAction.injac.DirectoryProperties
- public class DirectoryProperties
- extends java.lang.Object
Id: DirectoryProperties.java,v 1.0 21 oct. 2004
Copyright (c) 2004 Esup Portail (www.esup-portail.org)
Classes: DirectoryProperties
Original Author: Yohan Colmant
Contains the properties on a directory like its type, rights ....
|
Constructor Summary |
DirectoryProperties(java.lang.String type,
boolean userIsWriter,
boolean userIsEditor,
boolean userIsManager,
java.lang.String rootDocumentName)
Constructor |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DirectoryProperties
public DirectoryProperties(java.lang.String type,
boolean userIsWriter,
boolean userIsEditor,
boolean userIsManager,
java.lang.String rootDocumentName)
- Constructor
- Parameters:
type - The directory type: space or documentuserIsWriter - If user is writer in the case of a spaceuserIsEditor - If user is editor in the case of a spaceuserIsManager - If user is manager in the case of a spacerootDocumentName - The root document name witch is showed
getType
public java.lang.String getType()
- Returns:
- Returns the type.
isUserEditor
public boolean isUserEditor()
- Returns:
- Returns the userIsEditor.
isUserManager
public boolean isUserManager()
- Returns:
- Returns the userIsManager.
isUserWriter
public boolean isUserWriter()
- Returns:
- Returns the userIsWriter.
setType
public void setType(java.lang.String type)
- Parameters:
type - The type to set.
setUserIsEditor
public void setUserIsEditor(boolean userIsEditor)
- Parameters:
userIsEditor - The userIsEditor to set.
setUserIsManager
public void setUserIsManager(boolean userIsManager)
- Parameters:
userIsManager - The userIsManager to set.
setUserIsWriter
public void setUserIsWriter(boolean userIsWriter)
- Parameters:
userIsWriter - The userIsWriter to set.
getRootDocumentName
public java.lang.String getRootDocumentName()
- Returns:
- Returns the rootDocumentName.
setRootDocumentName
public void setRootDocumentName(java.lang.String rootDocumentName)
- Parameters:
rootDocumentName - The rootDocumentName to set.