com.plumtree.portalpages.common.uiparts.navpagetype
Class NavigationPage

java.lang.Object
  extended by com.plumtree.portalpages.common.uiparts.navpagetype.NavigationPage
All Implemented Interfaces:
INavigationPageRO
Direct Known Subclasses:
CommunityNavPage, CommunityPreviewNavPage, DirectoryNavPage, LoginNavPage, MyPageNavPage, UserProfileNavPage

public abstract class NavigationPage
extends java.lang.Object
implements INavigationPageRO

Class used as facade to navigation model for methods appropriate to which page is current

Author:
DavidP

Field Summary
protected  INavigationModelRO m_model
           
protected  NavPageType m_type
           
 
Constructor Summary
protected NavigationPage(INavigationModelRO model, NavPageType type)
          Protected ctor() to prevent instantiation except through factory method below Feel free to place navpage-wide code here
 
Method Summary
static NavigationPage Create(NavPageType type, INavigationModelRO model)
          Factory to instantiate proper navigation page object by type
 java.lang.String GetName()
          Core name of object.
 NavPageType GetPageType()
          Returns the type of the page created
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_model

protected INavigationModelRO m_model

m_type

protected NavPageType m_type
Constructor Detail

NavigationPage

protected NavigationPage(INavigationModelRO model,
                         NavPageType type)
Protected ctor() to prevent instantiation except through factory method below Feel free to place navpage-wide code here

Method Detail

Create

public static NavigationPage Create(NavPageType type,
                                    INavigationModelRO model)
Factory to instantiate proper navigation page object by type

Parameters:
type - NavPageType
model - The Navigation model interface
Returns:
The requested NavigationPage interface
See Also:
NavPageType

GetPageType

public NavPageType GetPageType()
Returns the type of the page created

Returns:
NavPageType

GetName

public java.lang.String GetName()
Core name of object. Critical for link matchign and naming.

Specified by:
GetName in interface INavigationPageRO
Returns:
String
See Also:
com.plumtree.uiinfrastructure.activityspace.IMVCObject#GetName()



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