Class CmsJlanRepository

    • Constructor Summary

      Constructors 
      Constructor Description
      CmsJlanRepository()
      Creates a new repository instance.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addConfigurationParameter​(java.lang.String paramName, java.lang.String paramValue)
      Adds a configuration parameter to this parameter configurable class instance.
      boolean allowAccess​(java.lang.String user)
      Checks if a user may access this repository.
      static org.alfresco.jlan.server.filesys.DiskInterface createLoggingProxy​(org.alfresco.jlan.server.filesys.DiskInterface impl)
      Creates a dynamic proxy for a disk interface which logs the method calls and their results.
      CmsObjectWrapper getCms​(org.alfresco.jlan.server.SrvSession session, org.alfresco.jlan.server.filesys.TreeConnection connection)
      Creates a CmsObjectWrapper for the current session.
      CmsParameterConfiguration getConfiguration()
      Returns the parameters of this configurable class instance, or null if the class does not need any parameters.
      org.alfresco.jlan.server.filesys.DiskDeviceContext getDeviceContext()
      Gets the device context for this repository.
      org.alfresco.jlan.server.filesys.DiskInterface getDiskInterface()
      Gets the disk interface for this repository.
      CmsRepositoryFilter getFilter()
      Gets the repository filter.
      java.lang.String getName()
      Returns the name of the repository.
      CmsProject getProject()
      Gets the configured project.
      java.lang.String getRoot()
      Gets the root directory configured for this repository.
      CmsResourceTranslator getTranslation()
      Gets the repository-specific file translations.
      java.util.List<I_CmsResourceWrapper> getWrappers()
      Gets the resource wrappers which have been configured for this repository.
      void initConfiguration()
      Initializes a configuration after all parameters have been added.
      void initializeCms​(CmsObject cms)
      Initializes this repository with an admin CMS object.
      boolean isIgnoreWriteFileErrors()
      Returns true if file write errors should be ignored.
      boolean isTranslationEnabled()
      Returns true if the repository specific file translations are enabled (they may also be set without being enabled).
      void setFilter​(CmsRepositoryFilter filter)
      Sets the repository filter.
      void setName​(java.lang.String name)
      Sets the name for this repository.
      void setTranslation​(CmsResourceTranslator translator, boolean enabled)
      Sets the repository-specific file translations
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait