Package org.openxava.controller.meta
Class MetaControllers
- java.lang.Object
-
- org.openxava.controller.meta.MetaControllers
-
public class MetaControllers extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description MetaControllers()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
_addMetaController(MetaController newController)
static void
addEnvironmentVariable(java.lang.String name, java.lang.String value)
static void
addMetaObject(MetaObject object)
static boolean
contains(java.lang.String name)
static boolean
containsMetaAction(java.lang.String qualifiedName)
static boolean
containsMetaObject(java.lang.String name)
static java.lang.String
getContext()
static java.lang.String
getEnvironmentVariable(java.lang.String name)
static MetaAction
getMetaAction(java.lang.String qualifiedName)
static MetaController
getMetaController(java.lang.String name)
static MetaObject
getMetaObject(java.lang.String name)
static java.util.Collection<java.lang.String>
getObjectPrefixes()
static void
setContext(java.lang.String string)
-
-
-
Field Detail
-
SWING
public static final java.lang.String SWING
For context property- See Also:
- Constant Field Values
-
WEB
public static final java.lang.String WEB
For context property- See Also:
- Constant Field Values
-
-
Method Detail
-
_addMetaController
public static void _addMetaController(MetaController newController) throws XavaException
- Throws:
XavaException
-
getMetaController
public static MetaController getMetaController(java.lang.String name) throws ElementNotFoundException, XavaException
-
contains
public static boolean contains(java.lang.String name) throws XavaException
- Throws:
XavaException
-
containsMetaAction
public static boolean containsMetaAction(java.lang.String qualifiedName)
- Since:
- 6.1.2
-
getMetaAction
public static MetaAction getMetaAction(java.lang.String qualifiedName) throws ElementNotFoundException, XavaException
-
addMetaObject
public static void addMetaObject(MetaObject object)
-
getMetaObject
public static MetaObject getMetaObject(java.lang.String name) throws ElementNotFoundException, XavaException
-
containsMetaObject
public static boolean containsMetaObject(java.lang.String name)
-
getContext
public static java.lang.String getContext()
-
setContext
public static void setContext(java.lang.String string)
-
addEnvironmentVariable
public static void addEnvironmentVariable(java.lang.String name, java.lang.String value)
-
getEnvironmentVariable
public static java.lang.String getEnvironmentVariable(java.lang.String name) throws XavaException
- Returns:
- Null if it does not exist.
- Throws:
XavaException
-
getObjectPrefixes
public static java.util.Collection<java.lang.String> getObjectPrefixes()
-
-