com.xpn.xwiki.user.api
Interface XWikiRightService

All Known Implementing Classes:
XWikiRightServiceImpl

public interface XWikiRightService


Method Summary
 boolean checkAccess(java.lang.String action, XWikiDocument doc, XWikiContext context)
           
 boolean hasAccessLevel(java.lang.String right, java.lang.String username, java.lang.String docname, XWikiContext context)
           
 boolean hasAdminRights(XWikiContext context)
           
 boolean hasProgrammingRights(XWikiContext context)
           
 boolean hasProgrammingRights(XWikiDocument doc, XWikiContext context)
           
 java.util.List listAllLevels(XWikiContext context)
           
 

Method Detail

checkAccess

boolean checkAccess(java.lang.String action,
                    XWikiDocument doc,
                    XWikiContext context)
                    throws XWikiException
Throws:
XWikiException

hasAccessLevel

boolean hasAccessLevel(java.lang.String right,
                       java.lang.String username,
                       java.lang.String docname,
                       XWikiContext context)
                       throws XWikiException
Throws:
XWikiException

hasProgrammingRights

boolean hasProgrammingRights(XWikiContext context)

hasProgrammingRights

boolean hasProgrammingRights(XWikiDocument doc,
                             XWikiContext context)

hasAdminRights

boolean hasAdminRights(XWikiContext context)

listAllLevels

java.util.List listAllLevels(XWikiContext context)
                             throws XWikiException
Throws:
XWikiException


Copyright 2003 Ludovic Dubost