com.plumtree.portalpages.browsing.myportal
Interface IMyPortalModelHelper

All Known Implementing Classes:
CommunityMyPortalModelHelper, MyPageMyPortalModelHelper

public interface IMyPortalModelHelper

Author:
michaeld

Method Summary
 java.lang.String GetCollapsedPortletsPrefName()
          Returns the preference name for collapsed gadgets.
 java.lang.String GetCommunityName(int nCommunityID)
          Deprecated. Use NavigationModel.GetCurCommunityName instead.
 IPTQueryResult GetCommunityPages(int nCommunityID)
          Get the pages in the community.
 boolean GetIsCommunityPage()
          Get whether the current page is a community page.
 java.lang.Object[][] GetPortletHasNoTitleBar(int nCommunityID)
          Returns the portlets without title bars.
 void Init(IPTSession ptSession, AActivitySpace parent)
          Initializes the MyPortalModelHelper.
 IPTPageInfo OpenPage(int nCommunityID, int nPageID)
          Returns IPTMyPortal for the current page.
 

Method Detail

GetCollapsedPortletsPrefName

java.lang.String GetCollapsedPortletsPrefName()
Returns the preference name for collapsed gadgets.

Returns:
String strCollapsedPortletsPrefName

GetCommunityPages

IPTQueryResult GetCommunityPages(int nCommunityID)
Get the pages in the community.

Parameters:
nCommunityID - nCommunityID
Returns:
IPTQueryResult ptqrCommunityPages

GetPortletHasNoTitleBar

java.lang.Object[][] GetPortletHasNoTitleBar(int nCommunityID)
Returns the portlets without title bars.

Parameters:
nCOmmunityID - nCommunityID
Returns:
Object[][] aoPortletHasNoTitleBar

GetIsCommunityPage

boolean GetIsCommunityPage()
Get whether the current page is a community page.

Returns:
boolean bIsCommunityPage

Init

void Init(IPTSession ptSession,
          AActivitySpace parent)
Initializes the MyPortalModelHelper.

Parameters:
ptSession - session

OpenPage

IPTPageInfo OpenPage(int nCommunityID,
                     int nPageID)
Returns IPTMyPortal for the current page.

Parameters:
nCommunityID - nCommunityID
nPageID - nPageID
Returns:
IPTMyPortal

GetCommunityName

java.lang.String GetCommunityName(int nCommunityID)
Deprecated. Use NavigationModel.GetCurCommunityName instead.

Returns the Community Name if this is a Community.

Parameters:
nCommunityID -
Returns:
String



Copyright © 2002,2003,2004,2005 Plumtree Software, Inc., All Rights Reserved.