Object
IBookInstanceManager
, IDesktopInstanceManager
, IPageInstanceManager
, IPortletInstanceManager
, SessionBean
Object
PortalCustomizationManagerImpl
EnterpriseBean
, IBookInstanceManager
, IDesktopInstanceManager
, IPageInstanceManager
, IPortletInstanceManager
, Serializable
, SessionBean
Field Summary |
protected static |
|
Constructor Summary |
Method Summary |
public |
|
public |
|
public |
|
public void |
|
public void |
|
public void | |
public void | |
public void | |
public void | |
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
public |
|
public |
|
public |
|
public |
|
public |
|
Methods from class java.lang. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods from class com.bea.netuix.application.manager. |
|
Methods from class com.bea.netuix.application.manager. |
|
Methods from class com.bea.netuix.application.manager. |
|
Methods from class com.bea.netuix.application.manager. |
|
Methods from class javax.ejb. |
ejbActivate, ejbPassivate, ejbRemove, setSessionContext |
Field Detail |
protected static Debug
debug
Constructor Detail |
public PortalCustomizationManagerImpl()
Method Detail |
publicDescription copied fromNavigableInstance
addNavigable(CustomizationContext
customizationContext,DesktopDefinitionId
desktopDefinitionId,BookInstanceId
bookInstanceId,NavigableDefinitionId
navigableDefinitionId, int position, int align)
throwsRemoteException
,ObjectNotFoundException
,MissingDataException
,NotEntitledException
,IllegalDependencyException
IBookInstanceManager.addNavigable(CustomizationContext, DesktopDefinitionId, BookInstanceId, NavigableDefinitionId, int, int)
Create an new instance of a NavigableView
(BookView or PageView) from the supplied
NavigableDefinition object.
RemoteException
ObjectNotFoundException
MissingDataException
NotEntitledException
IllegalDependencyException
publicDescription copied fromPlaceableInstance
addPlaceable(CustomizationContext
customizationContext,DesktopDefinitionId
desktopDefinitionId,PageInstanceId
pageInstanceId,PlaceableDefinitionId
placeableDefinitionId,PlaceholderDefinitionId
placeholderDefinitionId, int position)
throwsRemoteException
,ObjectNotFoundException
,MissingDataException
,NotEntitledException
,IllegalDependencyException
IPageInstanceManager.addPlaceable(CustomizationContext, DesktopDefinitionId, PageInstanceId, PlaceableDefinitionId, PlaceholderDefinitionId, int)
RemoteException
ObjectNotFoundException
MissingDataException
NotEntitledException
IllegalDependencyException
publicDescription copied fromPortletInstanceId
createSuccessor(CustomizationContext
customizationContext,DesktopDefinitionId
desktopDefinitionId,PortletInstanceId
portletInstanceId)
throwsRemoteException
,ObjectNotFoundException
,NotEntitledException
IPortletInstanceManager.createSuccessor(CustomizationContext, DesktopDefinitionId, PortletInstanceId)
Creates a successor instance and returns its instance ID. Returns the same instance ID if there is no need to create a successor instance.
RemoteException
ObjectNotFoundException
NotEntitledException
public void deleteDesktopCustomizations(Description copied fromString
username)
throwsRemoteException
,NotEntitledException
IDesktopInstanceManager.deleteDesktopCustomizations(String)
RemoteException
NotEntitledException
public void deletePortletInstance(Description copied fromCustomizationContext
customizationContext,PortletInstanceId
portletInstanceId)
throwsRemoteException
,NotEntitledException
IPortletInstanceManager.deletePortletInstance(CustomizationContext, PortletInstanceId)
Deletes a portlet instance. Note that instances associated with other aggregating entities such as pages should not be deleted directly using this method.
RemoteException
NotEntitledException
public void ejbActivate()
throwsEJBException
,RemoteException
EJBException
RemoteException
public void ejbCreate()
throwsCreateException
,RemoteException
CreateException
RemoteException
public void ejbPassivate()
throwsEJBException
,RemoteException
EJBException
RemoteException
public void ejbRemove()
throwsEJBException
,RemoteException
EJBException
RemoteException
publicDescription copied fromBookInstance
getBookInstance(CustomizationContext
customizationContext,BookInstanceId
bookInstanceId)
throwsRemoteException
IBookInstanceManager.getBookInstance(CustomizationContext, BookInstanceId)
Getter for returning a BookInstance
identified by the supplieed instance id.
BookInstance
objects if it exist, otherwisez null. RemoteException
publicDescription copied fromBookView
getBookView(CustomizationContext
customizationContext,DesktopDefinitionId
desktopDefinitionId,BookInstanceId
bookInstanceId)
throwsRemoteException
IBookInstanceManager.getBookView(CustomizationContext, DesktopDefinitionId, BookInstanceId)
Getter for returning an immutable deep copy of a BookView. The BookView
object, unlike the BookDefinition
or the BookInstance
objects
contains a deep copy of all references to all child pages, books and so on. The
BookView
object however is immutable.
RemoteException
publicDescription copied fromDesktopView
getCustomizedDesktopView(CustomizationContext
customizationContext,String
webAppName,PortalPath
portalPath,DesktopPath
desktopPath)
throwsRemoteException
IDesktopInstanceManager.getCustomizedDesktopView(CustomizationContext, String, PortalPath, DesktopPath)
Getter for returning an immutable deep copy of a DesktopView. If the user has customized
his deskotp then this will return the user's specific instance otherwise null is returned.
The DesktopView
object, unlike the DesktopDefinition
or
the DesktopInstance
objects contains a deep copy of all references to all child pages,
books and so on. The DesktopView
object however is immutable.
RemoteException
publicDescription copied fromDesktopInstance
getDesktopInstance(CustomizationContext
customizationContext,DesktopInstanceId
desktopInstanceId)
throwsRemoteException
IDesktopInstanceManager.getDesktopInstance(CustomizationContext, DesktopInstanceId)
Getter for returning a DesktopInstance
identified by the supplied instance id.
DesktopInstance
objects if it exist, otherwise null. RemoteException
publicDescription copied fromDesktopView
getDesktopView(CustomizationContext
customizationContext,String
webAppName,PortalPath
portalPath,DesktopPath
desktopPath)
throwsRemoteException
IDesktopInstanceManager.getDesktopView(CustomizationContext, String, PortalPath, DesktopPath)
Getter for returning an immutable deep copy of a DesktopView. If the user has customized
his deskotp then this will return the user's specific instance.The DesktopView
object, unlike the DesktopDefinition
or the DesktopInstance
objects
contains a deep copy of all references to all child pages, books and so on. The
DesktopView
object however is immutable.
RemoteException
publicDescription copied fromDesktopView
getDesktopView(CustomizationContext
customizationContext,DesktopInstanceId
desktopInstanceId)
throwsRemoteException
IDesktopInstanceManager.getDesktopView(CustomizationContext, DesktopInstanceId)
Getter for returning an immutable deep copy of a DesktopView. The DesktopView
object, unlike the DesktopDefinition
or the DesktopInstance
objects
contains a deep copy of all references to all child pages, books and so on. The
DesktopView
object however is immutable.
RemoteException
publicDescription copied fromPageInstance
getPageInstance(CustomizationContext
customizationContext,PageInstanceId
pageInstanceId)
throwsRemoteException
IPageInstanceManager.getPageInstance(CustomizationContext, PageInstanceId)
Getter for returning a single PageInstance
.
RemoteException
publicDescription copied fromPageView
getPageView(CustomizationContext
customizationContext,DesktopDefinitionId
desktopDefinitionId,PageInstanceId
pageInstanceId)
throwsRemoteException
IPageInstanceManager.getPageView(CustomizationContext, DesktopDefinitionId, PageInstanceId)
Getter for returning an immutable deep copy of a PageView. The PageView
object, unlike the PageDefinition
or the PageInstance
objects
contains a full set of references to all child pages, pages and so on. The
PageView
object however is immutable.
RemoteException
publicDescription copied fromPortletInstance
getPortletInstance(CustomizationContext
customizationContext,PortletInstanceId
portletInstanceId)
throwsRemoteException
IPortletInstanceManager.getPortletInstance(CustomizationContext, PortletInstanceId)
Getter for returning a single PortletInstance
.
RemoteException
publicDescription copied fromPortletView
getPortletView(CustomizationContext
customizationContext,PortletInstanceId
portletInstanceId)
IPortletInstanceManager.getPortletView(CustomizationContext, PortletInstanceId)
Getter for returning an immutable deep copy of a PortletView. The PortletView
object, unlike the PortletDefinition
or the PortletInstance
objects
contains a full set of references to all child portlets, portlets and so on. The
PortletView
object however is immutable.
publicDescription copied fromPortletInstanceId
getPredecessor(CustomizationContext
customizationContext,PortletInstanceId
portletInstanceId)
throwsRemoteException
,ObjectNotFoundException
IPortletInstanceManager.getPredecessor(CustomizationContext, PortletInstanceId)
Returns the instance ID that the given instance is based
on. Returns null
if there is no predecessor
RemoteException
ObjectNotFoundException
publicDescription copied fromPortletInstanceId
[] getSuccessors(CustomizationContext
customizationContext,PortletInstanceId
portletInstanceId)
throwsRemoteException
,ObjectNotFoundException
IPortletInstanceManager.getSuccessors(CustomizationContext, PortletInstanceId)
Returns a list of successor instances. Returns an empty list if there are no successors.
RemoteException
ObjectNotFoundException
publicDescription copied fromNavigableInstance
moveNavigable(CustomizationContext
customizationContext,DesktopDefinitionId
desktopDefinitionId,BookInstanceId
fromParentBookInstanceId,BookInstanceId
toParentBookInstanceId,NavigableInstanceId
navigableInstanceId, int position, int alignment)
throwsRemoteException
,ObjectNotFoundException
,NotEntitledException
,IllegalDependencyException
IBookInstanceManager.moveNavigable(CustomizationContext, DesktopDefinitionId, BookInstanceId, BookInstanceId, NavigableInstanceId, int, int)
Relocate the navigable instance to a new location.
RemoteException
ObjectNotFoundException
NotEntitledException
IllegalDependencyException
public void movePlaceable(Description copied fromCustomizationContext
customizationContext,DesktopDefinitionId
desktopDefinitionId,PlacementId
placementId,PageInstanceId
toPageInstanceId,PlaceholderDefinitionId
placeholderDefinitionId, int position)
throwsRemoteException
,ObjectNotFoundException
,NotEntitledException
,IllegalDependencyException
IPageInstanceManager.movePlaceable(CustomizationContext, DesktopDefinitionId, PlacementId, PageInstanceId, PlaceholderDefinitionId, int)
RemoteException
ObjectNotFoundException
NotEntitledException
IllegalDependencyException
public void removeNavigable(Description copied fromCustomizationContext
customizationContext,DesktopDefinitionId
desktopDefinitionId,NavigableInstance
navigableInstance)
throwsRemoteException
,ObjectNotFoundException
,MissingDataException
,NotEntitledException
IBookInstanceManager.removeNavigable(CustomizationContext, DesktopDefinitionId, NavigableInstance)
Remove a NavigableView (BookView or PageView) from the specified book. This method does not delete the NavigableView it just removes it from the book.
RemoteException
ObjectNotFoundException
MissingDataException
NotEntitledException
public void removePlaceable(Description copied fromCustomizationContext
customizationContext,DesktopDefinitionId
desktopDefinitionId,PlaceableInstance
placeableInstance)
throwsRemoteException
,ObjectNotFoundException
,MissingDataException
,NotEntitledException
IPageInstanceManager.removePlaceable(CustomizationContext, DesktopDefinitionId, PlaceableInstance)
RemoteException
ObjectNotFoundException
MissingDataException
NotEntitledException
public void setDefaultNavigable(Description copied fromCustomizationContext
customizationContext,DesktopDefinitionId
desktopDefinitionId,BookInstanceId
parentBookInstanceId,NavigableInstanceId
navigableInstanceId)
throwsRemoteException
,ObjectNotFoundException
,NotEntitledException
IBookInstanceManager.setDefaultNavigable(CustomizationContext, DesktopDefinitionId, BookInstanceId, NavigableInstanceId)
Set the default navigable (page or book) on a page.
RemoteException
ObjectNotFoundException
NotEntitledException
public void setSessionContext(SessionContext
sessionContext)
throwsEJBException
,RemoteException
EJBException
RemoteException
publicDescription copied fromBookInstance
updateBookInstance(CustomizationContext
customizationContext,DesktopDefinitionId
desktopDefinitionId,BookInstance
bookInstance)
throwsRemoteException
,ObjectNotFoundException
,NotEntitledException
IBookInstanceManager.updateBookInstance(CustomizationContext, DesktopDefinitionId, BookInstance)
Update the persistent store for the supplied BookInstance
. All attributes of the BookInstance
are updated in persistent store.
RemoteException
ObjectNotFoundException
NotEntitledException
publicDescription copied fromDesktopInstance
updateDesktopInstance(CustomizationContext
customizationContext,DesktopInstance
desktopInstance)
throwsRemoteException
,ObjectNotFoundException
,NotEntitledException
IDesktopInstanceManager.updateDesktopInstance(CustomizationContext, DesktopInstance)
Update the persistent store for the supplied DesktopInstance
. All attributes of the DesktopInstance
are updated in persistent store.
RemoteException
ObjectNotFoundException
NotEntitledException
publicDescription copied fromPageInstance
updatePageInstance(CustomizationContext
customizationContext,DesktopDefinitionId
desktopDefinitionId,PageInstance
pageInstance)
throwsRemoteException
,ObjectNotFoundException
,NotEntitledException
IPageInstanceManager.updatePageInstance(CustomizationContext, DesktopDefinitionId, PageInstance)
Update the page instance with the new data.
RemoteException
ObjectNotFoundException
NotEntitledException
publicDescription copied fromPortletInstance
updatePortletInstance(CustomizationContext
customizationContext,DesktopDefinitionId
desktopDefinitionId,PortletInstance
portletInstance)
throwsRemoteException
,ObjectNotFoundException
,NotEntitledException
IPortletInstanceManager.updatePortletInstance(CustomizationContext, DesktopDefinitionId, PortletInstance)
Update the portlet instance with the new data. If the portlet instance is the primary portlet instance then a new instance will be created specifically for this user or admin.
For an admin editing a portlet outside the context of a desktop (in a Library) you should use updatePortletInstance(PortletInstance)
.RemoteException
ObjectNotFoundException
NotEntitledException
publicDescription copied fromPortletInstance
updatePortletInstance(CustomizationContext
customizationContext,PortletInstance
portletInstance)
throwsRemoteException
,ObjectNotFoundException
,NotEntitledException
IPortletInstanceManager.updatePortletInstance(CustomizationContext, PortletInstance)
Update the portlet instance outside the context of a desktop (in a Library). For Admins editing the primary instance (not placed on any page) use the PortletDefinitionManager.updatePortletDefinition().
RemoteException
ObjectNotFoundException
NotEntitledException