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
Information about the current user's portal session is stored in the
PortalSession
. The PortalSession
is synonymous
with the HttpSession. A reference to the user's PortalSession can be
obtained via the PortalRequest
or the PortalAppflowFactory
Related Topics
PortalRequest
PortalAppflowFactory
Field Summary |
public static final |
|
Method Summary |
public |
|
public boolean |
|
public |
|
public |
|
public |
|
public |
|
public void |
|
public boolean |
|
public boolean |
|
public |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
public void |
|
Field Detail |
public static final String
KEY
Method Detail |
publicRetrieve the stored WebflowResponse (content) for the given portlet.WebflowResponse
getContentForPortlet(PageIdentifier
pageId,PortletIdentifier
portletId)
public boolean getDoAutoLogin()Return the instance of autoLogin. Used by autoLogin to prevent continuous retries on a failed auto login attempt and set after logout.
publicRetrieve the portlet that is in edit mode on this page.PortletIdentifier
getEditPortlet(PageIdentifier
pageId)
public ProfileIdentity
getIdentity()
Return the current usr's profile identity
Related Topics
publicGet the maximized portlet for this page. If no portlet is maximized on this page then return null.PortletIdentifier
getMaximizedPortlet(PageIdentifier
pageId)
Related Topics
publicReturn a map of all the minimized portlets on a page.Map
getMinimizedPortlets(PageIdentifier
pageId)
public void invalidate()Invalidate the PortalSession. Clear all instance variables. This is called when the user is logged out.
public boolean isPortletEdited(PageIdentifier
pageId)
Is a portlet on the page in edit mode? Only one portlet
per page can be in edit mode.
public boolean isPortletMaximized(PageIdentifier
pageId)
Is a portlet in the maximized mode. Only one portlet per page
can be maximized.
publicIs a portlet in the minimized mode.Boolean
isPortletMinimized(PageIdentifier
pageId,PortletIdentifier
portletId)
public void setContentForPortlet(Update the content map for the supplied portlets. This is usually called after invoking a portlet's webflow.PageIdentifier
pageId,PortletIdentifier
portletId,WebflowResponse
response)
public void setDoAutoLogin(boolean value)Setter for the instance variable doAutoLogin.
public void setEditPortlet(Set this portlet into edit mode.PageIdentifier
pageId,PortletIdentifier
portletId)
Related Topics
public void setIdentity(ProfileIdentity
identity)
Set the current user's profile identity. This is done automatically by the
security processors upon successful login.
public void setMaximizedPortlet(Put a portlet into maximize mode. Only one portlet per page can be maximized. Note: maximize is different the unminimize.PageIdentifier
pageId,PortletIdentifier
portletId)
public void setMinimizedPortlet(Set a portlet in.out minimized mode.PageIdentifier
pageId,PortletIdentifier
portletId, boolean minimized)