站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.6 API 英文版文档

Portal - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.core.model.portal
Interface Portal

All Superinterfaces:
PageContainer, PortalObject
All Known Implementing Classes:
PortalImpl

public interface Portal
extends PageContainer

Version:
$Revision: 5448 $
Author:
Julien Viet

Field Summary
 
Fields inherited from interface org.jboss.portal.core.model.portal.PortalObject
DEFAULT_OBJECT_NAME, PORTAL_PROP_DEFAULT_OBJECT_NAME, TYPE_CONTEXT, TYPE_PAGE, TYPE_PORTAL, TYPE_WINDOW
 
Method Summary
 Page createPage(java.lang.String name)
          Create a new page.
 Page getDefaultPage()
          Return the default page.
 Page getPage(java.lang.String name)
          Return an existing page.
 java.util.Set getSupportedModes()
          Return the mode provider of this portal.
 java.util.Set getSupportedWindowStates()
          Return the window state provider of this portal.
 
Methods inherited from interface org.jboss.portal.core.model.portal.PortalObject
destroyChild, getChild, getChildren, getContainer, getDeclaredProperties, getDeclaredProperty, getId, getListener, getName, getParent, getProperties, getProperty, getType, setDeclaredProperty, setListener
 

Method Detail

getSupportedWindowStates

public java.util.Set getSupportedWindowStates()
Return the window state provider of this portal.


getSupportedModes

public java.util.Set getSupportedModes()
Return the mode provider of this portal.


getPage

public Page getPage(java.lang.String name)
Return an existing page.

Specified by:
getPage in interface PageContainer

createPage

public Page createPage(java.lang.String name)
                throws DuplicatePortalObjectException,
                       java.lang.IllegalArgumentException
Create a new page.

Specified by:
createPage in interface PageContainer
Throws:
DuplicatePortalObjectException
java.lang.IllegalArgumentException

getDefaultPage

public Page getDefaultPage()
Return the default page.