com.filenet.wcm.apps.server.util.webdav.method
Class WebDAVMethod
java.lang.Object
com.filenet.wcm.toolkit.server.base.WcmDpContainer
com.filenet.wcm.toolkit.server.base.WcmModule
com.filenet.wcm.apps.server.util.webdav.method.WebDAVMethod
- All Implemented Interfaces:
- com.filenet.wcm.toolkit.server.base.WcmModuleInterface
- Direct Known Subclasses:
- CopyMethod, DeleteMethod, GetMethod, HeadMethod, LockMethod, MkcolMethod, MoveMethod, OptionsMethod, PropFindMethod, PutMethod, UnlockMethod
- public abstract class WebDAVMethod
- extends com.filenet.wcm.toolkit.server.base.WcmModule
Fields inherited from class com.filenet.wcm.toolkit.server.base.WcmModule |
locale, NAME_DELIMITER |
Constructor Summary |
WebDAVMethod(java.lang.String uri,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
WebDAVController controller)
|
Methods inherited from class com.filenet.wcm.toolkit.server.base.WcmModule |
addChild, addChild, addChild, cleanup, debugTrace, getClassProperty, getClassProperty, getClassPropertyKeys, getConfiguration, getController, getDataStore, getModuleProperty, getModuleProperty, getModuleProperty, getModuleProperty, getModulePropertyKeys, getName, getParent, getWindowProperty, getWindowProperty, initialize, persist, queryDataProvider, setClassProperty, setClassProperty, setController, setModuleProperty, setModuleProperty, setName, setParent, setPortletParent, setWindowProperty |
Methods inherited from class com.filenet.wcm.toolkit.server.base.WcmDpContainer |
addDataProvider, addDataProvider |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.filenet.wcm.toolkit.server.base.WcmModuleInterface |
addDataProvider |
HTTP_VERSION
public static final java.lang.String HTTP_VERSION
- See Also:
- Constant Field Values
TEXT_XML_UTF_8
protected static final java.lang.String TEXT_XML_UTF_8
- See Also:
- Constant Field Values
INFINITE_TIMEOUT
protected static final int INFINITE_TIMEOUT
- See Also:
- Constant Field Values
_uri
protected Uri _uri
_req
protected javax.servlet.http.HttpServletRequest _req
_res
protected javax.servlet.http.HttpServletResponse _res
depth
protected Depth depth
responseXML
protected org.w3c.dom.Document responseXML
requestXML
protected org.w3c.dom.Document requestXML
webDAVDataProvider
protected com.filenet.wcm.apps.server.util.webdav.dp.WebDAVDataProvider webDAVDataProvider
navigationDataProvider
protected com.filenet.wcm.toolkit.server.dp.WcmNavigationDataProvider navigationDataProvider
authoringDataProvider
protected com.filenet.wcm.toolkit.server.dp.WcmAuthoringDataProvider authoringDataProvider
webDAVController
protected WebDAVController webDAVController
requestedLockOwner
protected java.lang.String requestedLockOwner
requestedLockToken
protected com.filenet.api.util.Id requestedLockToken
lockscope
protected java.lang.String lockscope
putLockOwnerInHrefElement
protected boolean putLockOwnerInHrefElement
lockToken
protected com.filenet.api.util.Id lockToken
timeout
protected java.lang.Long timeout
WebDAVMethod
public WebDAVMethod(java.lang.String uri,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
WebDAVController controller)
execute
public void execute()
getPostedXML
protected static org.w3c.dom.Document getPostedXML(javax.servlet.http.HttpServletRequest request)
throws java.lang.Exception
- Throws:
java.lang.Exception
appendErrorElement
protected void appendErrorElement(Uri href,
int httpStatus)
throws java.lang.Exception
- Throws:
java.lang.Exception
getHttpStatusString
protected java.lang.String getHttpStatusString(int httpStatus)
parseLockRequestBody
protected void parseLockRequestBody(org.w3c.dom.Document xml)
getLockOwnerProperty
protected java.lang.String getLockOwnerProperty(java.lang.Object document)
throws java.lang.Exception
- Throws:
java.lang.Exception
extractRequestedLockToken
protected com.filenet.api.util.Id extractRequestedLockToken(java.lang.String lockTokenFromRequest)
userHasPromoteVersionAccessToDocument
protected boolean userHasPromoteVersionAccessToDocument(java.lang.Object object)
isSupportedResource
protected boolean isSupportedResource(com.filenet.wcm.api.Document document)
throws java.lang.Exception
- Throws:
java.lang.Exception
isSupportedResource
protected boolean isSupportedResource(java.lang.String mimeType)
throws java.lang.Exception
- Throws:
java.lang.Exception
userHasAccessToViewContent
protected boolean userHasAccessToViewContent(java.lang.Object object)
traceRequestHeaders
protected void traceRequestHeaders(java.lang.String className,
WebDAVLogger logger)
traceRequestXML
protected void traceRequestXML(java.lang.String className,
WebDAVLogger logger)
traceResponseXML
protected void traceResponseXML(java.lang.String className,
WebDAVLogger logger)
isDocumentLocked
public static java.lang.Boolean isDocumentLocked(com.filenet.api.property.Properties documentProperties)
© Copyright IBM Corp. 2002, 2007. All Rights Reserved.