org.openxava.controller.meta
Class MetaController

java.lang.Object
  extended by org.openxava.util.meta.MetaElement
      extended by org.openxava.controller.meta.MetaController
All Implemented Interfaces:
java.io.Serializable

public class MetaController
extends MetaElement

See Also:
Serialized Form

Constructor Summary
MetaController()
           
 
Method Summary
 void addMetaAction(MetaAction action)
           
 void addParentName(java.lang.String parentName)
           
 boolean containsMetaAction(java.lang.String actionName)
           
 java.util.Collection getAllMetaActions()
          The MetaActions of this controller and all its parents.
 java.util.Collection getAllNotHiddenMetaActions()
          The not hidden MetaActions of this controller and all its parents.
 java.lang.String getClassName()
          Only for spanish/swing version
 java.lang.String getId()
          Unique id of element, normally used to search the label in the resources files.
 MetaAction getMetaAction(java.lang.String name)
           
 java.util.Collection getMetaActions()
           
 java.util.Collection getMetaActionsAfterEachRequest()
           
 java.util.Collection getMetaActionsBeforeEachRequest()
           
 java.util.Collection getMetaActionsOnEachRequest()
           
 java.util.Collection getMetaActionsOnInit()
          Fathers actions are included.
 java.util.Collection getParents()
           
 boolean hasParents()
           
 void setClassName(java.lang.String className)
          Only for spanish/swing version
 
Methods inherited from class org.openxava.util.meta.MetaElement
getDescription, getDescription, getDescription, getLabel, getLabel, getLabel, getLocale, getName, has18nLabel, hasName, setDescription, setLabel, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetaController

public MetaController()
Method Detail

getClassName

public java.lang.String getClassName()
Only for spanish/swing version


setClassName

public void setClassName(java.lang.String className)
Only for spanish/swing version


addMetaAction

public void addMetaAction(MetaAction action)

addParentName

public void addParentName(java.lang.String parentName)

getMetaAction

public MetaAction getMetaAction(java.lang.String name)
                         throws ElementNotFoundException
Throws:
ElementNotFoundException

getMetaActions

public java.util.Collection getMetaActions()
Returns:
Not null, of type MetaAction and read only.

containsMetaAction

public boolean containsMetaAction(java.lang.String actionName)

getAllMetaActions

public java.util.Collection getAllMetaActions()
                                       throws XavaException
The MetaActions of this controller and all its parents.

Throws:
XavaException

getAllNotHiddenMetaActions

public java.util.Collection getAllNotHiddenMetaActions()
                                                throws XavaException
The not hidden MetaActions of this controller and all its parents.

Throws:
XavaException

getId

public java.lang.String getId()
Description copied from class: MetaElement
Unique id of element, normally used to search the label in the resources files.

Specified by:
getId in class MetaElement

getMetaActionsOnInit

public java.util.Collection getMetaActionsOnInit()
                                          throws XavaException
Fathers actions are included.

Throws:
XavaException

hasParents

public boolean hasParents()

getParents

public java.util.Collection getParents()
                                throws XavaException
Returns:
of type MetaController
Throws:
XavaException

getMetaActionsOnEachRequest

public java.util.Collection getMetaActionsOnEachRequest()
                                                 throws XavaException
Throws:
XavaException

getMetaActionsAfterEachRequest

public java.util.Collection getMetaActionsAfterEachRequest()
                                                    throws XavaException
Throws:
XavaException

getMetaActionsBeforeEachRequest

public java.util.Collection getMetaActionsBeforeEachRequest()
                                                     throws XavaException
Throws:
XavaException