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

PortalImpl - JBOSS Portal 2.2 API 英文版文档


org.jboss.portal.core.impl.model.portal
Class PortalImpl

java.lang.Object
  extended byorg.jboss.portal.core.impl.model.portal.PortalObjectImpl
      extended byorg.jboss.portal.core.impl.model.portal.PortalImpl
All Implemented Interfaces:
Portal, PortalObject

public class PortalImpl
extends PortalObjectImpl
implements Portal


Field Summary
protected  java.util.Set modes
           
protected  java.util.Set windowStates
           
 
Fields inherited from class org.jboss.portal.core.impl.model.portal.PortalObjectImpl
collection, declaredProperties, key, listener, objectNode, portalNode
 
Fields inherited from interface org.jboss.portal.core.model.portal.PortalObject
TYPE_CONTEXT, TYPE_PAGE, TYPE_PORTAL, TYPE_WINDOW
 
Constructor Summary
PortalImpl()
           
PortalImpl(boolean hibernate)
           
 
Method Summary
 Page createPage(java.lang.String name)
          Create a new page.
 Page getDefaultPage()
          Return the default page.
 java.util.Set getModes()
           
 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.
 int getType()
          A numerical type that discriminates the object.
 java.util.Set getWindowStates()
           
 void setModes(java.util.Set modes)
           
 void setWindowStates(java.util.Set windowStates)
           
 
Methods inherited from class org.jboss.portal.core.impl.model.portal.PortalObjectImpl
addChild, destroyChild, getChild, getChildren, getContainer, getDeclaredProperties, getDeclaredProperty, getDeclaredPropertyMap, getId, getKey, getListener, getName, getObjectNode, getParent, getPortalNode, getProperty, resolve, setDeclaredProperties, setDeclaredProperty, setKey, setListener, setObjectNode, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jboss.portal.core.model.portal.PortalObject
destroyChild, getChild, getChildren, getContainer, getDeclaredProperty, getDeclaredPropertyMap, getId, getListener, getName, getParent, getProperty, resolve, setDeclaredProperty, setListener
 

Field Detail

windowStates

protected java.util.Set windowStates

modes

protected java.util.Set modes
Constructor Detail

PortalImpl

public PortalImpl()

PortalImpl

public PortalImpl(boolean hibernate)
Method Detail

getModes

public java.util.Set getModes()

setModes

public void setModes(java.util.Set modes)

getWindowStates

public java.util.Set getWindowStates()

setWindowStates

public void setWindowStates(java.util.Set windowStates)

getSupportedWindowStates

public java.util.Set getSupportedWindowStates()
Description copied from interface: Portal
Return the window state provider of this portal.

Specified by:
getSupportedWindowStates in interface Portal

getSupportedModes

public java.util.Set getSupportedModes()
Description copied from interface: Portal
Return the mode provider of this portal.

Specified by:
getSupportedModes in interface Portal

getPage

public Page getPage(java.lang.String name)
Description copied from interface: Portal
Return an existing page.

Specified by:
getPage in interface Portal

createPage

public Page createPage(java.lang.String name)
                throws DuplicatePortalObjectException
Description copied from interface: Portal
Create a new page.

Specified by:
createPage in interface Portal
Throws:
DuplicatePortalObjectException

getType

public int getType()
Description copied from interface: PortalObject
A numerical type that discriminates the object.

Specified by:
getType in interface PortalObject
Specified by:
getType in class PortalObjectImpl

getDefaultPage

public Page getDefaultPage()
Description copied from interface: Portal
Return the default page.

Specified by:
getDefaultPage in interface Portal