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

java.lang.Object
  extended by com.plumtree.uiinfrastructure.editor.EditorView
      extended by com.plumtree.portalpages.admin.editors.authsource.AuthSourceMainView
All Implemented Interfaces:
IManagedObject, IMVCObject, IView
Direct Known Subclasses:
RemoteAuthSourceMainView

public abstract class AuthSourceMainView
extends EditorView

This class is designed to be subclassed by the two "leaf" Auth Source editors, LDAP and Remote. Remote incorporates XUI, thereby allowing its use for extensible auth sources.

Author:
OlegS

Field Summary
static java.lang.String ADMINFOLDERTREESPACE
          A name for the sub activity space for the admin folder tree
static java.lang.String ADMINFOLDERTREESPACE_NEWGROUP
          A name for the sub activity space for another admin folder tree
static java.lang.String HTMLBUTTON_BROWSE_
           
static java.lang.String HTMLCHECKBOX_GROUP
          HTML element name
static java.lang.String HTMLHIDDEN_SPACEID_ADMINFOLDERTREESPACE
          HTML element name
static java.lang.String HTMLHIDDEN_SPACEID_ADMINFOLDERTREESPACE_NEWGROUP
          HTML element name
static java.lang.String HTMLHIDDEN_SPACEID_USERGROUPTREESPACE
          HTML element name
static java.lang.String HTMLHIDDEN_TREEREPOST
          HTML element name
static java.lang.String HTMLINPUT_AuthenticationSourceCategory
          HTML element name
static java.lang.String HTMLINPUT_PROFILES_
          HTML element name
static java.lang.String HTMLINPUT_TEMPLATES
          HTML element name
static java.lang.String JAVASCRIPT_CREATEDEFAULTPROFILE
          HTML element name
protected  PTStyleClass m_styleListItem
           
static java.lang.String USERGROUPTREESPACE
          A name for the user group tree sub-space
 
Fields inherited from class com.plumtree.uiinfrastructure.editor.EditorView
m_asOwner, m_model, SPACE
 
Constructor Summary
AuthSourceMainView()
           
 
Method Summary
 HTMLElement Display()
          This function displays the HTML for this view
protected  void DisplayChangeAdminFolderConstruct_NewGroup(HTMLTableCell myCell)
           
protected  void DisplayChangeAdminFolderConstruct(HTMLTableCell myCell, int id)
           
protected  void DisplayCommonProperties(HTMLElementCollection result)
          There is only one common property, the auth source category - so we just display it here...
protected  void DisplayDefaultProfilesForGroup(HTMLTableCell myCell, int id, int userid, java.lang.Object[][] profiles)
           
protected  void DisplayDefaultProfilesHeader(HTMLElementCollection result)
           
protected  void DisplayDefaultProfilesMiniHelp(HTMLElementCollection result)
           
protected  void DisplayGroupList(HTMLElementCollection result, java.lang.Object[][] profiles)
           
protected  void DisplayGroupListHeader(HTMLTable myTable)
           
protected  void DisplayGroupListItem(HTMLTable myTable, int id, java.lang.String name, int userid, int folderid, java.lang.Object[][] profiles)
           
protected  void DisplayHiddenInputs(HTMLElementCollection result)
          Adds hidden HTML elements to the collection being displayed on the page
 HTMLScript DisplayJavascript()
          This function displays the javascript functions for this view
protected  void DisplayMoveUpDownConstruct(HTMLTableCell myCell, int id)
           
protected  void DisplayNewGroupsFolder(HTMLElementCollection result)
           
protected  void DisplayNewGroupsFolderHeader(HTMLElementCollection result)
           
protected  void DisplayProfilesActionBar(HTMLElementCollection result)
           
protected  void DisplayTemplateSelectionBody(HTMLElementCollection result)
           
protected  void DisplayTemplateSelectionHeader(HTMLElementCollection result)
           
protected  java.lang.String folderName(int id)
           
protected  HTMLImg GetImage(PTImageType type, java.lang.String alt, java.lang.String w, java.lang.String h)
           
protected  IAuthSourceModelRO GetModel()
           
 
Methods inherited from class com.plumtree.uiinfrastructure.editor.EditorView
AddEmptyCellToRow, AddEmptyCellToRow, AddEmptyRowToTable, AddEmptyRowToTable, Create, GetHeaderView, GetHeaderViewHelper, GetName, GetShortSpacerTable, GetSpacerTable, Init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HTMLINPUT_AuthenticationSourceCategory

public static final java.lang.String HTMLINPUT_AuthenticationSourceCategory
HTML element name

See Also:
Constant Field Values

HTMLINPUT_TEMPLATES

public static final java.lang.String HTMLINPUT_TEMPLATES
HTML element name

See Also:
Constant Field Values

HTMLINPUT_PROFILES_

public static final java.lang.String HTMLINPUT_PROFILES_
HTML element name

See Also:
Constant Field Values

JAVASCRIPT_CREATEDEFAULTPROFILE

public static final java.lang.String JAVASCRIPT_CREATEDEFAULTPROFILE
HTML element name

See Also:
Constant Field Values

HTMLCHECKBOX_GROUP

public static final java.lang.String HTMLCHECKBOX_GROUP
HTML element name

See Also:
Constant Field Values

ADMINFOLDERTREESPACE

public static final java.lang.String ADMINFOLDERTREESPACE
A name for the sub activity space for the admin folder tree

See Also:
Constant Field Values

ADMINFOLDERTREESPACE_NEWGROUP

