com.plumtree.portalpages.browsing.myportal.communities
Class CommunityMyPortalModelHelper

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

public class CommunityMyPortalModelHelper
extends java.lang.Object
implements IMyPortalModelHelper

Author:
MichaelD

Field Summary
static java.lang.String COMCOLLAPSEDGADGETS
           
static java.lang.String COMGADGETHASNOTITLEBAR
           
 
Constructor Summary
CommunityMyPortalModelHelper()
           
 
Method Summary
 java.lang.String GetCollapsedPortletsPrefName()
          Returns the preference name for collapsed gadgets.
 int GetCommunityAccessLevel(int nCommunityID)
          Return the access level for the community.
 java.lang.String GetCommunityName(int nCommunityID)
          Deprecated. Use NavigationModel.GetCurCommunityName instead.
 IPTQueryResult GetCommunityPages(int nCommunityID)
          Get the pages in the community.
 int GetHeaderID(int nCommunityID)
          Return the headerID for the community; used when processing the style sheet.
 boolean GetIsCommunityPage()
          Get whether the current page is a community page.
 java.lang.Object[][] GetPortletHasNoTitleBar(int nCommunityID)
          Returns the portlets without title bars.
 java.lang.String GetStyleSheet(int nCommunityID)
          Return the stylesheet for the community; used when processing the style sheet.
 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
 

Field Detail

COMCOLLAPSEDGADGETS

public static final java.lang.String COMCOLLAPSEDGADGETS
See Also:
Constant Field Values

COMGADGETHASNOTITLEBAR

public static final java.lang.String COMGADGETHASNOTITLEBAR
See Also:
Constant Field Values
Constructor Detail

CommunityMyPortalModelHelper

public CommunityMyPortalModelHelper()
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()

GetCommunityAccessLevel

public int GetCommunityAccessLevel(int nCommunityID)
Return the access level for the community.


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)
Description copied from interface: IMyPortalModelHelper
Returns the portlets without title bars.

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

GetHeaderID

public int GetHeaderID(int nCommunityID)
Return the headerID for the community; used when processing the style sheet.


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()

GetStyleSheet

public java.lang.String GetStyleSheet(int nCommunityID)
Return the stylesheet for the community; used when processing the style sheet.


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)
Deprecated. Use NavigationModel.GetCurCommunityName instead.

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.