com.plumtree.portalpages.browsing.portletpreview
Class PreviewPortletAS

java.lang.Object
  extended by com.plumtree.uiinfrastructure.activityspace.AActivitySpace
      extended by com.plumtree.uiinfrastructure.form.AFormAS
          extended by com.plumtree.portalpages.common.uiparts.PlumtreeAS
              extended by com.plumtree.portalpages.browsing.portletpreview.PreviewPortletAS
All Implemented Interfaces:
ITypes, IManagedObject, IMVCObject, IFormAS, IEnvironment

public class PreviewPortletAS
extends PlumtreeAS
implements IFormAS

File: PreviewPortletAS.java -------------------------- Activity Space for the Preview Portlet and Portlet Invitations Includes the following MVC and DP files: Models: PreviewPortletModel ObjectSelectionModel Views: PreviewPortletView PortletInvitationPopupView InvitePortletJSView PreviewPortletDescPopupView DPs: PreviewPortletDP PortletInvitationPopupDP InvitePortletJSDP InvitationOpenerRedirectDP PreviewPortletDescPopupDP Controls: PreviewPortletControl AddPortletControl These files make up the functionality for previewing a gadget in three ways: 1. Preview Portlet in Selection Page and adding it 2. Receiving a Portlet Invitation and adding it 3. Previewing the Portlet in the Portlet Editor These files also include the popup for the Portlet Invitation Text on a Selection Page (the "Send to Others" link).

Author:
NaveenP/DustinA, DavidP

Field Summary
static java.lang.String STR_MVC_CLASS_NAME
           
 
Fields inherited from class com.plumtree.portalpages.common.uiparts.PlumtreeAS
REGISTERED_VIEW_SESSION_ATTRIBUTE
 
Fields inherited from class com.plumtree.uiinfrastructure.form.AFormAS
JAVASCRIPT_GVAR_PTHELPSVRBASEURL, JAVASCRIPT_GVAR_PTIMGSVRIMGSURL, JAVASCRIPT_GVAR_SHAREDIMGSVRIMGSURL
 
Fields inherited from class com.plumtree.uiinfrastructure.activityspace.AActivitySpace
m_stringReferences
 
Constructor Summary
PreviewPortletAS()
           
 
Method Summary
 java.lang.Object Create()
          This method is used by the ASManager to return new instances of managed objects.
 java.lang.String GetName()
          This method is used to identify the type of this space.
 java.lang.String GetRepostControlName()
          Get Repost Control Name
 void Init()
          Initialize the Activity Space.
 
Methods inherited from class com.plumtree.portalpages.common.uiparts.PlumtreeAS
CheckBasicAccess, DisplayCommonJavaScript, GetNavType, GetStrLayoutStyleClass, ReInit, SetStrLayoutStyleClass
 
Methods inherited from class com.plumtree.uiinfrastructure.activityspace.AActivitySpace
ChangeSubSpaceKey, CleanupAllData, CleanupTempData, DeleteSubSpace, GetAccessStyle, GetApplication, GetControl, GetControlExists, GetControlsEnumerator, GetCurrentFormData, GetCurrentHTTPRequest, GetCurrentHTTPResponse, GetCurrentNormalizedBaseURL, GetCurrentPage, GetCurrentRequestURL, GetHelpTopic, GetIsAccessStyleNonStandard, GetIsAccessStyleStandard, GetIsInPlaceRefreshDisplayOn, GetIsInPlaceRefreshEnabled, GetIsSecuredSpace, GetLanguage, GetLocale, GetModel, GetModelExists, GetModelsEnumerator, GetPage, GetPageExists, GetPagesEnumerator, GetParentSpace, GetParentSpaceID, GetParentSpaceName, GetPersistentSubSession, GetResourceManager, GetSpaceID, GetString, GetStyleSheetLinks, GetSubSession, GetSubSpace, GetSubSpaceExists, GetSubSpaceKey, GetSubSpacesEnumerator, GetTimeZone, GetUserSession, GetVarPack, GetView, GetViewExists, GetViewsEnumerator, IsSubSpace, refString, RegisterControl, RegisterControl, RegisterModel, RegisterModel, RegisterPage, RegisterPage, RegisterSubSpace, RegisterView, RegisterView, SetApplication, SetCurrentFormData, SetCurrentHTTPRequestResponseObjects, SetCurrentPage, SetCurrentRequestURL, SetHelpTopic, SetIsASSecured, SetIsInPlaceRefreshDisplayOn, SetIsInPlaceRefreshEnabled, SetOverWriteSubSpaces, SetParentSpace, SetPersistentSubSession, SetSpaceID, SetSubSession, SetSubSpaceKey, SetTrackCurrentPage, SetUserSession, unrefString, UnRegisterControl, UnRegisterModel, UnRegisterPage, UnRegisterView
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.plumtree.uiinfrastructure.form.IFormAS
DisplayCommonJavaScript
 

Field Detail

STR_MVC_CLASS_NAME

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

PreviewPortletAS

public PreviewPortletAS()
Method Detail

Create

public java.lang.Object Create()
Description copied from class: AActivitySpace
This method is used by the ASManager to return new instances of managed objects.

Specified by:
Create in interface IManagedObject
Specified by:
Create in class AActivitySpace
Returns:
A new instance of the managed class (i.e. return new Foo();)
See Also:
IManagedObject.Create()

GetName

public java.lang.String GetName()
Description copied from class: AActivitySpace
This method is used to identify the type of this space.

Specified by:
GetName in interface IMVCObject
Specified by:
GetName in class PlumtreeAS
Returns:
String the name of this AActivitySpace
See Also:
com.plumtree.portaluiinfrastructure.activityspace.AActivitySpace#GetName()

GetRepostControlName

public java.lang.String GetRepostControlName()
Get Repost Control Name

Specified by:
GetRepostControlName in interface IFormAS
Overrides:
GetRepostControlName in class AFormAS
Returns:
String

Init

public void Init()
Description copied from class: AActivitySpace
Initialize the Activity Space. This method is called after common attributes like ID, parent, session, application, etc... are set. Get methods are not valid until this method is called. This method should be overridden and called as super.Init();

Overrides:
Init in class PlumtreeAS
See Also:
com.plumtree.portaluiinfrastructure.activityspace.AActivitySpace#Init(IPTSession)



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