public static final java.lang.String ADMINFOLDERTREESPACE_NEWGROUP
A name for the sub activity space for another admin folder tree

See Also:
Constant Field Values

USERGROUPTREESPACE

public static final java.lang.String USERGROUPTREESPACE
A name for the user group tree sub-space

See Also:
Constant Field Values

HTMLHIDDEN_TREEREPOST

public static final java.lang.String HTMLHIDDEN_TREEREPOST
HTML element name

See Also:
Constant Field Values

HTMLHIDDEN_SPACEID_ADMINFOLDERTREESPACE

public static final java.lang.String HTMLHIDDEN_SPACEID_ADMINFOLDERTREESPACE
HTML element name

See Also:
Constant Field Values

HTMLHIDDEN_SPACEID_ADMINFOLDERTREESPACE_NEWGROUP

public static final java.lang.String HTMLHIDDEN_SPACEID_ADMINFOLDERTREESPACE_NEWGROUP
HTML element name

See Also:
Constant Field Values

HTMLHIDDEN_SPACEID_USERGROUPTREESPACE

public static final java.lang.String HTMLHIDDEN_SPACEID_USERGROUPTREESPACE
HTML element name

See Also:
Constant Field Values

HTMLBUTTON_BROWSE_

public static final java.lang.String HTMLBUTTON_BROWSE_
See Also:
Constant Field Values

m_styleListItem

protected PTStyleClass m_styleListItem
Constructor Detail

AuthSourceMainView

public AuthSourceMainView()
Method Detail

Display

public HTMLElement Display()
This function displays the HTML for this view

Specified by:
Display in interface IView
Specified by:
Display in class EditorView
Returns:
No return value

DisplayJavascript

public HTMLScript DisplayJavascript()
This function displays the javascript functions for this view

Specified by:
DisplayJavascript in interface IView
Overrides:
DisplayJavascript in class EditorView
Returns:
No return value
See Also:
IView.DisplayJavascript()

GetImage

protected HTMLImg GetImage(PTImageType type,
                           java.lang.String alt,
                           java.lang.String w,
                           java.lang.String h)
Parameters:
type -
alt -
w -
h -
Returns:

DisplayChangeAdminFolderConstruct

protected void DisplayChangeAdminFolderConstruct(HTMLTableCell myCell,
                                                 int id)
Parameters:
myCell -
id -
Throws:
HTMLException

DisplayChangeAdminFolderConstruct_NewGroup

protected void DisplayChangeAdminFolderConstruct_NewGroup(HTMLTableCell myCell)
Parameters:
myCell -
Throws:
HTMLException

DisplayCommonProperties

protected void DisplayCommonProperties(HTMLElementCollection result)
There is only one common property, the auth source category - so we just display it here...

Parameters:
result -
Throws:
HTMLException

DisplayDefaultProfilesForGroup

protected void DisplayDefaultProfilesForGroup(HTMLTableCell myCell,
                                              int id,
                                              int userid,
                                              java.lang.Object[][] profiles)
Parameters:
myCell -
id -
userid -
profiles -
Throws:
HTMLException

DisplayDefaultProfilesHeader

protected void DisplayDefaultProfilesHeader(HTMLElementCollection result)
Parameters:
result -
Throws:
HTMLException

DisplayDefaultProfilesMiniHelp

protected void DisplayDefaultProfilesMiniHelp(HTMLElementCollection result)
Parameters:
result -
Throws:
HTMLException

DisplayGroupList

protected void DisplayGroupList(HTMLElementCollection result,
                                java.lang.Object[][] profiles)
Parameters:
result -
profiles -
Throws:
HTMLException

DisplayGroupListHeader

protected void DisplayGroupListHeader(HTMLTable myTable)
Parameters:
myTable -
Throws:
HTMLException

DisplayGroupListItem

protected void DisplayGroupListItem(HTMLTable myTable,
                                    int id,
                                    java.lang.String name,
                                    int userid,
                                    int folderid,
                                    java.lang.Object[][] profiles)
Parameters:
myTable -
id -
name -
userid -
folderid -
profiles -
Throws:
HTMLException

DisplayHiddenInputs

protected void DisplayHiddenInputs(HTMLElementCollection result)
Adds hidden HTML elements to the collection being displayed on the page

Parameters:
result - The collection to be added to
Throws:
HTMLException

DisplayMoveUpDownConstruct

protected void DisplayMoveUpDownConstruct(HTMLTableCell myCell,
                                          int id)
Parameters:
myCell -
id -
Throws:
HTMLException
java.lang.RuntimeException
XPException

DisplayNewGroupsFolder

protected void DisplayNewGroupsFolder(HTMLElementCollection result)
Parameters:
result -
Throws:
HTMLException

DisplayNewGroupsFolderHeader

protected void DisplayNewGroupsFolderHeader(HTMLElementCollection result)
Parameters:
result -
Throws:
HTMLException

DisplayProfilesActionBar

protected void DisplayProfilesActionBar(HTMLElementCollection result)
Parameters:
result -
Throws:
HTMLException

DisplayTemplateSelectionBody

protected void DisplayTemplateSelectionBody(HTMLElementCollection result)
Parameters:
result -
Throws:
HTMLException

DisplayTemplateSelectionHeader

protected void DisplayTemplateSelectionHeader(HTMLElementCollection result)
Parameters:
result -
Throws:
HTMLException

folderName

protected java.lang.String folderName(int id)
Parameters:
id -
Returns:

GetModel

protected IAuthSourceModelRO GetModel()
Returns:



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