|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.pentaho.platform.dataaccess.datasource.wizard.service.impl.DebugDataAccessViewPermissionHandler
public class DebugDataAccessViewPermissionHandler
Constructor Summary | |
---|---|
DebugDataAccessViewPermissionHandler()
|
Method Summary | |
---|---|
int |
getDefaultAcls(IPentahoSession session)
This method returns the default acls for permitted role and user |
List<String> |
getPermittedRoleList(IPentahoSession session)
This method returns list of permitted roles who are allowed to view and use datasource |
List<String> |
getPermittedUserList(IPentahoSession session)
This method returns list of permitted user who are allowed to view and use datasource |
boolean |
hasDataAccessViewPermission(IPentahoSession session)
This method returns true if user represented by session has view permission |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DebugDataAccessViewPermissionHandler()
Method Detail |
---|
public List<String> getPermittedRoleList(IPentahoSession session)
IDataAccessViewPermissionHandler
getPermittedRoleList
in interface IDataAccessViewPermissionHandler
session
- pentaho session
public List<String> getPermittedUserList(IPentahoSession session)
IDataAccessViewPermissionHandler
getPermittedUserList
in interface IDataAccessViewPermissionHandler
session
- pentaho session
public int getDefaultAcls(IPentahoSession session)
IDataAccessViewPermissionHandler
getDefaultAcls
in interface IDataAccessViewPermissionHandler
session
- pentaho session
public boolean hasDataAccessViewPermission(IPentahoSession session)
IDataAccessViewPermissionHandler
hasDataAccessViewPermission
in interface IDataAccessViewPermissionHandler
session
- pentaho session
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |