|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.esupportail.portal.channels.CStockage.channelAction.injac.DirectoryProperties
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 ....
Field Summary | |
private java.lang.String |
rootDocumentName
The root document name witch is showed |
private java.lang.String |
type
The directory type: space or document |
private boolean |
userIsEditor
If user is editor in the case of a space |
private boolean |
userIsManager
If user is manager in the case of a space |
private boolean |
userIsWriter
If user is writer in the case of a space |
Constructor Summary | |
DirectoryProperties(java.lang.String type,
boolean userIsWriter,
boolean userIsEditor,
boolean userIsManager,
java.lang.String rootDocumentName)
Constructor |
Method Summary | |
java.lang.String |
getRootDocumentName()
|
java.lang.String |
getType()
|
boolean |
isUserEditor()
|
boolean |
isUserManager()
|
boolean |
isUserWriter()
|
void |
setRootDocumentName(java.lang.String rootDocumentName)
|
void |
setType(java.lang.String type)
|
void |
setUserIsEditor(boolean userIsEditor)
|
void |
setUserIsManager(boolean userIsManager)
|
void |
setUserIsWriter(boolean userIsWriter)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.lang.String type
private boolean userIsWriter
private boolean userIsEditor
private boolean userIsManager
private java.lang.String rootDocumentName
Constructor Detail |
public DirectoryProperties(java.lang.String type, boolean userIsWriter, boolean userIsEditor, boolean userIsManager, java.lang.String rootDocumentName)
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 showedMethod Detail |
public java.lang.String getType()
public boolean isUserEditor()
public boolean isUserManager()
public boolean isUserWriter()
public void setType(java.lang.String type)
type
- The type to set.public void setUserIsEditor(boolean userIsEditor)
userIsEditor
- The userIsEditor to set.public void setUserIsManager(boolean userIsManager)
userIsManager
- The userIsManager to set.public void setUserIsWriter(boolean userIsWriter)
userIsWriter
- The userIsWriter to set.public java.lang.String getRootDocumentName()
public void setRootDocumentName(java.lang.String rootDocumentName)
rootDocumentName
- The rootDocumentName to set.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |