|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.xpn.xwiki.api.Api com.xpn.xwiki.plugin.rightsmanager.RightsManagerRightsApi
public class RightsManagerRightsApi
API for managing rights and inheritance.
Field Summary | |
---|---|
static String |
CONTEXT_LASTERRORCODE
Field name of the last error code inserted in context. |
static String |
CONTEXT_LASTEXCEPTION
Field name of the last api exception inserted in context. |
protected static org.slf4j.Logger |
LOGGER
The logging toolkit. |
Fields inherited from class com.xpn.xwiki.api.Api |
---|
context |
Constructor Summary | |
---|---|
RightsManagerRightsApi(XWikiContext context)
Create an instance of RightsManageRightsApi. |
Method Summary | |
---|---|
Document |
getParentPreference(String spaceOrPage)
Get the document containing inherited rights of provided document. |
Methods inherited from class com.xpn.xwiki.api.Api |
---|
convert, convert, getXWikiContext, hasAccessLevel, hasAdminRights, hasProgrammingRights, hasWikiAdminRights |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String CONTEXT_LASTERRORCODE
public static final String CONTEXT_LASTEXCEPTION
protected static final org.slf4j.Logger LOGGER
Constructor Detail |
---|
public RightsManagerRightsApi(XWikiContext context)
context
- the XWiki context.Method Detail |
---|
public Document getParentPreference(String spaceOrPage) throws XWikiException
spaceOrPage
- the space of page where to get XWikiRights. If null get wiki rights.
XWikiException
- error when browsing rights preferences.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |