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 NamespacecreateNamespace(String prefix, String uri) static longgetDepth(javax.servlet.http.HttpServletRequest httpServletRequest) static StringgetDestination(javax.servlet.http.HttpServletRequest httpServletRequest, String rootPath) static longgetGroupId(long companyId, String path) static longgetGroupId(long companyId, String[] pathArray) getGroups(long userId) static StringgetLockUuid(javax.servlet.http.HttpServletRequest httpServletRequest) static String[]getPathArray(String path) static String[]getPathArray(String path, boolean fixTrailing) static StringgetResourceName(String[] pathArray) static WebDAVStoragegetStorage(String token) static StringgetStorageToken(Portlet portlet) static Collection<String>static longgetTimeout(javax.servlet.http.HttpServletRequest httpServletRequest) static booleanisOverwrite(javax.servlet.http.HttpServletRequest httpServletRequest) static Stringstatic Stringstatic StringstripToken(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
-