com.plumtree.portalpages.admin.editors.authsource
Class AuthSourceRepostControl

java.lang.Object
  extended by com.plumtree.uiinfrastructure.form.RepostControl
      extended by com.plumtree.uiinfrastructure.editor.EditorRepostControl
          extended by com.plumtree.portaluiinfrastructure.editor.ObjEditorRepostControl
              extended by com.plumtree.portalpages.admin.editors.authsource.AuthSourceRepostControl
All Implemented Interfaces:
IControl, IManagedObject, IMVCObject
Direct Known Subclasses:
RemoteAuthSourceRepostControl

public abstract class AuthSourceRepostControl
extends ObjEditorRepostControl

Author:
OlegS

Field Summary
static int ACTION_ADD_ALL_SYNC_GROUPS
          Add all sync groups
static int ACTION_ADD_GROUP
          Add group
static int ACTION_ADD_SYNC_GROUP
          Add a sync group
static int ACTION_CHANGE_FOLDER_FOR_SYNC_GROUP
          Change the folder for the sync group
static int ACTION_CHANGE_NEW_GROUP_FOLDER
          Change the folder where the created groups go
static int ACTION_CHANGE_TARGET_FOLDER
          Change the target folder for the group
static int ACTION_CREATE_DEFAULT_PROFILE
          Create default profile
static int ACTION_DEL_GROUP
          Delete group
static int ACTION_DEL_SYNC_GROUP
          Delete a sync group
static int ACTION_MOVE_GROUP_BOTTOM
          Move group to the bottom of the list
static int ACTION_MOVE_GROUP_DOWN
          Move group down one
static int ACTION_MOVE_GROUP_TOP
          Move group to the top of the list
static int ACTION_MOVE_GROUP_UP
          Move group up one
static int ACTION_REENABLE_USERS
          Bulk Re-Enable Users
static int ACTION_SYNC_CHOICE_CHANGED
          Synchronization radio button selection changed
static int ACTION_VALIDATE
          Validate button pressed
 
Fields inherited from class com.plumtree.portaluiinfrastructure.editor.ObjEditorRepostControl
POSTTOSELF_ACTION_REDIRECT_AFTER_SAVEPOPUP, STR_MVC_CLASS_NAME
 
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorRepostControl
POSTTOSELF_ACTION_ONRETURN_FROM_SUBEDITOR
 
Fields inherited from class com.plumtree.uiinfrastructure.form.RepostControl
HTMLINPUT_PASSTHRU_ARGS, HTMLINPUT_PASSTHRU_CONTROL, HTMLINPUT_POSTTOSELF, HTMLSUBMIT_508_POSTTOSELF, m_asOwner, m_bInitialized, m_htFormData, m_model, m_nAction, m_nPageStatus, m_rRedirect, PAGE_STATUS_INVALID, PAGE_STATUS_VALID, POSTTOSELF_ACTION_APPLY_CHANGES, POSTTOSELF_ACTION_CANCEL, POSTTOSELF_ACTION_FINISH, POSTTOSELF_ACTION_GOTOPAGE, POSTTOSELF_ACTION_IN_PLACE_REFRESH, POSTTOSELF_ACTION_PASSTHRU, POSTTOSELF_ACTION_SIMPLEREPOST, POSTTOSELF_ACTION_UNDEFINED
 
Constructor Summary
AuthSourceRepostControl()
           
 
Method Summary
protected static int getIdFromAction(int action)
           
protected  AuthSourceModel GetModel()
          Returns the model class
static int makeAction(int action, int groupid)
           
protected  void PerformAction(int _nAction)
          Function called on repost
static int removeIdFromAction(int action)
          Remove the ID from the action
protected  void SetRepostAction()
          Set the action to be taken on repost
 
