Package com.claymus.site.module.block.pages

Examples of com.claymus.site.module.block.pages.ManageBlocks


  public ContentType getPageContent(String[] tokens, User user) {
    int accessLevel = getAccessLevel(user.getRole());

    if(tokens.length == 1) {
      if(accessLevel >= ModuleHelper.VIEW_ONLY)
        return new ManageBlocks(accessLevel, user);
      else
        return new Error401();

    } else if(tokens.length == 2 && tokens[1].equals("add")) {
      if(accessLevel >= ModuleHelper.ADD)
View Full Code Here

TOP

Related Classes of com.claymus.site.module.block.pages.ManageBlocks

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.