com.plumtree.portalpages.browsing.editors.smartsort
Class SmartSortEditorMainView
java.lang.Object
com.plumtree.uiinfrastructure.editor.EditorView
com.plumtree.portalpages.browsing.editors.smartsort.SmartSortEditorMainView
- All Implemented Interfaces:
- IManagedObject, IMVCObject, IView
public class SmartSortEditorMainView
- extends EditorView
- implements IView
This Section contains the HTML for the Smart Sort Editor.
This Section is printed out by SmartSortEditorMainDP.
- Author:
- OlegS
Method Summary |
java.lang.Object |
Create()
This method is used by the ASManager to return new instances of managed
objects. |
HTMLElement |
Display()
This method returns the HTMLElement that encompasses the output of the
View. |
protected void |
DisplayActionBar(HTMLElementCollection result,
int group)
|
protected void |
DisplayBreak(HTMLElementCollection result)
|
protected void |
DisplayDstOptions(HTMLElementCollection result)
|
protected void |
DisplayFolderList(HTMLElementCollection result,
int group)
|
protected void |
DisplayFolderListHeader(HTMLTable myTable,
int group)
|
protected void |
DisplayFolderListItem(HTMLTable myTable,
int group,
int id,
java.lang.String name)
|
protected void |
DisplayHiddenInputs(HTMLElementCollection result)
|
HTMLScript |
DisplayJavascript()
This method returns the HTMLScript that encompasses the Javascript on
the page. |
protected void |
DisplayObjectHeader(HTMLElementCollection result,
java.lang.String name)
|
protected void |
DisplayRowForEmptyList(HTMLTable myTable)
|
protected void |
DisplaySrcOptions(HTMLElementCollection result)
|
protected java.lang.String |
GetFolderName(int id)
|
HTMLImg |
GetImage(PTImageType type,
java.lang.String alt,
java.lang.String w,
java.lang.String h)
|
protected ISmartSortEditorModelRO |
GetModel()
|
java.lang.String |
GetName()
Returns the Class name. |
protected PTObjectIdNamePair[] |
SortObjectByName(java.lang.Object[] ids,
boolean ascending)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.plumtree.uiinfrastructure.activityspace.IView |
Init |
STR_MVC_CLASS_NAME
public static final java.lang.String STR_MVC_CLASS_NAME
- See Also:
- Constant Field Values
HTMLCHECKBOX_FOLDER
public static final java.lang.String HTMLCHECKBOX_FOLDER
- See Also:
- Constant Field Values
HTMLCHECKBOX_RECOURSIVE
public static final java.lang.String HTMLCHECKBOX_RECOURSIVE
- See Also:
- Constant Field Values
HTMLCHECKBOX_MOVE
public static final java.lang.String HTMLCHECKBOX_MOVE
- See Also:
- Constant Field Values
HTMLCHECKBOX_APPROVE
public static final java.lang.String HTMLCHECKBOX_APPROVE
- See Also:
- Constant Field Values
HTMLCHECKBOX_FILTER
public static final java.lang.String HTMLCHECKBOX_FILTER
- See Also:
- Constant Field Values
HTMLHIDDEN_SPACEID
public static final java.lang.String HTMLHIDDEN_SPACEID
- See Also:
- Constant Field Values
HTMLHIDDEN_TREEREPOST
public static final java.lang.String HTMLHIDDEN_TREEREPOST
- See Also:
- Constant Field Values
HTMLHIDDEN_CHECKALL_CNT
public static final java.lang.String HTMLHIDDEN_CHECKALL_CNT
- See Also:
- Constant Field Values
JAVASCRIPT_CATALOGFOLDERTREE
public static final java.lang.String JAVASCRIPT_CATALOGFOLDERTREE
- See Also:
- Constant Field Values
JAVASCRIPT_CHECKALLFOLDERS
public static final java.lang.String JAVASCRIPT_CHECKALLFOLDERS
- See Also:
- Constant Field Values
DESTINATION_FOLDERTREESPACE
public static final java.lang.String DESTINATION_FOLDERTREESPACE
- A name for the sub activity space for the admin folder tree
- See Also:
- Constant Field Values
SOURCE_FOLDERTREESPACE
public static final java.lang.String SOURCE_FOLDERTREESPACE
- See Also:
- Constant Field Values
spacer15
protected static final Spacer spacer15
m_styleListItem
protected PTStyleClass m_styleListItem
SmartSortEditorMainView
public SmartSortEditorMainView()
GetImage
public HTMLImg GetImage(PTImageType type,
java.lang.String alt,
java.lang.String w,
java.lang.String h)
- Parameters:
type
- alt
- w
- h
-
- Returns:
Create
public java.lang.Object Create()
- Description copied from class:
EditorView
- This method is used by the ASManager to return new instances of managed
objects.
- Specified by:
Create
in interface IManagedObject
- Specified by:
Create
in class EditorView
- Returns:
- A new instance of the managed class (i.e. return new Foo();)
- See Also:
IManagedObject#Create()
Display
public HTMLElement Display()
- Description copied from class:
EditorView
- This method returns the HTMLElement that encompasses the output of the
View.
- Specified by:
Display
in interface IView
- Specified by:
Display
in class EditorView
- Returns:
DisplayJavascript
public HTMLScript DisplayJavascript()
- Description copied from class:
EditorView
- This method returns the HTMLScript that encompasses the Javascript on
the page.
- Specified by:
DisplayJavascript
in interface IView
- Overrides:
DisplayJavascript
in class EditorView
- Returns:
- See Also:
IView.DisplayJavascript()
GetName
public java.lang.String GetName()
- Description copied from class:
EditorView
- Returns the Class name.
- Specified by:
GetName
in interface IMVCObject
- Specified by:
GetName
in class EditorView
- Returns:
DisplayActionBar
protected void DisplayActionBar(HTMLElementCollection result,
int group)
- Parameters:
result
- group
-
- Throws:
HTMLException
DisplayBreak
protected void DisplayBreak(HTMLElementCollection result)
- Parameters:
result
-
- Throws:
HTMLException
DisplayDstOptions
protected void DisplayDstOptions(HTMLElementCollection result)
- Parameters:
result
-
- Throws:
HTMLException
DisplayFolderList
protected void DisplayFolderList(HTMLElementCollection result,
int group)
- Parameters:
result
- group
-
- Throws:
HTMLException
DisplayFolderListHeader
protected void DisplayFolderListHeader(HTMLTable myTable,
int group)
- Parameters:
myTable
- group
-
- Throws:
HTMLException
DisplayFolderListItem
protected void DisplayFolderListItem(HTMLTable myTable,
int group,
int id,
java.lang.String name)
- Parameters:
myTable
- group
- id
- name
-
- Throws:
HTMLException
DisplayHiddenInputs
protected void DisplayHiddenInputs(HTMLElementCollection result)
- Parameters:
result
-
- Throws:
HTMLException
DisplayObjectHeader
protected void DisplayObjectHeader(HTMLElementCollection result,
java.lang.String name)
- Parameters:
result
- name
-
- Throws:
HTMLException
DisplayRowForEmptyList
protected void DisplayRowForEmptyList(HTMLTable myTable)
- Parameters:
myTable
-
- Throws:
HTMLException
DisplaySrcOptions
protected void DisplaySrcOptions(HTMLElementCollection result)
- Parameters:
result
-
- Throws:
HTMLException
GetFolderName
protected java.lang.String GetFolderName(int id)
- Parameters:
id
-
- Returns:
GetModel
protected ISmartSortEditorModelRO GetModel()
- Returns:
SortObjectByName
protected PTObjectIdNamePair[] SortObjectByName(java.lang.Object[] ids,
boolean ascending)
- Parameters:
ids
- ascending
-
- Returns: