com.plumtree.portalpages.browsing.myportal.mypages
Class MyPageMyPortalModelHelper

java.lang.Object
  extended by com.plumtree.portalpages.browsing.myportal.mypages.MyPageMyPortalModelHelper
All Implemented Interfaces:
IMyPortalModelHelper

public class MyPageMyPortalModelHelper
extends java.lang.Object
implements IMyPortalModelHelper

Author:
MichaelD

Constructor Summary
MyPageMyPortalModelHelper()
           
 
Method Summary
 java.lang.String GetCollapsedPortletsPrefName()
          Returns the preference name for collapsed gadgets.
 java.lang.String GetCommunityName(int nCommunityID)
          Returns the Community Name if this is a Community.
 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)
          Individual users cannot disable title bars; this is available only for communities.
 void Init(IPTSession ptSession, AActivitySpace parent)
          Initializes the MyPortalModelHelper.
 IPTPageInfo OpenPage(int nCommunityID, int nPageID)
          Returns IPTMyPortal for the current page.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MyPageMyPortalModelHelper

public MyPageMyPortalModelHelper()
Method Detail

GetCollapsedPortletsPrefName

public java.lang.String GetCollapsedPortletsPrefName()
Description copied from interface: IMyPortalModelHelper
Returns the preference name for collapsed gadgets.

Specified by:
GetCollapsedPortletsPrefName in interface IMyPortalModelHelper
Returns:
String strCollapsedPortletsPrefName
See Also:
com.plumtree.xpshared.browsing.myportal.IMyPortalModelHelper#GetCollapsedPortletsPrefName()

GetCommunityPages

public IPTQueryResult GetCommunityPages(int nCommunityID)
Description copied from interface: IMyPortalModelHelper
Get the pages in the community.

Specified by:
GetCommunityPages in interface IMyPortalModelHelper
Parameters:
nCommunityID - nCommunityID
Returns:
IPTQueryResult ptqrCommunityPages
See Also:
com.plumtree.xpshared.browsing.myportal.IMyPortalModelHelper#GetCommunityPages(int)

GetPortletHasNoTitleBar

public java.lang.Object[][] GetPortletHasNoTitleBar(int nCommunityID)
Individual users cannot disable title bars; this is available only for communities. So return null.

Specified by:
GetPortletHasNoTitleBar in interface IMyPortalModelHelper
Returns:
Object[][] aoPortletHasNoTitleBar
See Also:
com.plumtree.xpshared.browsing.myportal.IMyPortalModelHelper#GetPortletHasNoTitleBar(int)

GetIsCommunityPage

public boolean GetIsCommunityPage()
Description copied from interface: IMyPortalModelHelper
Get whether the current page is a community page.

Specified by:
GetIsCommunityPage in interface IMyPortalModelHelper
Returns:
boolean bIsCommunityPage
See Also:
com.plumtree.xpshared.browsing.myportal.IMyPortalModelHelper#GetIsCommunityPage()

Init

public void Init(IPTSession ptSession,
                 AActivitySpace parent)
Description copied from interface: IMyPortalModelHelper
Initializes the MyPortalModelHelper.

Specified by:
Init in interface IMyPortalModelHelper
Parameters:
ptSession - session
See Also:
com.plumtree.xpshared.activityspace.IModel#Init(AActivitySpace)

OpenPage

public IPTPageInfo OpenPage(int nCommunityID,
                            int nPageID)
Description copied from interface: IMyPortalModelHelper
Returns IPTMyPortal for the current page.

Specified by:
OpenPage in interface IMyPortalModelHelper
Parameters:
nCommunityID - nCommunityID
nPageID - nPageID
Returns:
IPTMyPortal
See Also:
com.plumtree.xpshared.browsing.myportal.IMyPortalModelHelper#OpenPage(int, int)

GetCommunityName

public java.lang.String GetCommunityName(int nCommunityID)
Description copied from interface: IMyPortalModelHelper
Returns the Community Name if this is a Community.

Specified by:
GetCommunityName in interface IMyPortalModelHelper
Returns:
String
See Also:
IMyPortalModelHelper.GetCommunityName(int)



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