|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.portal.core.impl.model.portal.PortalObjectImpl
org.jboss.portal.core.impl.model.portal.ContextImpl
public class ContextImpl
Field Summary |
---|
Fields inherited from class org.jboss.portal.core.impl.model.portal.PortalObjectImpl |
---|
ALL_TYPES_MASK, log |
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 |
Constructor Summary | |
---|---|
ContextImpl()
|
|
ContextImpl(boolean hibernate)
|
Method Summary | |
---|---|
protected PortalObjectImpl |
cloneObject()
|
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. |
int |
getType()
Returns the type of the object which is a value that discriminates the object type. |
Methods inherited from class org.jboss.portal.core.impl.model.portal.PortalObjectImpl |
---|
addChild, compareTo, copy, destroy, destroyChild, equals, getChild, getChildren, getChildren, getDeclaredProperties, getDeclaredProperty, getDeclaredPropertyMap, getDefaultChild, getDisplayName, getDisplayNames, getId, getKey, getListener, getMask, getMask, getName, getObjectNode, getParent, getProperties, getProperty, hashCode, setDeclaredProperty, setDeclaredPropertyMap, setDisplayName, setDisplayNames, setKey, setListener, setObjectNode, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.jboss.portal.core.model.portal.PortalObject |
---|
copy, destroyChild, getChild, getChildren, getChildren, getDeclaredProperties, getDeclaredProperty, getDisplayName, getId, getListener, getName, getParent, getProperties, getProperty, setDeclaredProperty, setDisplayName, setListener |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Constructor Detail |
---|
public ContextImpl()
public ContextImpl(boolean hibernate)
Method Detail |
---|
public Portal getPortal(java.lang.String name)
PortalContainer
getPortal
in interface PortalContainer
name
- the portal name
public Portal createPortal(java.lang.String name) throws DuplicatePortalObjectException
PortalContainer
createPortal
in interface PortalContainer
name
- the portal name
DuplicatePortalObjectException
- if a child with the specified name already existspublic Portal getDefaultPortal()
PortalContainer
getDefaultPortal
in interface PortalContainer
public int getType()
PortalObject
getType
in interface PortalObject
getType
in class PortalObjectImpl
protected PortalObjectImpl cloneObject()
cloneObject
in class PortalObjectImpl
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |