com.arsdigita.ui.permissions
Class UserSearchForm

java.lang.Object
  extended bycom.arsdigita.bebop.Completable
      extended bycom.arsdigita.bebop.SimpleComponent
          extended bycom.arsdigita.bebop.FormSection
              extended bycom.arsdigita.bebop.Form
                  extended bycom.arsdigita.ui.permissions.UserSearchForm
All Implemented Interfaces:
BebopConstants, Cloneable, Component, Container, EventListener, FormProcessListener, Lockable, com.arsdigita.ui.permissions.PermissionsConstants

public class UserSearchForm
extends Form
implements FormProcessListener, com.arsdigita.ui.permissions.PermissionsConstants

User Search Form for permissions.

Version:
$Id: //core-platform/dev/src/com/arsdigita/ui/permissions/UserSearchForm.java#10 $
Author:
Stefan Deusch

Field Summary
static String BUNDLE_NAME
           
static PrivilegeDescriptor[] DEFAULT_PRIVILEGES
          These are our five default privileges.
static int DIRECT
           
static String DIRECT_PERMISSIONS
           
static String INDIRECT_PERMISSIONS
           
static int INHERITED
           
static GlobalizedMessage MAIN_SITE
           
static GlobalizedMessage NO_RESULTS
           
static String OBJECT_ID
           
static GlobalizedMessage PAGE_DENIED_TITLE
           
static GlobalizedMessage PAGE_GRANT_LEFT
           
static GlobalizedMessage PAGE_GRANT_RIGHT
           
static GlobalizedMessage PAGE_GRANT_TITLE
           
static GlobalizedMessage PAGE_OBJECT_INDEX
           
static GlobalizedMessage PAGE_OBJECT_NONE
           
static GlobalizedMessage PAGE_OBJECT_PANEL_TITLE
           
static GlobalizedMessage PAGE_TITLE
           
static GlobalizedMessage PERM_TABLE_ACTIONS
           
static GlobalizedMessage PERM_TABLE_DIRECT_EXPLANATION
           
static GlobalizedMessage PERM_TABLE_DIRECT_HEADING
           
static GlobalizedMessage PERM_TABLE_GRANTEE
           
static GlobalizedMessage PERM_TABLE_INDIRECT_CONTEXT
           
static GlobalizedMessage PERM_TABLE_INDIRECT_EXPLANATION
           
static GlobalizedMessage PERM_TABLE_INDIRECT_HEADING
           
static GlobalizedMessage PERM_TABLE_INHERITED
           
static GlobalizedMessage PERM_TABLE_NO_PARENT_CONTEXT
           
static GlobalizedMessage PERMISSIONS_INDEX
           
static GlobalizedMessage PERMISSIONS_INDEX_NAVBAR
           
static GlobalizedMessage PERSONAL_SITE
           
static String PRIV_SET
           
static GlobalizedMessage REMOVE_ALL_CONFIRM
           
static String RETRIEVE_USERS
           
static GlobalizedMessage SAVE_BUTTON
           
static GlobalizedMessage SEARCH_BUTTON
           
static GlobalizedMessage SEARCH_LABEL
           
static String SEARCH_QUERY
           
 
Fields inherited from class com.arsdigita.bebop.Form
GET, POST, versionId
 
Fields inherited from class com.arsdigita.bebop.FormSection
m_formModel, m_panel
 
Fields inherited from class com.arsdigita.bebop.SimpleComponent
m_attr
 
Fields inherited from interface com.arsdigita.bebop.event.FormProcessListener
versionId
 
Fields inherited from interface com.arsdigita.bebop.util.BebopConstants
BEBOP_BORDER, BEBOP_BOXPANEL, BEBOP_CELL, BEBOP_CHECKBOX, BEBOP_CHECKBOXGROUP, BEBOP_COLUMNPANEL, BEBOP_DATE, BEBOP_DATETIME, BEBOP_DHTMLEDITOR, BEBOP_FORMERRORS, BEBOP_FORMWIDGET, BEBOP_GRIDPANEL, BEBOP_LIST, BEBOP_MULTISELECT, BEBOP_OPTION, BEBOP_PAD, BEBOP_PADFRAME, BEBOP_PANELROW, BEBOP_PORTAL, BEBOP_PORTLET, BEBOP_RADIO, BEBOP_RADIOGROUP, BEBOP_SEG_BODY, BEBOP_SEG_HEADER, BEBOP_SEG_PANEL, BEBOP_SEGMENT, BEBOP_SELECT, BEBOP_TABLE, BEBOP_TABLEBODY, BEBOP_TABLEROW, BEBOP_TEXTAREA
 
Fields inherited from interface com.arsdigita.bebop.Component
BEBOP_XML_NS, CLASS, ID, ON_CLICK, STYLE
 
Constructor Summary
UserSearchForm(PermissionsPane parent)
           
UserSearchForm(PrivilegeDescriptor[] privs, PermissionsPane parent)
           
 
Method Summary
 TextField getSearchWidget()
           
 void process(FormSectionEvent e)
          Performs a processing step on the data in the FormData object.
 
Methods inherited from class com.arsdigita.bebop.Form
addMagicTag, excludeParameterFromExport, generateErrors, generateXML, generateXMLSansState, getAction, getFormData, getName, getProcessInvisible, isRedirecting, process, register, respond, setAction, setEncType, setFormData, setMethod, setName, setOnReset, setOnSubmit, setProcessInvisible, setRedirecting, toString, traverse
 
