Uses of Class
org.esupportail.portal.channels.CWebdav.provider.access.ServerAccess

Packages that use ServerAccess
org.esupportail.portal.channels.CWebdav.channelAction.injac   
org.esupportail.portal.channels.CWebdav.channelAction.injac.acl   
org.esupportail.portal.channels.CWebdav.channelAction.injac.metadata   
org.esupportail.portal.channels.CWebdav.config   
org.esupportail.portal.channels.CWebdav.provider.access   
 

Uses of ServerAccess in org.esupportail.portal.channels.CWebdav.channelAction.injac
 

Methods in org.esupportail.portal.channels.CWebdav.channelAction.injac with parameters of type ServerAccess
static boolean ChannelAction.isUserManagerInSpace(java.lang.String spacePath, ServerAccess access, java.lang.String userPortalLogin, java.util.Vector userGroups)
          Check if the current user is manager in the specified space
static boolean ChannelAction.isUserWriterInSpace(java.lang.String spacePath, ServerAccess access, java.lang.String userPortalLogin, java.util.Vector userGroups)
          Check if the current user is writer in the specified space
static boolean ChannelAction.isUserEditorInSpace(java.lang.String spacePath, ServerAccess access, java.lang.String userPortalLogin, java.util.Vector userGroups)
          Check if the current user is editor in the specified space
static boolean ChannelAction.isUserDocumentOwner(java.lang.String documentPath, ServerAccess access, java.lang.String userPortalLogin)
          Check if the current user is the owner of the specified document
 

Uses of ServerAccess in org.esupportail.portal.channels.CWebdav.channelAction.injac.acl
 

Methods in org.esupportail.portal.channels.CWebdav.channelAction.injac.acl with parameters of type ServerAccess
static boolean InjacAclManager.getReadersAclOnSpace(ChannelConfiguration config, ServerAccess access, java.lang.String path, org.esupportail.portal.utils.webdav.acl.EsupPermissions permissions, java.util.Vector users, java.util.Vector groups, java.lang.String userPrefix, java.lang.String groupPrefix)
          Return the ACL for reading on a space
 

Uses of ServerAccess in org.esupportail.portal.channels.CWebdav.channelAction.injac.metadata
 

Methods in org.esupportail.portal.channels.CWebdav.channelAction.injac.metadata with parameters of type ServerAccess
static java.lang.String MetaDataManager.getDocumentOwner(ServerAccess access, java.lang.String path)
          Get the owner of a document
static boolean MetaDataManager.setUserAsDocumentOwner(ServerAccess access, java.lang.String path, java.lang.String value)
          Set the owner of a document
static java.lang.String MetaDataManager.getDirectoryType(ServerAccess access, java.lang.String path)
          Get the directory type (document, space, ... ?)
static java.util.Date MetaDataManager.getPublicationDateBegin(ServerAccess access, java.lang.String path)
          Get the publication date begin
static java.util.Date MetaDataManager.getPublicationDateEnd(ServerAccess access, java.lang.String path)
          Get the publication date end
static java.lang.String MetaDataManager.getRejectCause(ServerAccess access, java.lang.String path)
          Get the refuse message
static java.lang.String MetaDataManager.getDocumentState(ServerAccess access, java.lang.String path)
          Get the document state: published, refused, waiting, expired...
static boolean MetaDataManager.setDirectoryAsSpace(ServerAccess access, java.lang.String path)
          Set the injac-type metadata of the directory specified by its path to "space" value
static boolean MetaDataManager.setDirectoryAsWaitingDocument(ServerAccess access, java.lang.String path)
          Set the injac-type metadata of the directory specified by its path to "document" value, and document-state to "waiting"
static boolean MetaDataManager.setDirectoryAsPublishedDocument(ServerAccess access, java.lang.String path)
          Set the injac-type metadata of the directory specified by its path to "document" value, and document-state to "published"
static boolean MetaDataManager.setDirectoryAsRejectedDocument(ServerAccess access, java.lang.String path)
          Set the injac-type metadata of the directory specified by its path to "document" value, and document-state to "refused"
static boolean MetaDataManager.setMetadataOnSpace(ServerAccess access, java.lang.String path, InjacSpaceManagementProperties smp)
          Set the metadata set by manager on a space
static boolean MetaDataManager.setMetadataOnDocument(ServerAccess access, java.lang.String path, java.util.ArrayList metadataToSet)
          Set the metadata set by user on a document
static java.lang.String MetaDataManager.getMetadataDescription(ServerAccess access, java.lang.String path)
          Return in the MD description
static java.lang.String MetaDataManager.getMetadataSpaceProfile(ServerAccess access, java.lang.String path)
          Return the list of MD that the user have to set
static java.lang.String MetaDataManager.getMetadataRenderingType(ServerAccess access, java.lang.String path)
          Return the rendering type MD that the user have to set
