Package ch.entwine.weblounge.common.request

Examples of ch.entwine.weblounge.common.request.WebloungeRequest


   * @return either a EVAL_BODY_INCLUDE or a SKIP_BODY
   */
  public int doStartTag() throws JspException {
    super.doStartTag();

    WebloungeRequest request = getRequest();
    User user = request.getUser();
    Site site = request.getSite();
    if (hasOneOf(user, site) && hasAllOf(user, site))
      return EVAL_BODY_INCLUDE;
    else
      return SKIP_BODY;
  }
View Full Code Here


   * @return either a EVAL_BODY_INCLUDE or a SKIP_BODY
   */
  public int doStartTag() throws JspException {
    super.doStartTag();

    WebloungeRequest request = getRequest();
    User user = request.getUser();
    Site site = request.getSite();
    if (!hasOneOf(user, site) || !hasAllOf(user, site))
      return EVAL_BODY_INCLUDE;
    else
      return SKIP_BODY;
  }
View Full Code Here

TOP

Related Classes of ch.entwine.weblounge.common.request.WebloungeRequest

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.