|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.bea.portal.manager.PortalFactory
Abstract class PortalFactory
contains a set of static methods
that should be used to create concrete instances of classes in the portal
framework.
Constructor Summary | |
PortalFactory()
|
Method Summary | |
static com.bea.portal.manager.internal.LayoutDefinitionImpl |
createLayoutDefinition(LayoutIdentifier layoutId)
Returns an instance of LayoutDefinitionImpl from an existing
LayoutIdentifier . |
static LayoutIdentifier |
createLayoutIdentifier(PortalIdentifier portalId,
java.lang.String name)
Returns an instance of LayoutIdentifier from an existing
PortalIdentifier and a unique name within this portal. |
static PageIdentifier |
createPageIdentifier(PortalIdentifier portalId,
java.lang.String name)
Returns an instance of PageIdentifier from an existing
PortalIdentifier and a unique name within this portal. |
static PlaceholderIdentifier |
createPlaceholderIdentifier(PageIdentifier pageId,
java.lang.String placeholderName)
Returns an instance of PlaceholderIdentifier from an existing
PageIdentifier and a unique name within this portal. |
static PortalIdentifier |
createPortalIdentifier(java.lang.String identifier)
Returns an instance of PortalIdentifier from an existing
constructed id. |
static PortalIdentifier |
createPortalIdentifier(java.lang.String appName,
java.lang.String webApp)
Returns an instance of PortalIdentifier from the
enterprise application name and the web application name. |
static PortletIdentifier |
createPortletIdentifier(PortalIdentifier portalId,
java.lang.String name)
Returns an instance of PortletIdentifier from an existing
PortalIdentifier and a unique name within this portal. |
static com.bea.portal.manager.internal.SkinDefinitionImpl |
createSkinDefinition(SkinIdentifier skinId)
Returns an instance of SkinDefinitionImpl from an existing
SkinIdentifier . |
static SkinIdentifier |
createSkinIdentifier(PortalIdentifier portalId,
java.lang.String name)
Returns an instance of SkinIdentifier from an existing
PortalIdentifier and a unique name within this portal. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public PortalFactory()
Method Detail |
public static PortalIdentifier createPortalIdentifier(java.lang.String appName, java.lang.String webApp)
PortalIdentifier
from the
enterprise application name and the web application name.
appName
- the application name that the portal webapp is in.webApp
- the name of the web application itself.PortalIdentifier
.public static PortalIdentifier createPortalIdentifier(java.lang.String identifier)
PortalIdentifier
from an existing
constructed id. Only use this constructor with a String
that was obtained by calling getId
on an instance of
PortalIdentifier
.
identifier
- an existing constructed id.PortalIdentifier
.public static PageIdentifier createPageIdentifier(PortalIdentifier portalId, java.lang.String name)
PageIdentifier
from an existing
PortalIdentifier
and a unique name within this portal.
portalId
- the portal that this page is scoped to.name
- the unique name of the page within this portal.PageIdentifier
.public static PortletIdentifier createPortletIdentifier(PortalIdentifier portalId, java.lang.String name)
PortletIdentifier
from an existing
PortalIdentifier
and a unique name within this portal.
portalId
- the portal that this portlet is scoped to.name
- the unique name of the portlet within this portal.PortletIdentifier
.public static LayoutIdentifier createLayoutIdentifier(PortalIdentifier portalId, java.lang.String name)
LayoutIdentifier
from an existing
PortalIdentifier
and a unique name within this portal.
portalId
- the portal that this layout is scoped to.name
- the unique name of the layout within this portal.LayoutIdentifier
.public static SkinIdentifier createSkinIdentifier(PortalIdentifier portalId, java.lang.String name)
SkinIdentifier
from an existing
PortalIdentifier
and a unique name within this portal.
portalId
- the portal that this skin is scoped to.name
- the unique name of the skin within this portal.SkinIdentifier
.public static PlaceholderIdentifier createPlaceholderIdentifier(PageIdentifier pageId, java.lang.String placeholderName)
PlaceholderIdentifier
from an existing
PageIdentifier
and a unique name within this portal.
pageId
- the page that this placeholder is scoped to.name
- the unique name of the placeholder within this portal.PlaceholderIdentifier
.public static com.bea.portal.manager.internal.SkinDefinitionImpl createSkinDefinition(SkinIdentifier skinId)
SkinDefinitionImpl
from an existing
SkinIdentifier
.
skinId
- the skin to be personalized.SkinDefinitionImpl
.public static com.bea.portal.manager.internal.LayoutDefinitionImpl createLayoutDefinition(LayoutIdentifier layoutId)
LayoutDefinitionImpl
from an existing
LayoutIdentifier
.
layoutId
- the layout to be personalized.LayoutDefinitionImpl
.
|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |