Class CachedJcrWebDavService

java.lang.Object
org.exoplatform.documents.storage.jcr.webdav.JcrWebDavService
org.exoplatform.documents.storage.jcr.webdav.cache.CachedJcrWebDavService
All Implemented Interfaces:
org.exoplatform.documents.webdav.service.DocumentWebDavService

@Service public class CachedJcrWebDavService extends JcrWebDavService
  • Field Details

    • LOG

      protected static final org.exoplatform.services.log.Log LOG
  • Constructor Details

    • CachedJcrWebDavService

      public CachedJcrWebDavService(WebdavReadCommandHandler readCommandHandler, WebdavWriteCommandHandler writeCommandHandler, org.exoplatform.services.jcr.impl.RepositoryServiceImpl repositoryService, org.exoplatform.portal.config.UserACL userAcl, WebDavItemDao webDavItemRepository)
  • Method Details

    • init

      @PostConstruct public void init()
    • isFile

      @Deprecated(since="7.3.x") public boolean isFile(String webDavPath)
      Deprecated.
      the pre-EXO-90128 behaviour, kept for callers still on the usernameless contract: a row answers whoever asks. See DocumentWebDavService.isFile(String).
      Specified by:
      isFile in interface org.exoplatform.documents.webdav.service.DocumentWebDavService
      Overrides:
      isFile in class JcrWebDavService
    • getLastModifiedDate

      @Deprecated(since="7.3.x") public long getLastModifiedDate(String webDavPath, String version) throws org.exoplatform.documents.webdav.model.WebDavException
      Deprecated.
      the pre-EXO-90128 behaviour, kept for callers still on the usernameless contract: a row answers whoever asks. See DocumentWebDavService.getLastModifiedDate(String, String).
      Specified by:
      getLastModifiedDate in interface org.exoplatform.documents.webdav.service.DocumentWebDavService
      Overrides:
      getLastModifiedDate in class JcrWebDavService
      Throws:
      org.exoplatform.documents.webdav.model.WebDavException
    • isFile

      public boolean isFile(String webDavPath, String username)
      Specified by:
      isFile in interface org.exoplatform.documents.webdav.service.DocumentWebDavService
      Overrides:
      isFile in class JcrWebDavService
    • getLastModifiedDate

      public long getLastModifiedDate(String webDavPath, String version, String username) throws org.exoplatform.documents.webdav.model.WebDavException
      Specified by:
      getLastModifiedDate in interface org.exoplatform.documents.webdav.service.DocumentWebDavService
      Overrides:
      getLastModifiedDate in class JcrWebDavService
      Throws:
      org.exoplatform.documents.webdav.model.WebDavException
    • get

      public org.exoplatform.documents.webdav.model.WebDavItem get(String webDavPath, String propRequestType, Set<QName> requestedPropertyNames, boolean requestPropertyNamesOnly, int depth, String baseUri, String username) throws org.exoplatform.documents.webdav.model.WebDavException
      Specified by:
      get in interface org.exoplatform.documents.webdav.service.DocumentWebDavService
      Overrides:
      get in class JcrWebDavService
      Throws:
      org.exoplatform.documents.webdav.model.WebDavException
    • clearCache

      public void clearCache(String jcrPath, boolean drop)