PortalFactory Class
DEPRECATED com.bea.portal is only useful in the compatibility domain. For the new portal framework please
use the classes under the com.bea.netuix package
- public abstract class PortalFactory
extends Object
Abstract class PortalFactory
contains a set of static methods
that should be used to create concrete instances of classes in the portal
framework.
-
Hierarchy
-
Object
PortalFactory
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortalFactory
public PortalFactory()
createLayoutDefinition(LayoutIdentifier) Method
public static LayoutDefinitionImpl
createLayoutDefinition(LayoutIdentifier
layoutId)
Returns an instance of LayoutDefinitionImpl
from an existing
LayoutIdentifier
.
Parameters
-
layoutId
- the layout to be personalized.
Returns
- a new instance of
LayoutDefinitionImpl
.
createLayoutIdentifier(PortalIdentifier, String) Method
public static LayoutIdentifier
createLayoutIdentifier(PortalIdentifier
portalId,
String
name)
Returns an instance of LayoutIdentifier
from an existing
PortalIdentifier
and a unique name within this portal.
Parameters
-
portalId
- the portal that this layout is scoped to.
-
name
- the unique name of the layout within this portal.
Returns
- a new instance of
LayoutIdentifier
.
createPageIdentifier(PortalIdentifier, String) Method
public static PageIdentifier
createPageIdentifier(PortalIdentifier
portalId,
String
name)
Returns an instance of PageIdentifier
from an existing
PortalIdentifier
and a unique name within this portal.
Parameters
-
portalId
- the portal that this page is scoped to.
-
name
- the unique name of the page within this portal.
Returns
- a new instance of
PageIdentifier
.
createPlaceholderIdentifier(PageIdentifier, String) Method
public static PlaceholderIdentifier
createPlaceholderIdentifier(PageIdentifier
pageId,
String
placeholderName)
Returns an instance of PlaceholderIdentifier
from an existing
PageIdentifier
and a unique name within this portal.
Parameters
-
pageId
- the page that this placeholder is scoped to.
-
placeholderName
- the unique name of the placeholder within this portal.
Returns
- a new instance of
PlaceholderIdentifier
.
createPortalIdentifier(String, String) Method
public static PortalIdentifier
createPortalIdentifier(String
appName,
String
webApp)
Returns an instance of PortalIdentifier
from the
enterprise application name and the web application name.
Parameters
-
appName
- the application name that the portal webapp is in.
-
webApp
- the name of the web application itself.
Returns
- a new instance of
PortalIdentifier
.
createPortalIdentifier(String) Method
public static PortalIdentifier
createPortalIdentifier(String
identifier)
Returns an instance of PortalIdentifier
from an existing
constructed id. Only use this constructor with a String
that was obtained by calling getId
on an instance of
PortalIdentifier
.
Parameters
-
identifier
- an existing constructed id.
Returns
- a new instance of
PortalIdentifier
.
createPortletIdentifier(PortalIdentifier, String) Method
public static PortletIdentifier
createPortletIdentifier(PortalIdentifier
portalId,
String
name)
Returns an instance of PortletIdentifier
from an existing
PortalIdentifier
and a unique name within this portal.
Parameters
-
portalId
- the portal that this portlet is scoped to.
-
name
- the unique name of the portlet within this portal.
Returns
- a new instance of
PortletIdentifier
.
createSkinDefinition(SkinIdentifier) Method
public static SkinDefinitionImpl
createSkinDefinition(SkinIdentifier
skinId)
Returns an instance of SkinDefinitionImpl
from an existing
SkinIdentifier
.
Parameters
-
skinId
- the skin to be personalized.
Returns
- a new instance of
SkinDefinitionImpl
.
createSkinIdentifier(PortalIdentifier, String) Method
public static SkinIdentifier
createSkinIdentifier(PortalIdentifier
portalId,
String
name)
Returns an instance of SkinIdentifier
from an existing
PortalIdentifier
and a unique name within this portal.
Parameters
-
portalId
- the portal that this skin is scoped to.
-
name
- the unique name of the skin within this portal.
Returns
- a new instance of
SkinIdentifier
.