Methods inherited from class com.plumtree.portaluiinfrastructure.editor.ObjEditorRepostControl
Create, DisableSavePopUp, GetName, OpenSavePopUp, PerformFinishAction, SaveCurrentPage
 
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorRepostControl
CheckActionSecurityAndExecute, CheckMandatoryPages, PerformCancelAction, PerformReadOnlyAction, SetRedirectToCloseSubEditor
 
Methods inherited from class com.plumtree.uiinfrastructure.form.RepostControl
GetPageStatus, GetRepostAction, Init, PerformPassthruAction, SetPageStatus, SetRedirect
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACTION_REENABLE_USERS

public static final int ACTION_REENABLE_USERS
Bulk Re-Enable Users

See Also:
Constant Field Values

ACTION_DEL_GROUP

public static final int ACTION_DEL_GROUP
Delete group

See Also:
Constant Field Values

ACTION_ADD_GROUP

public static final int ACTION_ADD_GROUP
Add group

See Also:
Constant Field Values

ACTION_CREATE_DEFAULT_PROFILE

public static final int ACTION_CREATE_DEFAULT_PROFILE
Create default profile

See Also:
Constant Field Values

ACTION_MOVE_GROUP_TOP

public static final int ACTION_MOVE_GROUP_TOP
Move group to the top of the list

See Also:
Constant Field Values

ACTION_MOVE_GROUP_UP

public static final int ACTION_MOVE_GROUP_UP
Move group up one

See Also:
Constant Field Values

ACTION_MOVE_GROUP_DOWN

public static final int ACTION_MOVE_GROUP_DOWN
Move group down one

See Also:
Constant Field Values

ACTION_MOVE_GROUP_BOTTOM

public static final int ACTION_MOVE_GROUP_BOTTOM
Move group to the bottom of the list

See Also:
Constant Field Values

ACTION_CHANGE_TARGET_FOLDER

public static final int ACTION_CHANGE_TARGET_FOLDER
Change the target folder for the group

See Also:
Constant Field Values

ACTION_ADD_SYNC_GROUP

public static final int ACTION_ADD_SYNC_GROUP
Add a sync group

See Also:
Constant Field Values

ACTION_ADD_ALL_SYNC_GROUPS

public static final int ACTION_ADD_ALL_SYNC_GROUPS
Add all sync groups

See Also:
Constant Field Values

ACTION_DEL_SYNC_GROUP

public static final int ACTION_DEL_SYNC_GROUP
Delete a sync group

See Also:
Constant Field Values

ACTION_CHANGE_FOLDER_FOR_SYNC_GROUP

public static final int ACTION_CHANGE_FOLDER_FOR_SYNC_GROUP
Change the folder for the sync group

See Also:
Constant Field Values

ACTION_CHANGE_NEW_GROUP_FOLDER

public static final int ACTION_CHANGE_NEW_GROUP_FOLDER
Change the folder where the created groups go

See Also:
Constant Field Values

ACTION_SYNC_CHOICE_CHANGED

public static final int ACTION_SYNC_CHOICE_CHANGED
Synchronization radio button selection changed

See Also:
Constant Field Values

ACTION_VALIDATE

public static final int ACTION_VALIDATE
Validate button pressed

See Also:
Constant Field Values
Constructor Detail

AuthSourceRepostControl

public AuthSourceRepostControl()
Method Detail

makeAction

public static int makeAction(int action,
                             int groupid)

removeIdFromAction

public static int removeIdFromAction(int action)
Remove the ID from the action

Parameters:
action - The action being taken
Returns:
the integer with the ID removed

getIdFromAction

protected static int getIdFromAction(int action)

GetModel

protected AuthSourceModel GetModel()
Returns the model class

Returns:

PerformAction

protected void PerformAction(int _nAction)
Function called on repost

Overrides:
PerformAction in class ObjEditorRepostControl
Parameters:
_nAction - The action to take

SetRepostAction

protected void SetRepostAction()
Set the action to be taken on repost

Overrides:
SetRepostAction in class RepostControl



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