org.kuali.common.util
Class ModeUtils

java.lang.Object
  extended by org.kuali.common.util.ModeUtils

public class ModeUtils
extends Object


Constructor Summary
ModeUtils()
           
 
Method Summary
protected static Object[] getArgs(Object arg1, Object arg2)
           
static void validate(Mode mode, String msg)
           
static void validate(Mode mode, String msg, Object[] args, String errMsg)
           
static void validate(Mode mode, String msg, Object arg1, Object arg2, String errMsg)
           
static void validate(Mode mode, String msg, Object arg, String errMsg)
           
static void validate(Mode mode, String msg, String errMsg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModeUtils

public ModeUtils()
Method Detail

validate

public static final void validate(Mode mode,
                                  String msg)

validate

public static final void validate(Mode mode,
                                  String msg,
                                  String errMsg)

validate

public static final void validate(Mode mode,
                                  String msg,
                                  Object arg,
                                  String errMsg)

validate

public static final void validate(Mode mode,
                                  String msg,
                                  Object arg1,
                                  Object arg2,
                                  String errMsg)

validate

public static final void validate(Mode mode,
                                  String msg,
                                  Object[] args,
                                  String errMsg)

getArgs

protected static final Object[] getArgs(Object arg1,
                                        Object arg2)


Copyright © 2010-2012 The Kuali Foundation. All Rights Reserved.