com.plumtree.portalpages.browsing.directory
Class DirRepostControl

java.lang.Object
  extended by com.plumtree.uiinfrastructure.form.RepostControl
      extended by com.plumtree.portalpages.browsing.directory.DirRepostControl
All Implemented Interfaces:
IControl, IManagedObject, IMVCObject

public class DirRepostControl
extends RepostControl
implements IControl

Author:
StephenC

Field Summary
static java.lang.String CARD_SUBMIT_FOLDER_OVERRIDE
          This is used by the portlet/layout based submit to KD HTML to set the folder to submit the new document into.
static int POSTTOSELF_ACTION_APPROVE
           
static int POSTTOSELF_ACTION_CARDSIMPLESUBMIT_CHANGED_DS
           
static int POSTTOSELF_ACTION_CARDSUBMIT508_CANCEL
           
static int POSTTOSELF_ACTION_CARDSUBMIT508_DATASOURCE
           
static int POSTTOSELF_ACTION_CARDSUBMIT508_SUBMIT
           
static int POSTTOSELF_ACTION_CARDSUBMIT508_SUBMIT_DS
           
static int POSTTOSELF_ACTION_CARDSUBMITADVANCED
           
static int POSTTOSELF_ACTION_CARDSUBMITSIMPLE_MAIN
           
static int POSTTOSELF_ACTION_CARDSUBMITSIMPLE_SUBMITMORE
           
static int POSTTOSELF_ACTION_CARDSUBMITSIMPLE_UPLOAD
           
static int POSTTOSELF_ACTION_CARDSUBMITSIMPLE_WS_UPLOAD
           
static int POSTTOSELF_ACTION_COPY
           
static int POSTTOSELF_ACTION_CREATEFOLDER
           
static int POSTTOSELF_ACTION_DELETE
           
static int POSTTOSELF_ACTION_DELETE_LATER
           
static int POSTTOSELF_ACTION_EDIT
           
static int POSTTOSELF_ACTION_EDITCARDPROPERTIES
           
static int POSTTOSELF_ACTION_EDITSECURITY
           
static int POSTTOSELF_ACTION_GOTO_RANGE
           
static int POSTTOSELF_ACTION_LINKSETTINGS
           
static int POSTTOSELF_ACTION_MIGRATE
           
static int POSTTOSELF_ACTION_MOVE
           
static int POSTTOSELF_ACTION_RENAME
           
static int POSTTOSELF_ACTION_SELECT
           
static int POSTTOSELF_ACTION_SELFSELECTEXPERTS
           
static int POSTTOSELF_ACTION_UNAPPROVE
           
static java.lang.String STR_MVC_CLASS_NAME
           
 
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
DirRepostControl()
           
 
Method Summary
 java.lang.String BuildCommaDelimitedList(int[] arObjectIDs)
           
 Redirect CheckActionSecurityAndExecute(XPHashtable arguments)
          This ovverrides the implementation from RepostControl for certain actions
 java.lang.Object Create()
          This method is used by the ASManager to return new instances of managed objects.
 int[] GetCheckedCards()
           
 int[] GetCheckedFolders()
           
 java.lang.String GetName()
          Return the class name.
 void Init(IModel model, AActivitySpace space)
          Inits the class with the associated model and activity space.
protected  void PerformAction(int _nAction)
          Performs repost actions.
protected  void SaveCurrentPage()
          Get the current page name and call the save method on the model.
 
Methods inherited from class com.plumtree.uiinfrastructure.form.RepostControl
GetPageStatus, GetRepostAction, PerformPassthruAction, SetPageStatus, SetRedirect, SetRepostAction
 
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

CARD_SUBMIT_FOLDER_OVERRIDE

public static final java.lang.String CARD_SUBMIT_FOLDER_OVERRIDE
This is used by the portlet/layout based submit to KD HTML to set the folder to submit the new document into.

See Also:
Constant Field Values

POSTTOSELF_ACTION_CREATEFOLDER

public static final int POSTTOSELF_ACTION_CREATEFOLDER
See Also:
Constant Field Values

POSTTOSELF_ACTION_EDIT

public static final int POSTTOSELF_ACTION_EDIT
See Also:
Constant Field Values

POSTTOSELF_ACTION_MOVE

public static final int POSTTOSELF_ACTION_MOVE
See Also:
Constant Field Values

POSTTOSELF_ACTION_COPY

public static final int POSTTOSELF_ACTION_COPY
See Also:
Constant Field Values

POSTTOSELF_ACTION_RENAME

public static final int POSTTOSELF_ACTION_RENAME
See Also:
Constant Field Values

POSTTOSELF_ACTION_DELETE

public static final int POSTTOSELF_ACTION_DELETE
See Also:
Constant Field Values

POSTTOSELF_ACTION_EDITSECURITY

public static final int POSTTOSELF_ACTION_EDITSECURITY
See Also:
Constant Field Values

POSTTOSELF_ACTION_APPROVE

public static final int POSTTOSELF_ACTION_APPROVE
See Also:
Constant Field Values

POSTTOSELF_ACTION_UNAPPROVE