static void MetaDataManager.getMetadataWritersOnSpace(ServerAccess access, java.lang.String path, java.util.Vector users, java.util.Vector groups)
          Return the MD : list of writers on the space
static void MetaDataManager.getMetadataEditorsOnSpace(ServerAccess access, java.lang.String path, java.util.Vector users, java.util.Vector groups)
          Return the MD : list of editors on the space
static void MetaDataManager.getMetadataManagersOnSpace(ServerAccess access, java.lang.String path, java.util.Vector users, java.util.Vector groups)
          Return the MD : list of managers on the space
static boolean InjacSpaceManagementProperties.isUserManager(java.lang.String login, java.util.Vector userGroups, ServerAccess access, java.lang.String path)
          Check if a user is manager on a space
static boolean InjacSpaceManagementProperties.isUserWriter(java.lang.String login, java.util.Vector userGroups, ServerAccess access, java.lang.String path)
          Check if a user is writer on a space
static boolean InjacSpaceManagementProperties.isUserEditor(java.lang.String login, java.util.Vector userGroups, ServerAccess access, java.lang.String path)
          Check if a user is editor on a space
 

Uses of ServerAccess in org.esupportail.portal.channels.CWebdav.config
 

Fields in org.esupportail.portal.channels.CWebdav.config declared as ServerAccess
private  ServerAccess Space.access
          The attribute used to access the server
 

Methods in org.esupportail.portal.channels.CWebdav.config that return ServerAccess
 ServerAccess Space.getServerAccessObject()
          Return the object used to access the server
 

Methods in org.esupportail.portal.channels.CWebdav.config with parameters of type ServerAccess
 boolean Space.canRead(ServerAccess access)
          Check if we are authorized to read this space
 void Space.setServerAccessObject(ServerAccess access)
          Set the server access object
 

Uses of ServerAccess in org.esupportail.portal.channels.CWebdav.provider.access
 

Subclasses of ServerAccess in org.esupportail.portal.channels.CWebdav.provider.access
 class CifsAccessImpl
          Implements the ServerAccess interface to access a CIFS(SMB) server
Id: CifsAccessImpl.java
Classes: CifsAccessImpl
Creation date: 17/12/2004
Last modification: 17/12/2004
Copyright (c) 2004 Esup Portail (www.esup-portail.org).
 class WebdavAccessImpl
          Id: WebdavAccessImpl.java,v 1.0 14 avr. 2004
Copyright (c) 2004 Esup Portail (www.esup-portail.org)
Classes: WebdavAccessImpl
Original Author: Yohan Colmant
Implements the ServerAccess methods to access a DAV server
 

Methods in org.esupportail.portal.channels.CWebdav.provider.access with parameters of type ServerAccess
protected  boolean WebdavAccessImpl.distantCopy(java.lang.String resource, ServerAccess fromAccess, java.lang.String fromPath, java.lang.String toPath)
          The distant copy method
private  boolean WebdavAccessImpl.distantCopy(ChannelResource resource, ServerAccess fromAccess, java.lang.String toPath)
          The distant copy method
private  boolean WebdavAccessImpl.distantCopyFile(java.lang.String fileName, ServerAccess fromAccess, java.lang.String absoluteFromPath, java.lang.String toPath)
          The distant copy method of a file
private  boolean WebdavAccessImpl.distantCopyDirectory(java.lang.String directoryName, ServerAccess fromAccess, java.lang.String absoluteFromPath, java.lang.String toPath)
          The distant copy method of a directory
protected abstract  boolean ServerAccess.distantCopy(java.lang.String resource, ServerAccess fromAccess, java.lang.String fromPath, java.lang.String toPath)
          The distant copy method
private  boolean CifsAccessImpl.distantCopyFile(java.lang.String fileName, ServerAccess fromAccess, java.lang.String absoluteFromPath, java.lang.String toPath)
          Copy a file from a server to the CIFS server
All required checking (if a directory exists...) are supposed to be done by the calling application
private  boolean CifsAccessImpl.distantCopyDirectory(java.lang.String directoryName, ServerAccess fromAccess, java.lang.String absoluteFromPath, java.lang.String toPath)
          Copy a directory from a server to the CIFS server
All required checking (if a directory exists...) are supposed to be done by the calling application
protected  boolean CifsAccessImpl.distantCopy(java.lang.String resource, ServerAccess fromAccess, java.lang.String fromPath, java.lang.String toPath)
          Copy a resource from a server to the CIFS server
All required checking (if a directory exists...) are supposed to be done by the calling application
private  boolean CifsAccessImpl.distantCopy(ChannelResource resource, ServerAccess fromAccess, java.lang.String toPath)
          Copy a resource from a server to the CIFS server
All required checking (if a directory exists...) are supposed to be done by the calling application