|
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.esupportail.portal.channels.CStockage.channelAction.injac.metadata.InjacSpaceManagementProperties
Id: InjacSpaceManagementProperties.java,v 1.0 7 oct. 2004 Copyright (c) 2004 Esup Portail (www.esup-portail.org) Classes: InjacSpaceManagementProperties Original Author: Yohan Colmant Class used to manage an injac space
Constructor Summary | |
InjacSpaceManagementProperties(java.lang.String selectedMetadataProfile,
java.lang.String selectedRenderingType,
java.lang.String description,
boolean publicReading,
org.esupportail.portal.utils.webdav.acl.EsupPermissions readingPermission,
java.util.Vector readerGroups,
java.util.Vector readerUsers,
java.util.Vector writerGroups,
java.util.Vector writerUsers,
java.util.Vector editorGroups,
java.util.Vector editorUsers,
java.util.Vector managerGroups,
java.util.Vector managerUsers)
Constructor |
Method Summary | |
java.util.Vector |
getAddedReaderGroups()
|
java.util.Vector |
getAddedReaderUsers()
|
java.util.ArrayList |
getAvailableMetadataProfiles()
|
java.util.ArrayList |
getAvailableRenderingTypes()
|
java.util.Vector |
getDeletedReaderGroups()
|
java.util.Vector |
getDeletedReaderUsers()
|
java.lang.String |
getDescription()
|
java.util.Vector |
getEditorGroups()
|
java.util.Vector |
getEditorUsers()
|
java.util.Vector |
getManagerGroups()
|
java.util.Vector |
getManagerUsers()
|
java.lang.String |
getMetadataDescription()
Return in the good format the MD description |
java.lang.String |
getMetadataEditorsOnSpace()
Return in the good format the MD : list of editors on the space |
java.lang.String |
getMetadataManagersOnSpace()
Return in the good format the MD : list of managers on the space |
java.lang.String |
getMetadataProfile()
Return in the good format the list of MD that the user have to set |
java.lang.String |
getMetadataReadersOnSpace()
Return in the good format the MD : list of readers on the space |
java.lang.String |
getMetadataWritersOnSpace()
Return in the good format the MD : list of writers on the space |
static InjacSpaceManagementProperties |
getProperties(Space currentSpace,
java.lang.String path)
Get the properties sets on a space |
java.util.Vector |
getReaderGroups()
|
java.util.Vector |
getReaderUsers()
|
org.esupportail.portal.utils.webdav.acl.EsupPermissions |
getReadingPermission()
|
java.lang.String |
getSelectedMetadataProfile()
|
java.lang.String |
getSelectedRenderingType()
|
java.util.Vector |
getWriterGroups()
|
java.util.Vector |
getWriterUsers()
|
boolean |
isPublicReading()
|
static boolean |
isUserEditor(java.lang.String login,
java.util.Vector userGroups,
Space currentSpace,
java.lang.String path)
Check if a user is editor on a space |
static boolean |
isUserManager(java.lang.String login,
java.util.Vector userGroups,
Space currentSpace,
java.lang.String path)
Check if a user is manager on a space |
static boolean |
isUserWriter(java.lang.String login,
java.util.Vector userGroups,
Space currentSpace,
java.lang.String path)
Check if a user is writer on a space |
void |
setDescription(java.lang.String description)
|
void |
setPublicReading(boolean publicReading)
|
void |
setReadingPermission(org.esupportail.portal.utils.webdav.acl.EsupPermissions readingPermission)
|
void |
setSelectedMetadataProfile(java.lang.String selectedMetadataProfile)
|
void |
setSelectedRenderingType(java.lang.String selectedRenderingType)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public InjacSpaceManagementProperties(java.lang.String selectedMetadataProfile, java.lang.String selectedRenderingType, java.lang.String description, boolean publicReading, org.esupportail.portal.utils.webdav.acl.EsupPermissions readingPermission, java.util.Vector readerGroups, java.util.Vector readerUsers, java.util.Vector writerGroups, java.util.Vector writerUsers, java.util.Vector editorGroups, java.util.Vector editorUsers, java.util.Vector managerGroups, java.util.Vector managerUsers) throws PropertiesException
selectedMetadataProfile
- The selected metadata profile keyselectedRenderingType
- The selected rendering type keydescription
- the space descriptionpublicReading
- is the space is publicreadingPermission
- the acl permission of readingreaderGroups
- the reader groupsreaderUsers
- the reader userswriterGroups
- the writer groupswriterUsers
- the writer userseditorGroups
- the editor groupseditorUsers
- the editor usersmanagerGroups
- the manager groupsmanagerUsers
- the manager users
PropertiesException
Method Detail |
public org.esupportail.portal.utils.webdav.acl.EsupPermissions getReadingPermission()
public void setReadingPermission(org.esupportail.portal.utils.webdav.acl.EsupPermissions readingPermission)
readingPermission
- The readingPermission to set.public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- The description to set.public boolean isPublicReading()
public void setPublicReading(boolean publicReading)
publicReading
- The publicReading to set.public java.util.Vector getReaderGroups()
public java.util.Vector getReaderUsers()
public java.util.Vector getDeletedReaderGroups()
public java.util.Vector getDeletedReaderUsers()
public java.util.Vector getAddedReaderGroups()
public java.util.Vector getAddedReaderUsers()
public java.util.Vector getEditorGroups()
public java.util.Vector getEditorUsers()
public java.util.Vector getManagerGroups()
public java.util.Vector getManagerUsers()
public java.util.Vector getWriterGroups()
public java.util.Vector getWriterUsers()
public java.lang.String getSelectedMetadataProfile()
public void setSelectedMetadataProfile(java.lang.String selectedMetadataProfile)
selectedMetadataProfile
- The selectedMetadataProfile to set.public java.util.ArrayList getAvailableMetadataProfiles()
public java.lang.String getSelectedRenderingType()
public void setSelectedRenderingType(java.lang.String selectedRenderingType)
selectedRenderingType
- The selectedRenderingType to set.public java.util.ArrayList getAvailableRenderingTypes()
public java.lang.String getMetadataDescription()
public java.lang.String getMetadataProfile() throws ApplicationException, PropertiesException
ApplicationException
PropertiesException
public java.lang.String getMetadataReadersOnSpace()
public java.lang.String getMetadataWritersOnSpace()
public java.lang.String getMetadataEditorsOnSpace()
public java.lang.String getMetadataManagersOnSpace()
public static InjacSpaceManagementProperties getProperties(Space currentSpace, java.lang.String path) throws ChannelException
currentSpace
- the current spacepath
- the resource path
ChannelException
public static boolean isUserManager(java.lang.String login, java.util.Vector userGroups, Space currentSpace, java.lang.String path) throws ServerException
login
- the user loginuserGroups
- the groups of the usercurrentSpace
- the current space usedpath
- the resource path
ServerException
public static boolean isUserWriter(java.lang.String login, java.util.Vector userGroups, Space currentSpace, java.lang.String path) throws ServerException
login
- the user loginuserGroups
- the groups of the usercurrentSpace
- the current space usedpath
- the resource path
ServerException
public static boolean isUserEditor(java.lang.String login, java.util.Vector userGroups, Space currentSpace, java.lang.String path) throws ServerException
login
- the user loginuserGroups
- the groups of the usercurrentSpace
- the current space usedpath
- the resource path
ServerException
|
CStockage 4.2_beta-RC-1 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |