# com.bea.netuix.application.manager.persistence.jdbc
PortalPresentationManagerImpl Class

public class PortalPresentationManagerImpl
extends `Object`
implements `IPortalPresentationManager`, `SessionBean`

PortalPresentationManagerImpl

Hierarchy
  `Object`
  `PortalPresentationManagerImpl`

All Implemented Interfaces
  `EnterpriseBean`, `IPortalPresentationManager`, `Serializable`, `SessionBean`

## Constructor Summary

PortalPresentationManagerImpl()

## Method Summary

`public void` | `ejbActivate`()
`public void` | `ejbCreate`()
`public void` | `ejbPassivate`()
`public void` | `ejbRemove`()
`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.
`protected `String`` | `getLookupName`(`String` ejbJndiName) prepends a lookup name with the application name retrieved using the p13n ApplicationHelper.getApplicationName utility
`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.
`public void` | `setSessionContext`(`SessionContext` sessionContext)

Methods from class `java.lang.`Object``
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods from class `com.bea.netuix.application.manager.`IPortalPresentationManager``
``getCustomizedPortalResource`, `getPortalResource``

Methods from class `javax.ejb.`SessionBean``
`ejbActivate, ejbPassivate, ejbRemove, setSessionContext`

## Constructor Detail

### PortalPresentationManagerImpl

    public PortalPresentationManagerImpl()

## Method Detail

### ejbActivate() Method

    public void ejbActivate()
         throws EJBException

#### Exceptions

``EJBException``

### ejbCreate() Method

    public void ejbCreate()
         throws CreateException, RemoteException

#### Exceptions

``CreateException``
``RemoteException``

### ejbPassivate() Method

    public void ejbPassivate()
         throws EJBException

#### Exceptions

``EJBException``

### ejbRemove() Method

    public void ejbRemove()
         throws EJBException

#### Exceptions

``EJBException``

### 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``

### getLookupName(String) Method

    protected String getLookupName(String ejbJndiName)

prepends a lookup name with the application name retrieved using the p13n ApplicationHelper.getApplicationName utility

#### Returns

ejbJndiName prepended with application name

### 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``

### setSessionContext(SessionContext) Method

    public void setSessionContext(SessionContext sessionContext)
         throws EJBException, RemoteException

#### Exceptions

``EJBException``
``RemoteException``