org.jboss.portal.server.plugins.windowstate
Class WindowStates
java.lang.Object
org.jboss.portal.common.plugin.AbstractPlugin
org.jboss.portal.server.plugins.PluginService
org.jboss.portal.server.plugins.windowstate.WindowStates
- All Implemented Interfaces:
- MetaDataHolder, Plugin, Registration, Service, WindowStateProvider
public class WindowStates
- extends PluginService
- implements WindowStateProvider
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
metaData
protected WindowStatesMetaData metaData
windowStates
protected java.util.Set windowStates
WindowStates
public WindowStates()
containsWindowState
public boolean containsWindowState(WindowState windowState)
- Specified by:
containsWindowState
in interface WindowStateProvider
- Throws:
java.lang.IllegalArgumentException
- if the window state is null
addWindowState
public void addWindowState(WindowState windowState)
- Specified by:
addWindowState
in interface WindowStateProvider
- Throws:
java.lang.IllegalArgumentException
- if the window state is null
removeWindowState
public void removeWindowState(WindowState windowState)
- Specified by:
removeWindowState
in interface WindowStateProvider
- Throws:
java.lang.IllegalArgumentException
- if the window state is null
getWindowStates
public java.util.Set getWindowStates()
- Specified by:
getWindowStates
in interface WindowStateProvider
start
public void start()
throws java.lang.Exception
- Description copied from interface:
Service
- Start.
- Specified by:
start
in interface Service
- Overrides:
start
in class PluginService
- Throws:
java.lang.Exception
setMetaData
public void setMetaData(MetaData metaData)
- Specified by:
setMetaData
in interface MetaDataHolder
getMetaData
public MetaData getMetaData()
- Specified by:
getMetaData
in interface MetaDataHolder