cz.geek.taglib
Class Functions

java.lang.Object
  extended by cz.geek.taglib.Functions

public class Functions
extends Object


Constructor Summary
Functions()
           
 
Method Summary
static boolean compare(Comparable a, Comparable b)
           
static int compareTo(Comparable a, Comparable b)
           
static boolean contains(Collection<?> col, Object obj)
           
static boolean inrole(javax.servlet.http.HttpServletRequest req, String role)
           
static boolean inrole2(javax.servlet.http.HttpServletRequest req, String role, String role2)
           
static boolean inrole3(javax.servlet.http.HttpServletRequest req, String role, String role2, String role3)
           
static boolean isinrole(javax.servlet.http.HttpServletRequest req, String[] role)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Functions

public Functions()
Method Detail

isinrole

public static boolean isinrole(javax.servlet.http.HttpServletRequest req,
                               String[] role)

inrole

public static boolean inrole(javax.servlet.http.HttpServletRequest req,
                             String role)

inrole2

public static boolean inrole2(javax.servlet.http.HttpServletRequest req,
                              String role,
                              String role2)

inrole3

public static boolean inrole3(javax.servlet.http.HttpServletRequest req,
                              String role,
                              String role2,
                              String role3)

contains

public static boolean contains(Collection<?> col,
                               Object obj)

compare

public static boolean compare(Comparable a,
                              Comparable b)

compareTo

public static int compareTo(Comparable a,
                            Comparable b)


Copyright © 2012. All Rights Reserved.