Package org.palo.viewapi

Examples of org.palo.viewapi.Right


    return checkPermission(userSession.getUser(), view, right);
  }
   
  public boolean checkPermission(String sessionId, int right) throws SessionExpiredException {
    AuthUser user = getLoggedInUser(sessionId);
    Right rr = null;
   
    switch (right) {
      case  0: rr = Right.NONE; break;
      case  1: rr = Right.READ; break;
      case  2: rr = Right.WRITE; break;
View Full Code Here

TOP

Related Classes of org.palo.viewapi.Right

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.