com.plumtree.portalpages.common.uiparts
Class UnsubscribeCurCommunityControl

java.lang.Object
  extended by com.plumtree.portalpages.common.uiparts.UnsubscribeCurCommunityControl
All Implemented Interfaces:
IControl, IManagedObject, IMVCObject

public class UnsubscribeCurCommunityControl
extends java.lang.Object
implements IControl

Author:
btse

Field Summary
static java.lang.String m_CommunityID
          Community ID Query String Param
static java.lang.String STR_MVC_CLASS_NAME
           
 
Constructor Summary
UnsubscribeCurCommunityControl()
           
 
Method Summary
 Redirect CheckActionSecurityAndExecute(XPHashtable arg0)
          Looks for the CommunityID parameter and removes the current user as a member of the specified Community ID.
 java.lang.Object Create()
          This method is used by the ASManager to return new instances of managed objects.
 java.lang.String GetName()
          Return the name of the MVC object.
 void Init(IModel model, AActivitySpace space)
          Initialize the control with the model it should use and it's parent AActivitySpace.
 
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

m_CommunityID

public static final java.lang.String m_CommunityID
Community ID Query String Param

See Also:
Constant Field Values
Constructor Detail

UnsubscribeCurCommunityControl

public UnsubscribeCurCommunityControl()
Method Detail

CheckActionSecurityAndExecute

public Redirect CheckActionSecurityAndExecute(XPHashtable arg0)
Looks for the CommunityID parameter and removes the current user as a member of the specified Community ID.

Specified by:
CheckActionSecurityAndExecute in interface IControl
Returns:
Redirect where to redirect to after the control is finished executing. This will go to the login page or an error page if Redirect.SetRedirectToLogin(true) has been called.
See Also:
com.plumtree.uiinfrastructure.activityspace.IControl#CheckActionSecurityAndExecute(com.plumtree.openfoundation.util.XPHashtable)

Init

public void Init(IModel model,
                 AActivitySpace space)
Description copied from interface: IControl
Initialize the control with the model it should use and it's parent AActivitySpace. This method needs to be called before any other methods. This method also clears all internal data so the control can be used again without fear of mixing data.

Specified by:
Init in interface IControl

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.

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



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