Package com.liferay.portal.kernel.webdav
Class WebDAVUtil
Object
com.liferay.portal.kernel.webdav.WebDAVUtil
- Author:
- Brian Wing Shun Chan, Alexander Chow, Raymond Augé
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Namespace
createNamespace
(String prefix, String uri) static long
getDepth
(javax.servlet.http.HttpServletRequest httpServletRequest) static String
getDestination
(javax.servlet.http.HttpServletRequest httpServletRequest, String rootPath) static long
getGroupId
(long companyId, String path) static long
getGroupId
(long companyId, String[] pathArray) getGroups
(long userId) static String
getLockUuid
(javax.servlet.http.HttpServletRequest httpServletRequest) static String[]
getPathArray
(String path) static String[]
getPathArray
(String path, boolean fixTrailing) static String
getResourceName
(String[] pathArray) static WebDAVStorage
getStorage
(String token) static String
getStorageToken
(Portlet portlet) static Collection<String>
static long
getTimeout
(javax.servlet.http.HttpServletRequest httpServletRequest) static boolean
isOverwrite
(javax.servlet.http.HttpServletRequest httpServletRequest) static String
static String
static String
stripToken
(String url, String token)
-
Field Details
-
DAV_URI
-
SC_LOCKED
public static final int SC_LOCKED- See Also:
-
SC_MULTI_STATUS
public static final int SC_MULTI_STATUS- See Also:
-
TOKEN_PREFIX
- See Also:
-
-
Constructor Details
-
WebDAVUtil
public WebDAVUtil()
-
-
Method Details
-
createNamespace
-
getDepth
public static long getDepth(javax.servlet.http.HttpServletRequest httpServletRequest) -
getDestination
-
getGroupId
- Throws:
WebDAVException
-
getGroupId
- Throws:
WebDAVException
-
getGroups
- Throws:
Exception
-
getGroups
- Throws:
Exception
-
getLockUuid
public static String getLockUuid(javax.servlet.http.HttpServletRequest httpServletRequest) throws WebDAVException - Throws:
WebDAVException
-
getPathArray
-
getPathArray
-
getResourceName
-
getStorage
-
getStorageToken
-
getStorageTokens
-
getTimeout
public static long getTimeout(javax.servlet.http.HttpServletRequest httpServletRequest) -
isOverwrite
public static boolean isOverwrite(javax.servlet.http.HttpServletRequest httpServletRequest) -
stripManualCheckInRequiredPath
-
stripOfficeExtension
-
stripToken
-