|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.portal.server.kernel.BaseService
org.jboss.portal.server.ServerObject
org.jboss.portal.server.Window
public class Window
The placement of a component instance on the page.
| Field Summary | |
|---|---|
protected Instance |
instance
|
protected WindowMetaData |
metaData
|
protected Portal |
portal
|
| Fields inherited from class org.jboss.portal.server.ServerObject |
|---|
log, name, plugins |
| Fields inherited from class org.jboss.portal.server.kernel.BaseService |
|---|
ctx |
| Constructor Summary | |
|---|---|
Window(WindowMetaData metaData)
|
|
| Method Summary | |
|---|---|
void |
addIDependOn(ServiceImplementation implementation)
Add a service it depends on. |
ServerObjectContext |
createContext()
Create and returns a context object. |
ServerURL |
createURL()
Create a new URL for that will target this object. |
Instance |
getInstance()
Return the instance associed to this window. |
ServerObjectMetaData |
getMetaData()
Return the meta data for that object. |
Portal |
getPortal()
Return the portal this instance belongs to. |
PortalServer |
getServer()
Return the container this object belongs to. |
java.util.Collection |
getSupportedModes(java.lang.String contentType)
Return the set portlet modes allowed by this portlet window. |
java.util.Set |
getSupportedWindowStates()
Return the set window states allowed by this portlet window. |
boolean |
isSupportedMode(java.lang.String contentType,
Mode mode)
Return true if the given content type is supported for the given mode. |
boolean |
isSupportedWindowState(WindowState windowState)
|
void |
removeIDependOn(ServiceImplementation implementation)
Remove a service it depends on. |
| Methods inherited from class org.jboss.portal.server.ServerObject |
|---|
addDependsOnMe, addPlugin, create, destroy, getID, getName, getPlugin, getPluginKeySet, invoke, removeDependsOnMe, removePlugin, start, stop |
| Methods inherited from class org.jboss.portal.server.kernel.BaseService |
|---|
registered, unregister |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jboss.portal.server.kernel.Registration |
|---|
registered, unregister |
| Field Detail |
|---|
protected Portal portal
protected Instance instance
protected WindowMetaData metaData
| Constructor Detail |
|---|
public Window(WindowMetaData metaData)
| Method Detail |
|---|
public ServerObjectContext createContext()
ServerObject
createContext in class ServerObjectpublic ServerObjectMetaData getMetaData()
ServerObject
getMetaData in class ServerObjectpublic PortalServer getServer()
ServerObject
getServer in class ServerObjectpublic Portal getPortal()
public Instance getInstance()
public void addIDependOn(ServiceImplementation implementation)
Registration
addIDependOn in interface RegistrationaddIDependOn in class ServerObjectpublic void removeIDependOn(ServiceImplementation implementation)
Registration
removeIDependOn in interface RegistrationremoveIDependOn in class ServerObjectpublic java.util.Collection getSupportedModes(java.lang.String contentType)
public boolean isSupportedMode(java.lang.String contentType,
Mode mode)
java.lang.IllegalArgumentException - if the content type or the mode is nullpublic boolean isSupportedWindowState(WindowState windowState)
java.lang.IllegalArgumentException - if the window state is nullpublic java.util.Set getSupportedWindowStates()
public ServerURL createURL()
ServerObject
createURL in class ServerObject
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||