public class ButtonsLogic extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ButtonsLogic.ButtonComparatorByOrder |
protected static class |
ButtonsLogic.MCKey |
Modifier and Type | Field and Description |
---|---|
protected static com.google.common.cache.LoadingCache<ButtonsLogic.MCKey,List<ButtonInfo>> |
classButtons |
static String |
copyright |
Constructor and Description |
---|
ButtonsLogic() |
Modifier and Type | Method and Description |
---|---|
static List<ButtonInfo> |
computeButtonsForClass(Class<?> someClass,
String list) |
static boolean |
doGuardsPass(Object actionBean,
Method method) |
static boolean |
doGuardsPass(Object actionBean,
Method method,
GuardType type) |
static Button |
getButtonForMethod(Method method,
String list) |
static List<ButtonInfo> |
getButtonsForClass(Class<?> someClass) |
static List<ButtonInfo> |
getButtonsForClass(Class<?> someClass,
String list) |
static List<Guard> |
getGuards(Method method,
GuardType type) |
public static final String copyright
protected static com.google.common.cache.LoadingCache<ButtonsLogic.MCKey,List<ButtonInfo>> classButtons
public static List<ButtonInfo> getButtonsForClass(Class<?> someClass)
public static List<ButtonInfo> getButtonsForClass(Class<?> someClass, String list)
public static List<ButtonInfo> computeButtonsForClass(Class<?> someClass, String list)
public static boolean doGuardsPass(Object actionBean, Method method, @Nullable GuardType type)