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 fromNavigableInstanceaddNavigable(CustomizationContextcustomizationContext,DesktopDefinitionIddesktopDefinitionId,BookInstanceIdbookInstanceId,NavigableDefinitionIdnavigableDefinitionId, 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 fromPlaceableInstanceaddPlaceable(CustomizationContextcustomizationContext,DesktopDefinitionIddesktopDefinitionId,PageInstanceIdpageInstanceId,PlaceableDefinitionIdplaceableDefinitionId,PlaceholderDefinitionIdplaceholderDefinitionId, int position)
throwsRemoteException,ObjectNotFoundException,MissingDataException,NotEntitledException,IllegalDependencyException
IPageInstanceManager.addPlaceable(CustomizationContext, DesktopDefinitionId, PageInstanceId, PlaceableDefinitionId, PlaceholderDefinitionId, int)
RemoteException
ObjectNotFoundException
MissingDataException
NotEntitledException
IllegalDependencyException
publicDescription copied fromPortletInstanceIdcreateSuccessor(CustomizationContextcustomizationContext,DesktopDefinitionIddesktopDefinitionId,PortletInstanceIdportletInstanceId)
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 fromStringusername)
throwsRemoteException,NotEntitledException
IDesktopInstanceManager.deleteDesktopCustomizations(String)
RemoteException
NotEntitledException
public void deletePortletInstance(Description copied fromCustomizationContextcustomizationContext,PortletInstanceIdportletInstanceId)
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 fromBookInstancegetBookInstance(CustomizationContextcustomizationContext,BookInstanceIdbookInstanceId)
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 fromBookViewgetBookView(CustomizationContextcustomizationContext,DesktopDefinitionIddesktopDefinitionId,BookInstanceIdbookInstanceId)
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 fromDesktopViewgetCustomizedDesktopView(CustomizationContextcustomizationContext,StringwebAppName,PortalPathportalPath,DesktopPathdesktopPath)
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 fromDesktopInstancegetDesktopInstance(CustomizationContextcustomizationContext,DesktopInstanceIddesktopInstanceId)
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 fromDesktopViewgetDesktopView(CustomizationContextcustomizationContext,StringwebAppName,PortalPathportalPath,DesktopPathdesktopPath)
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 fromDesktopViewgetDesktopView(CustomizationContextcustomizationContext,DesktopInstanceIddesktopInstanceId)
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 fromPageInstancegetPageInstance(CustomizationContextcustomizationContext,PageInstanceIdpageInstanceId)
throwsRemoteException
IPageInstanceManager.getPageInstance(CustomizationContext, PageInstanceId)
Getter for returning a single PageInstance.
RemoteException
publicDescription copied fromPageViewgetPageView(CustomizationContextcustomizationContext,DesktopDefinitionIddesktopDefinitionId,PageInstanceIdpageInstanceId)
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 fromPortletInstancegetPortletInstance(CustomizationContextcustomizationContext,PortletInstanceIdportletInstanceId)
throwsRemoteException
IPortletInstanceManager.getPortletInstance(CustomizationContext, PortletInstanceId)
Getter for returning a single PortletInstance.
RemoteException
publicDescription copied fromPortletViewgetPortletView(CustomizationContextcustomizationContext,PortletInstanceIdportletInstanceId)
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 fromPortletInstanceIdgetPredecessor(CustomizationContextcustomizationContext,PortletInstanceIdportletInstanceId)
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(CustomizationContextcustomizationContext,PortletInstanceIdportletInstanceId)
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 fromNavigableInstancemoveNavigable(CustomizationContextcustomizationContext,DesktopDefinitionIddesktopDefinitionId,BookInstanceIdfromParentBookInstanceId,BookInstanceIdtoParentBookInstanceId,NavigableInstanceIdnavigableInstanceId, 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 fromCustomizationContextcustomizationContext,DesktopDefinitionIddesktopDefinitionId,PlacementIdplacementId,PageInstanceIdtoPageInstanceId,PlaceholderDefinitionIdplaceholderDefinitionId, int position)
throwsRemoteException,ObjectNotFoundException,NotEntitledException,IllegalDependencyException
IPageInstanceManager.movePlaceable(CustomizationContext, DesktopDefinitionId, PlacementId, PageInstanceId, PlaceholderDefinitionId, int)
RemoteException
ObjectNotFoundException
NotEntitledException
IllegalDependencyException
public void removeNavigable(Description copied fromCustomizationContextcustomizationContext,DesktopDefinitionIddesktopDefinitionId,NavigableInstancenavigableInstance)
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 fromCustomizationContextcustomizationContext,DesktopDefinitionIddesktopDefinitionId,PlaceableInstanceplaceableInstance)
throwsRemoteException,ObjectNotFoundException,MissingDataException,NotEntitledException
IPageInstanceManager.removePlaceable(CustomizationContext, DesktopDefinitionId, PlaceableInstance)
RemoteException
ObjectNotFoundException
MissingDataException
NotEntitledException
public void setDefaultNavigable(Description copied fromCustomizationContextcustomizationContext,DesktopDefinitionIddesktopDefinitionId,BookInstanceIdparentBookInstanceId,NavigableInstanceIdnavigableInstanceId)
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(SessionContextsessionContext)
throwsEJBException,RemoteException
EJBException
RemoteException
publicDescription copied fromBookInstanceupdateBookInstance(CustomizationContextcustomizationContext,DesktopDefinitionIddesktopDefinitionId,BookInstancebookInstance)
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 fromDesktopInstanceupdateDesktopInstance(CustomizationContextcustomizationContext,DesktopInstancedesktopInstance)
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 fromPageInstanceupdatePageInstance(CustomizationContextcustomizationContext,DesktopDefinitionIddesktopDefinitionId,PageInstancepageInstance)
throwsRemoteException,ObjectNotFoundException,NotEntitledException
IPageInstanceManager.updatePageInstance(CustomizationContext, DesktopDefinitionId, PageInstance)
Update the page instance with the new data.
RemoteException
ObjectNotFoundException
NotEntitledException
publicDescription copied fromPortletInstanceupdatePortletInstance(CustomizationContextcustomizationContext,DesktopDefinitionIddesktopDefinitionId,PortletInstanceportletInstance)
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 fromPortletInstanceupdatePortletInstance(CustomizationContextcustomizationContext,PortletInstanceportletInstance)
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