|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.repo.webdav.WebDAVMethod
org.alfresco.repo.webdav.LockMethod
public class LockMethod
Implements the WebDAV LOCK method
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.alfresco.repo.webdav.WebDAVMethod |
|---|
WebDAVMethod.Condition |
| Field Summary | |
|---|---|
static java.lang.String |
EMPTY_NS
|
| Fields inherited from class org.alfresco.repo.webdav.WebDAVMethod |
|---|
logger, m_conditions, m_davHelper, m_depth, m_request, m_resourceTag, m_response, m_rootNodeRef, m_strPath |
| Constructor Summary | |
|---|---|
LockMethod()
Default constructor |
|
| Method Summary | |
|---|---|
protected void |
executeImpl()
Execute the request |
protected void |
generateLockDiscoveryXML(org.dom4j.io.XMLWriter xml,
org.alfresco.service.cmr.repository.NodeRef lockNode)
Generates the lock discovery XML response |
protected java.lang.String |
generateNamespaceDeclarations(java.util.HashMap nameSpaces)
Generates a list of namespace declarations for the response |
protected int |
getLockTimeout()
Return the lock timeout, in minutes |
protected boolean |
hasLockToken()
Returns true if request has lock token in the If header |
protected void |
parseRequestBody()
Parse the request body |
protected void |
parseRequestHeaders()
Parse the request headers |
| Methods inherited from class org.alfresco.repo.webdav.WebDAVMethod |
|---|
checkNode, checkNode, createXMLWriter, execute, generateLockDiscoveryXML, getAuthenticationService, getContentService, getDAVHelper, getDepth, getFileFolderService, getLockService, getMimetypeService, getNamespaceService, getNodeLockInfo, getNodeService, getPath, getRequestBodyAsDocument, getRootNodeRef, getSearchService, getServiceRegistry, getServletPath, getTransactionService, isReadOnly, parseDepthHeader, parseIfHeader, setDetails |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String EMPTY_NS
| Constructor Detail |
|---|
public LockMethod()
| Method Detail |
|---|
protected final boolean hasLockToken()
protected final int getLockTimeout()
protected void parseRequestHeaders()
throws WebDAVServerException
parseRequestHeaders in class WebDAVMethodWebDAVServerException
protected void parseRequestBody()
throws WebDAVServerException
parseRequestBody in class WebDAVMethodWebDAVServerException
protected void executeImpl()
throws WebDAVServerException,
java.lang.Exception
executeImpl in class WebDAVMethodWebDAVServerException
java.lang.Exception - any unhandled exception
protected void generateLockDiscoveryXML(org.dom4j.io.XMLWriter xml,
org.alfresco.service.cmr.repository.NodeRef lockNode)
throws java.lang.Exception
xml - XMLWriterlockNode - NodeRef
java.lang.Exceptionprotected java.lang.String generateNamespaceDeclarations(java.util.HashMap nameSpaces)
generateNamespaceDeclarations in class WebDAVMethod
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||