|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PortalContainer
Contains nodes of type portal.
Field Summary |
---|
Fields inherited from interface org.jboss.portal.core.model.portal.PortalObject |
---|
CONTEXT_MASK, DEFAULT_OBJECT_NAME, PAGE_MASK, PORTAL_MASK, PORTAL_PROP_DEFAULT_OBJECT_NAME, TYPE_CONTEXT, TYPE_PAGE, TYPE_PORTAL, TYPE_WINDOW, WINDOW_MASK |
Method Summary | |
---|---|
Portal |
createPortal(java.lang.String name)
Create a new portal. |
Portal |
getDefaultPortal()
Returns the default portal. |
Portal |
getPortal(java.lang.String name)
Return an existing portal or null if such a child does not exist or does not have the right type. |
Methods inherited from interface org.jboss.portal.core.model.portal.PortalObject |
---|
copy, destroyChild, getChild, getChildren, getChildren, getDeclaredProperties, getDeclaredProperty, getId, getListener, getName, getParent, getProperties, getProperty, getType, setDeclaredProperty, setListener |
Method Detail |
---|
Portal getPortal(java.lang.String name) throws java.lang.IllegalArgumentException
name
- the portal name
java.lang.IllegalArgumentException
- if the specified name is nullPortal createPortal(java.lang.String name) throws DuplicatePortalObjectException, java.lang.IllegalArgumentException
name
- the portal name
DuplicatePortalObjectException
- if a child with the specified name already exists
java.lang.IllegalArgumentException
- if the name argument is nullPortal getDefaultPortal()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |