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

java.lang.Object
  extended by com.plumtree.portalpages.browsing.myportal.communities.CommunityUnsubscribeView
All Implemented Interfaces:
IManagedObject, IMVCObject, IView

public class CommunityUnsubscribeView
extends java.lang.Object
implements IView

Section for unsubscribing/quitting from a community via UnsubscribeCurCommunityControl. This view displays a successful message if the user successfully unsubscribed, and an error message if the user is already unsubscribed from the community.

Author:
btse

Field Summary
static java.lang.String STR_MVC_CLASS_NAME
           
 
Constructor Summary
CommunityUnsubscribeView()
           
 
Method Summary
 java.lang.Object Create()
          This method is used by the ASManager to return new instances of managed objects.
 HTMLElement CreateConfirmOfUnsubscribePage()
          Method CreateConfirmOfUnsubscribePage - displays page that confirms the unsubscribing of community and allows to view the unsubscribed community
 HTMLElement CreateErrorPage()
          Method createErrorPage - displays the error page if user is already a member of the community specified
 HTMLElement Display()
          This method returns the HTMLElement that encompasses the output of the View.
 HTMLScript DisplayJavascript()
          Display JavaScript
 java.lang.String GetName()
          Return the name of the MVC object.
 void Init(IModelRO model, AActivitySpace parent)
          This method initializes the View with the read only model interface it is supposed to draw it's data from as well as it's parent ActivitySpace (necessary to create URLS).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STR_MVC_CLASS_NAME

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

CommunityUnsubscribeView

public CommunityUnsubscribeView()
Method Detail

Create

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

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

CreateConfirmOfUnsubscribePage

public HTMLElement CreateConfirmOfUnsubscribePage()
Method CreateConfirmOfUnsubscribePage - displays page that confirms the unsubscribing of community and allows to view the unsubscribed community

Returns:
HTMLElement
Throws:
HTMLException

CreateErrorPage

public HTMLElement CreateErrorPage()
Method createErrorPage - displays the error page if user is already a member of the community specified

Returns:
HTMLElement
Throws:
HTMLException

Display

public HTMLElement Display()
Description copied from interface: IView
This method returns the HTMLElement that encompasses the output of the View.

Specified by:
Display in interface IView
See Also:
com.plumtree.xpshared.activityspace.IView#display()

DisplayJavascript

public HTMLScript DisplayJavascript()
Display JavaScript

Specified by:
DisplayJavascript in interface IView
Returns:
HTMLScript

GetName

public java.lang.String GetName()
Description copied from interface: IMVCObject
Return the name of the MVC object.

Specified by:
GetName in interface IMVCObject
Returns:
the name of the object.
See Also:
com.plumtree.xpshared.activityspace.IView#GetName()

Init

public void Init(IModelRO model,
                 AActivitySpace parent)
Description copied from interface: IView
This method initializes the View with the read only model interface it is supposed to draw it's data from as well as it's parent ActivitySpace (necessary to create URLS).

Specified by:
Init in interface IView
See Also:
com.plumtree.xpshared.activityspace.IView#Init(IModel, AActivitySpace)



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