com.liferay.portal.kernel.webdav
Class WebDAVUtil
java.lang.Object
com.liferay.portal.kernel.webdav.WebDAVUtil
public class WebDAVUtil
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DAV_URI
public static final Namespace DAV_URI
SC_MULTI_STATUS
public static final int SC_MULTI_STATUS
- See Also:
- Constant Field Values
SC_LOCKED
public static final int SC_LOCKED
- See Also:
- Constant Field Values
TOKEN_PREFIX
public static final String TOKEN_PREFIX
- See Also:
- Constant Field Values
addStorage
public static void addStorage(WebDAVStorage storage)
deleteStorage
public static void deleteStorage(WebDAVStorage storage)
getDepth
public static long getDepth(javax.servlet.http.HttpServletRequest request)
getDestination
public static String getDestination(javax.servlet.http.HttpServletRequest request,
String rootPath)
getGroupId
public static long getGroupId(long companyId,
String path)
throws WebDAVException
- Throws:
WebDAVException
getGroupId
public static long getGroupId(long companyId,
String[] pathArray)
throws WebDAVException
- Throws:
WebDAVException
getGroups
public static List<Group> getGroups(long userId)
throws Exception
- Throws:
Exception
getGroups
public static List<Group> getGroups(User user)
throws Exception
- Throws:
Exception
getLockUuid
public static String getLockUuid(javax.servlet.http.HttpServletRequest request)
throws WebDAVException
- Throws:
WebDAVException
getPathArray
public static String[] getPathArray(String path)
getPathArray
public static String[] getPathArray(String path,
boolean fixTrailing)
getResourceName
public static String getResourceName(String[] pathArray)
getStorage
public static WebDAVStorage getStorage(String token)
getStorageTokens
public static Collection<String> getStorageTokens()
getTimeout
public static long getTimeout(javax.servlet.http.HttpServletRequest request)
isOverwrite
public static boolean isOverwrite(javax.servlet.http.HttpServletRequest request)