Package org.xwiki.rest.resources.user
Interface CurrentUserPropertyResource
-
public interface CurrentUserPropertyResource
Update a boolean or static list property of the current user to its next value (for a Boolean this means set it to true if it was false and vice versa).- Since:
- 9.7RC1
- Version:
- $Id: 3831f1a20ea74cb815845266a2fced00b2f19fe6 $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.ws.rs.core.Response
setNextPropertyValue(String propertyName)
-
-
-
Method Detail
-
setNextPropertyValue
javax.ws.rs.core.Response setNextPropertyValue(String propertyName) throws XWikiRestException
- Parameters:
propertyName
- the xproperty name to modify- Returns:
- the REST response object with the Code and the content
- Throws:
XWikiRestException
- if an error occurred while setting the next value
-
-