com.plumtree.portalpages.admin.editors.webservice.userinfotree
Class UserInfoRefreshTreeControl

java.lang.Object
  extended by com.plumtree.uiinfrastructure.tree.RefreshTreeControl
      extended by com.plumtree.portalpages.admin.editors.webservice.userinfotree.UserInfoRefreshTreeControl
All Implemented Interfaces:
IControl, IManagedObject, IMVCObject

public class UserInfoRefreshTreeControl
extends RefreshTreeControl

Author:
adolfoc To change this generated comment edit the template variable "typecomment": Window>Preferences>Java>Templates. To enable and disable the creation of type comments go to Window>Preferences>Java>Code Generation.

Field Summary
static java.lang.String SELECTED_USERINFOS
          A Query String argument name - used for setting the selected USerInfos.
static java.lang.String STR_MVC_CLASS_NAME
          name of the refresh tree control
 
Fields inherited from class com.plumtree.uiinfrastructure.tree.RefreshTreeControl
m_asModel, m_asOwner
 
Constructor Summary
UserInfoRefreshTreeControl()
           
 
Method Summary
 Redirect CheckActionSecurityAndExecute(XPHashtable arguments)
          Execute the control business logic and optionally return a Redirect object pointing to another AActivitySpace.
 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.
static XPArrayList StringToUserInfos(java.lang.String strUserInfoData)
          User for transferring Userinfo's via Query String.
static java.lang.String UserInfosToString(java.lang.String[] arsUserInfos)
          Used for transferring Userinfo's via QueryString argument.
static java.lang.String UserInfoToStringJS(java.lang.String strUnique, java.lang.String strFormPrefix)
           
static java.lang.String UserInfoToStringJSFunc(java.lang.String strUnique)
           
 
Methods inherited from class com.plumtree.uiinfrastructure.tree.RefreshTreeControl
Init
 
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
name of the refresh tree control

See Also:
Constant Field Values

SELECTED_USERINFOS

public static final java.lang.String SELECTED_USERINFOS
A Query String argument name - used for setting the selected USerInfos.

See Also:
Constant Field Values
Constructor Detail

UserInfoRefreshTreeControl

public UserInfoRefreshTreeControl()
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
Overrides:
Create in class RefreshTreeControl
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 interface: IMVCObject
Return the name of the MVC object.

Specified by:
GetName in interface IMVCObject
Overrides:
GetName in class RefreshTreeControl
Returns:
the name of the object.
See Also:
IMVCObject.GetName()

CheckActionSecurityAndExecute

public Redirect CheckActionSecurityAndExecute(XPHashtable arguments)
Description copied from interface: IControl
Execute the control business logic and optionally return a Redirect object pointing to another AActivitySpace. Returning null means that the user should return to the parent AActivitySpace's current page. This method is designed to check that the user has access to perform the actions with the given parameters. If the user does not, a redirect object which has had Redirect.SetRedirectToLogin(true) called on it. If the user is the Guest, this will bounce to the login page and back to the Redirect after the user has logged on. If the user is already logged on, they will be redirected to an error page. In general, the error redirect that is returned should contain all of the query string parameters that made up the URL that originally led to the control. Checking whether or not a particular user ever has any access to the space, page, and control should be done in IPTActivitySpace.CheckBasicAccess().

Specified by:
CheckActionSecurityAndExecute in interface IControl
Overrides:
CheckActionSecurityAndExecute in class RefreshTreeControl
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)

UserInfosToString

public static java.lang.String UserInfosToString(java.lang.String[] arsUserInfos)
Used for transferring Userinfo's via QueryString argument. Encodes an array of user info strings into a string usable as a QueryString argument.

Parameters:
arsUserInfos -
Returns:
String

StringToUserInfos

public static XPArrayList StringToUserInfos(java.lang.String strUserInfoData)
User for transferring Userinfo's via Query String. Decodes a string of userinfo's separated by tokens into an array of Userinfo's. Avoids mistaken tokens by using an escape character.

Parameters:
strUserInfoData -
Returns:
XPArrayList

UserInfoToStringJS

public static java.lang.String UserInfoToStringJS(java.lang.String strUnique,
                                                  java.lang.String strFormPrefix)

UserInfoToStringJSFunc

public static java.lang.String UserInfoToStringJSFunc(java.lang.String strUnique)



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