Methods inherited from class com.arsdigita.bebop.FormSection
add, add, addCancelListener, addInitListener, addProcessListener, addSubmissionListener, addValidationListener, children, contains, createInitListener, createProcessListener, createSubmissionListener, createValidationListener, fireCancel, fireInit, fireProcess, fireSubmitted, fireValidate, forwardInit, forwardProcess, forwardSubmission, forwardValidation, get, getModel, getPanel, indexOf, isEmpty, lock, register, removeCancelListener, removeInitListener, removeProcessListener, removeSubmissionListener, removeValidationListener, size
 
Methods inherited from class com.arsdigita.bebop.SimpleComponent
clone, exportAttributes, getAttribute, getClassAttr, getIdAttr, getKey, getMetaDataAttribute, getStyleAttr, hasAttributes, isLocked, isVisible, setAttribute, setClassAttr, setIdAttr, setKey, setMetaDataAttribute, setStyleAttr, setVisible
 
Methods inherited from class com.arsdigita.bebop.Completable
addCompletionListener, fireCompletionEvent
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.arsdigita.bebop.Component
getClassAttr, getIdAttr, getKey, getStyleAttr, isVisible, setClassAttr, setIdAttr, setKey, setStyleAttr, setVisible
 
Methods inherited from interface com.arsdigita.util.Lockable
isLocked
 

Field Detail

DEFAULT_PRIVILEGES

public static final PrivilegeDescriptor[] DEFAULT_PRIVILEGES
These are our five default privileges.


BUNDLE_NAME

public static final String BUNDLE_NAME
See Also:
Constant Field Values

SEARCH_LABEL

public static final GlobalizedMessage SEARCH_LABEL

SEARCH_BUTTON

public static final GlobalizedMessage SEARCH_BUTTON

SAVE_BUTTON

public static final GlobalizedMessage SAVE_BUTTON

NO_RESULTS

public static final GlobalizedMessage NO_RESULTS

PERM_TABLE_DIRECT_HEADING

public static final GlobalizedMessage PERM_TABLE_DIRECT_HEADING

PERM_TABLE_DIRECT_EXPLANATION

public static final GlobalizedMessage PERM_TABLE_DIRECT_EXPLANATION

PERM_TABLE_INDIRECT_HEADING

public static final GlobalizedMessage PERM_TABLE_INDIRECT_HEADING

PERM_TABLE_INDIRECT_EXPLANATION

public static final GlobalizedMessage PERM_TABLE_INDIRECT_EXPLANATION

PERM_TABLE_INDIRECT_CONTEXT

public static final GlobalizedMessage PERM_TABLE_INDIRECT_CONTEXT

PERM_TABLE_GRANTEE

public static final GlobalizedMessage PERM_TABLE_GRANTEE

PERM_TABLE_ACTIONS

public static final GlobalizedMessage PERM_TABLE_ACTIONS

REMOVE_ALL_CONFIRM

public static final GlobalizedMessage REMOVE_ALL_CONFIRM

PERM_TABLE_INHERITED

public static final GlobalizedMessage PERM_TABLE_INHERITED

PERM_TABLE_NO_PARENT_CONTEXT

public static final GlobalizedMessage PERM_TABLE_NO_PARENT_CONTEXT

PAGE_TITLE

public static final GlobalizedMessage PAGE_TITLE

MAIN_SITE

public static final GlobalizedMessage MAIN_SITE

PERSONAL_SITE

public static final GlobalizedMessage PERSONAL_SITE

PERMISSIONS_INDEX

public static final GlobalizedMessage PERMISSIONS_INDEX

PERMISSIONS_INDEX_NAVBAR

public static final GlobalizedMessage PERMISSIONS_INDEX_NAVBAR

PAGE_GRANT_TITLE

public static final GlobalizedMessage PAGE_GRANT_TITLE

PAGE_GRANT_LEFT

public static final GlobalizedMessage PAGE_GRANT_LEFT

PAGE_GRANT_RIGHT

public static final GlobalizedMessage PAGE_GRANT_RIGHT

PAGE_DENIED_TITLE

public static final GlobalizedMessage PAGE_DENIED_TITLE

PAGE_OBJECT_INDEX

public static final GlobalizedMessage PAGE_OBJECT_INDEX

PAGE_OBJECT_PANEL_TITLE

public static final GlobalizedMessage PAGE_OBJECT_PANEL_TITLE

PAGE_OBJECT_NONE

public static final GlobalizedMessage PAGE_OBJECT_NONE

DIRECT

public static final int DIRECT
See Also:
Constant Field Values

INHERITED

public static final int INHERITED
See Also:
Constant Field Values

OBJECT_ID

public static final String OBJECT_ID
See Also:
Constant Field Values

DIRECT_PERMISSIONS

public static final String DIRECT_PERMISSIONS
See Also:
Constant Field Values

INDIRECT_PERMISSIONS

public static final String INDIRECT_PERMISSIONS
See Also:
Constant Field Values

SEARCH_QUERY

public static final String SEARCH_QUERY
See Also:
Constant Field Values

PRIV_SET

public static final String PRIV_SET
See Also:
Constant Field Values

RETRIEVE_USERS

public static final String RETRIEVE_USERS
See Also:
Constant Field Values
Constructor Detail

UserSearchForm

public UserSearchForm(PermissionsPane parent)

UserSearchForm

public UserSearchForm(PrivilegeDescriptor[] privs,
                      PermissionsPane parent)
Method Detail

process

public void process(FormSectionEvent e)
             throws FormProcessException
Description copied from interface: FormProcessListener
Performs a processing step on the data in the FormData object.

Implementations of this method are responsible for catching specific exceptions that may occur during processing, and either handling them internally or rethrowing them as instances of FormProcessException to be handled by the calling procedure.

Implementations of this method cannot assume success or failure of other FormProcessListeners associated with a particular FormModeel. Each implementation must act independently

Specified by:
process in interface FormProcessListener
Throws:
FormProcessException

getSearchWidget

public TextField getSearchWidget()


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2337 UTC