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
-
Field Summary
FieldsFields inherited from class JcrWebDavService
DAS_VALUE, readCommandHandler, REPOSITORY_NAME, repositoryService, userAcl, writeCommandHandler -
Constructor Summary
ConstructorsConstructorDescriptionCachedJcrWebDavService(WebdavReadCommandHandler readCommandHandler, WebdavWriteCommandHandler writeCommandHandler, org.exoplatform.services.jcr.impl.RepositoryServiceImpl repositoryService, org.exoplatform.portal.config.UserACL userAcl, WebDavItemDao webDavItemRepository) -
Method Summary
Modifier and TypeMethodDescriptionvoidclearCache(String jcrPath, boolean drop) org.exoplatform.documents.webdav.model.WebDavItemget(String webDavPath, String propRequestType, Set<QName> requestedPropertyNames, boolean requestPropertyNamesOnly, int depth, String baseUri, String username) longgetLastModifiedDate(String webDavPath, String version) Deprecated.the pre-EXO-90128 behaviour, kept for callers still on the usernameless contract: a row answers whoever asks.longgetLastModifiedDate(String webDavPath, String version, String username) voidinit()booleanDeprecated.the pre-EXO-90128 behaviour, kept for callers still on the usernameless contract: a row answers whoever asks.booleanMethods inherited from class JcrWebDavService
checkin, checkout, copy, createFolder, delete, download, enableVersioning, getDaslValue, getNamespaceContext, getSession, getSystemSession, getVersions, getWebDavPath, lock, move, newSession, order, saveFile, saveProperties, search, toWebDavException, uncheckout, unlock, unlockTimedOutNodes
-
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.the pre-EXO-90128 behaviour, kept for callers still on the usernameless contract: a row answers whoever asks. SeeDocumentWebDavService.isFile(String).- Specified by:
isFilein interfaceorg.exoplatform.documents.webdav.service.DocumentWebDavService- Overrides:
isFilein classJcrWebDavService
-
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. SeeDocumentWebDavService.getLastModifiedDate(String, String).- Specified by:
getLastModifiedDatein interfaceorg.exoplatform.documents.webdav.service.DocumentWebDavService- Overrides:
getLastModifiedDatein classJcrWebDavService- Throws:
org.exoplatform.documents.webdav.model.WebDavException
-
isFile
- Specified by:
isFilein interfaceorg.exoplatform.documents.webdav.service.DocumentWebDavService- Overrides:
isFilein classJcrWebDavService
-
getLastModifiedDate
public long getLastModifiedDate(String webDavPath, String version, String username) throws org.exoplatform.documents.webdav.model.WebDavException - Specified by:
getLastModifiedDatein interfaceorg.exoplatform.documents.webdav.service.DocumentWebDavService- Overrides:
getLastModifiedDatein classJcrWebDavService- 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:
getin interfaceorg.exoplatform.documents.webdav.service.DocumentWebDavService- Overrides:
getin classJcrWebDavService- Throws:
org.exoplatform.documents.webdav.model.WebDavException
-
clearCache
-