deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.portal.context
Class AbstractModule

java.lang.Object
  extended by org.deegree.portal.context.AbstractModule

public abstract class AbstractModule
extends java.lang.Object

describes the common access to modules embedded into the GUI described by general extension section of a web map context document within the deegree framework.

a module encapsulates GUI elements and/or functions that are used by the GUI. The concrete implementation of the GUI (e.g. as JSP pages) is responsible for enabling the commuication between the different modules of a context.

Version:
$Revision: 18195 $
Author:
Andreas Poth

Constructor Summary
AbstractModule(java.lang.String name, java.lang.String content, boolean hidden, ModuleConfiguration moduleConfiguration)
          Creates a new AbstractModule object.
 
Method Summary
 java.lang.String getContent()
           
 ModuleConfiguration getModuleConfiguration()
          returns the a specific confguration for a module.
 java.lang.String getName()
           
 boolean isHidden()
          returns true if the module is hidden. this will always be the case for modules that just offers functions to the context. visible modules may offere the capability to be turned to visible or not.
 void setContent(java.lang.String content)
          sets the name of the page/class/file etc. containing the content of the module
 void setHidden(boolean hidden)
          sets the module to be hidden or visible. modules that only adds functions to a context will ignore this because they are always hidden
 void setModuleConfiguration(ModuleConfiguration configuration)
          sets the specific configuration for a module.
 void setName(java.lang.String name)
          sets the name of a module
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractModule

public AbstractModule(java.lang.String name,
                      java.lang.String content,
                      boolean hidden,
                      ModuleConfiguration moduleConfiguration)
Creates a new AbstractModule object.

Parameters:
name -
content -
hidden -
moduleConfiguration -
Method Detail

getName

public java.lang.String getName()
Returns:
the name of a module

setName

public void setName(java.lang.String name)
sets the name of a module

Parameters:
name -

getContent

public java.lang.String getContent()
Returns:
the name of the page/class/file etc. containing the content of the module

setContent

public void setContent(java.lang.String content)
sets the name of the page/class/file etc. containing the content of the module

Parameters:
content -

isHidden

public boolean isHidden()
returns true if the module is hidden. this will always be the case for modules that just offers functions to the context. visible modules may offere the capability to be turned to visible or not.

Returns:
true if the module is hidden.

setHidden

public void setHidden(boolean hidden)
sets the module to be hidden or visible. modules that only adds functions to a context will ignore this because they are always hidden

Parameters:
hidden -

getModuleConfiguration

public ModuleConfiguration getModuleConfiguration()
returns the a specific confguration for a module. This may be null if the module doesn't need to be configured.

Returns:
the a specific confguration for a module

setModuleConfiguration

public void setModuleConfiguration(ModuleConfiguration configuration)
sets the specific configuration for a module.

Parameters:
configuration -

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org