# com.bea.netuix.application.manager
IPortalPresentationManager Interface

public interface IPortalPresentationManager

Provides a level of abstraction over the `IDesktopDefinitionManager` and the `IPortalDefinitionManager`.

All Known Subinterfaces
  `PortalPresentationManager`

## Method Summary

`public `PortalResource`` | `getCustomizedPortalResource`(`CustomizationContext` customizationContext, `String` webAppName, `PortalPath` portalPath, `DesktopPath` desktopPath) Returns a customized `PortalResource``` object that a combination of the `webAppName`, `PortalPath`, `DesktopPath` and user permissions resolves to.
`public `PortalResource`` | `getPortalResource`(`CustomizationContext` customizationContext, `String` webAppName, `PortalPath` portalPath, `DesktopPath` desktopPath) Returns a `PortalResource``` object that a combination of the `webAppName`, `PortalPath`, `DesktopPath` and user permissions resolves to.

## Method Detail

### getCustomizedPortalResource(CustomizationContext, String, PortalPath, DesktopPath) Method

    public PortalResource getCustomizedPortalResource(CustomizationContext customizationContext,
                                                      String webAppName,
                                                      PortalPath portalPath,
                                                      DesktopPath desktopPath)
         throws RemoteException

Returns a customized `PortalResource``` object that a combination of the `webAppName`, `PortalPath`, `DesktopPath` and user permissions resolves to.
If this combination does not resolve to a Desktop, null is returned.

#### Parameters

customizationContext
  customization information

webAppName
  J2EE web application name

portalPath
  `PortalPath`

desktopPath
  `DesktopPath`, can be null in which case portal resource uri will be returned

#### Returns

PortalResource

#### Exceptions

``RemoteException``

### getPortalResource(CustomizationContext, String, PortalPath, DesktopPath) Method

    public PortalResource getPortalResource(CustomizationContext customizationContext,
                                            String webAppName,
                                            PortalPath portalPath,
                                            DesktopPath desktopPath)
         throws RemoteException

Returns a `PortalResource``` object that a combination of the `webAppName`, `PortalPath`, `DesktopPath` and user permissions resolves to.
If this combination does not resolve to a Desktop, the default `Desktop` is returned.
If a default `Desktop` does not exist, the content uri to the `PortalDefinition` is returned.

#### Parameters

customizationContext
  customization information

webAppName
  J2EE web application name

portalPath
  `PortalPath`

desktopPath
  `DesktopPath`, can be null in which case portal resource uri will be returned

#### Returns

PortalResource

#### Exceptions

``RemoteException``