Package org.alfresco.repo.webdav
Class PropPatchMethod.PropertyAction
- java.lang.Object
-
- org.alfresco.repo.webdav.PropPatchMethod.PropertyAction
-
- Enclosing class:
- PropPatchMethod
protected class PropPatchMethod.PropertyAction extends Object
Stores information about PROPPATCH action(set or remove) an according property.- Author:
- Ivan Rybnikov
-
-
Constructor Summary
Constructors Constructor Description PropertyAction(int action, WebDAVProperty property)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getAction()
WebDAVProperty
getProperty()
int
getStatusCode()
String
getStatusCodeDescription()
void
setResult(int statusCode, String statusCodeDescription)
String
toString()
-
-
-
Field Detail
-
SET
public static final int SET
- See Also:
- Constant Field Values
-
REMOVE
public static final int REMOVE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PropertyAction
public PropertyAction(int action, WebDAVProperty property)
Constructor- Parameters:
action
- intproperty
- WebDAVProperty
-
-
Method Detail
-
setResult
public void setResult(int statusCode, String statusCodeDescription)
-
getStatusCode
public int getStatusCode()
-
getStatusCodeDescription
public String getStatusCodeDescription()
-
getAction
public int getAction()
-
getProperty
public WebDAVProperty getProperty()
-
-