public static final int POSTTOSELF_ACTION_UNAPPROVE
See Also:
Constant Field Values

POSTTOSELF_ACTION_LINKSETTINGS

public static final int POSTTOSELF_ACTION_LINKSETTINGS
See Also:
Constant Field Values

POSTTOSELF_ACTION_SELECT

public static final int POSTTOSELF_ACTION_SELECT
See Also:
Constant Field Values

POSTTOSELF_ACTION_CARDSUBMITSIMPLE_MAIN

public static final int POSTTOSELF_ACTION_CARDSUBMITSIMPLE_MAIN
See Also:
Constant Field Values

POSTTOSELF_ACTION_CARDSUBMITSIMPLE_UPLOAD

public static final int POSTTOSELF_ACTION_CARDSUBMITSIMPLE_UPLOAD
See Also:
Constant Field Values

POSTTOSELF_ACTION_CARDSUBMITSIMPLE_WS_UPLOAD

public static final int POSTTOSELF_ACTION_CARDSUBMITSIMPLE_WS_UPLOAD
See Also:
Constant Field Values

POSTTOSELF_ACTION_CARDSUBMITSIMPLE_SUBMITMORE

public static final int POSTTOSELF_ACTION_CARDSUBMITSIMPLE_SUBMITMORE
See Also:
Constant Field Values

POSTTOSELF_ACTION_CARDSUBMITADVANCED

public static final int POSTTOSELF_ACTION_CARDSUBMITADVANCED
See Also:
Constant Field Values

POSTTOSELF_ACTION_CARDSUBMIT508_DATASOURCE

public static final int POSTTOSELF_ACTION_CARDSUBMIT508_DATASOURCE
See Also:
Constant Field Values

POSTTOSELF_ACTION_CARDSUBMIT508_SUBMIT_DS

public static final int POSTTOSELF_ACTION_CARDSUBMIT508_SUBMIT_DS
See Also:
Constant Field Values

POSTTOSELF_ACTION_CARDSUBMIT508_SUBMIT

public static final int POSTTOSELF_ACTION_CARDSUBMIT508_SUBMIT
See Also:
Constant Field Values

POSTTOSELF_ACTION_CARDSUBMIT508_CANCEL

public static final int POSTTOSELF_ACTION_CARDSUBMIT508_CANCEL
See Also:
Constant Field Values

POSTTOSELF_ACTION_SELFSELECTEXPERTS

public static final int POSTTOSELF_ACTION_SELFSELECTEXPERTS
See Also:
Constant Field Values

POSTTOSELF_ACTION_EDITCARDPROPERTIES

public static final int POSTTOSELF_ACTION_EDITCARDPROPERTIES
See Also:
Constant Field Values

POSTTOSELF_ACTION_CARDSIMPLESUBMIT_CHANGED_DS

public static final int POSTTOSELF_ACTION_CARDSIMPLESUBMIT_CHANGED_DS
See Also:
Constant Field Values

POSTTOSELF_ACTION_GOTO_RANGE

public static final int POSTTOSELF_ACTION_GOTO_RANGE
See Also:
Constant Field Values

POSTTOSELF_ACTION_DELETE_LATER

public static final int POSTTOSELF_ACTION_DELETE_LATER
See Also:
Constant Field Values

POSTTOSELF_ACTION_MIGRATE

public static final int POSTTOSELF_ACTION_MIGRATE
See Also:
Constant Field Values
Constructor Detail

DirRepostControl

public DirRepostControl()
Method Detail

BuildCommaDelimitedList

public java.lang.String BuildCommaDelimitedList(int[] arObjectIDs)
Parameters:
arObjectIDs -
Returns:

CheckActionSecurityAndExecute

public Redirect CheckActionSecurityAndExecute(XPHashtable arguments)
This ovverrides the implementation from RepostControl for certain actions

Specified by:
CheckActionSecurityAndExecute in interface IControl
Overrides:
CheckActionSecurityAndExecute in class RepostControl
Returns:
Redirect

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 RepostControl
Returns:
A new instance of the managed class (i.e. return new Foo();)
See Also:
IManagedObject.Create()

GetCheckedCards

public int[] GetCheckedCards()
Returns:

GetCheckedFolders

public int[] GetCheckedFolders()
Returns:

GetName

public java.lang.String GetName()
Description copied from class: RepostControl
Return the class name.

Specified by:
GetName in interface IMVCObject
Overrides:
GetName in class RepostControl
Returns:
String
See Also:
IMVCObject.GetName()

Init

public void Init(IModel model,
                 AActivitySpace space)
Description copied from class: RepostControl
Inits the class with the associated model and activity space. If this method is overridden in a sub-class, this version of Init must be called as super.Init();

Specified by:
Init in interface IControl
Overrides:
Init in class RepostControl
See Also:
IControl.Init(IModel, AActivitySpace)

PerformAction

protected void PerformAction(int _nAction)
Performs repost actions.

Overrides:
PerformAction in class RepostControl
Parameters:
_nAction -

SaveCurrentPage

protected void SaveCurrentPage()
Description copied from class: RepostControl
Get the current page name and call the save method on the model.

Overrides:
SaveCurrentPage in class RepostControl



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