|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.filenet.wcm.toolkit.server.base.WcmDpContainer
com.filenet.wcm.toolkit.server.base.WcmModule
com.filenet.wcm.toolkit.server.base.GlobalEventModule
com.filenet.wcm.toolkit.server.base.WcmUiModule
com.filenet.wcm.toolkit.server.ui.WcmJSPModule
com.filenet.wcm.toolkit.server.ui.WcmLayoutModule
com.filenet.wcm.apps.server.ui.layout.WcmWorkplaceLayoutModule
com.filenet.wcm.apps.server.ui.select.GranteeSelect
Provides ui to find users or groups.
Field Summary | |
protected static int |
CONTAINS
|
protected com.filenet.wcm.toolkit.server.base.WcmController |
controller
|
protected java.lang.String |
domainName
|
protected static int |
ENDS_WITH
|
protected java.lang.String |
granteeType
|
static int |
GROUP_MODE
|
protected int |
maxResults
|
static int |
MULTI_SELECTION_MODE
|
static java.lang.String |
PARAM_EXCLUDE_AUTHENTICATED_USERS
|
static java.lang.String |
PARAM_EXCLUDE_CREATOR_OWNER
|
static java.lang.String |
PARAM_INIT_GROUPS_WITH_AUTHENTICATED_USERS
|
static java.lang.String |
PARAM_SEARCH_MODE
|
static java.lang.String |
PARAM_SELECT_URL
|
static java.lang.String |
PARAM_SELECTION_MODE
|
static java.lang.String |
PARAM_TITLE
|
static java.lang.String |
PARAM_TITLE_TYPE
|
protected com.filenet.wcm.apps.server.presentation.ui.PathView |
pathView
|
protected boolean |
patternNotSpecified
|
protected org.w3c.dom.Document |
realmXML
|
protected java.lang.String |
returnURL
|
protected com.filenet.wcm.toolkit.server.base.WcmUiModule |
searchModule
|
protected java.lang.String |
searchPattern
|
protected org.w3c.dom.Document |
searchResult
|
protected java.lang.String |
searchType
|
protected java.lang.String |
searchURL
|
protected com.filenet.wcm.toolkit.server.base.WcmUiModule |
selectModule
|
protected java.lang.String |
selectURL
|
static int |
SINGLE_SELECTION_MODE
|
protected static int |
STARTS_WITH
|
protected WcmTextLinksBar |
textLinksBarModule
|
static java.lang.String |
TITLE_TYPE_PRIMARY
|
static java.lang.String |
TITLE_TYPE_SECONDARY
|
static int |
USER_GROUP_MODE
|
static int |
USER_MODE
|
protected com.filenet.wcm.toolkit.util.WcmString |
wsStatus
|
protected com.filenet.wcm.toolkit.util.WcmString |
wsWarning
|
Fields inherited from class com.filenet.wcm.apps.server.ui.layout.WcmWorkplaceLayoutModule |
bannerModule, contextMenu, footerLinksBarModule, footerModule, leftCSSClass, MAIN_MODE, multiSelectMenu, OPERATION_MODE, renderLeftBar, showFooterLinksBar, tabBarModule, treeModule |
Fields inherited from class com.filenet.wcm.toolkit.server.ui.WcmLayoutModule |
jspMode, layout |
Fields inherited from class com.filenet.wcm.toolkit.server.base.WcmModule |
locale, NAME_DELIMITER |
Constructor Summary | |
GranteeSelect()
|
Method Summary | |
protected void |
addCommandButton()
Adds the Continue button to exit the page. |
protected void |
addExitButton()
Adds the Exit button to exit the page. |
protected void |
addSearchModule()
Adds a search ui module. |
protected void |
addSelectModule()
Adds a select ui module. |
void |
cleanup()
Handles the controller cleanup call. |
protected int |
getDefaultType()
Returns the default grantee type for the selected search mode. |
protected java.lang.String |
getDomainId()
Returns the authenticated default domain id. |
protected java.lang.String |
getDomainName()
Returns the authenticated default domain name. |
java.lang.String |
getFormName()
Returns the form name used by the GranteeSelect UI. |
protected org.w3c.dom.NodeList |
getGrantees()
|
protected int |
getMaxResult()
Returns the maximum number of item that will be displayed. |
protected org.w3c.dom.Document |
getRealmList()
Returns the realm XML. |
int |
getSearchMode()
Returns the Select Grantees search mode. |
int |
getSelectionMode()
Returns the Select Grantees selection mode. |
void |
initialize()
Initializes the class data. |
void |
onAccept(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Saves selections and returns the previous page. |
void |
onCancel(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Returns to the calling page. |
void |
onClose(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Returns to the calling page after closing the window. |
void |
onContinue(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Saves selections and returns the previous page. |
void |
onExit(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Returns to the calling page after closing the window. |
void |
onSearch(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles the search event. |
void |
onStartPage(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Event handler for controllers onStartPage event. |
void |
onSubmit(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Submit the form. |
protected void |
renderLayout(java.io.Writer w)
Renders the layout. |
void |
setExcludeAuthenticatedUsers(boolean yes)
Sets this to true to exclude the #AUTHENTICATED_USERS group from the search result. |
void |
setExcludeCreatorOwner(boolean yes)
Sets this to true to exclude the #CREATOR_OWNER user from the search result. |
void |
setHideDomainName(boolean yes)
Sets this to true to hide the domain name. |
void |
setOperationTitle(com.filenet.wcm.toolkit.util.WcmString title)
Set the selection page title. |
void |
setOperationTitle(com.filenet.wcm.toolkit.util.WcmString title,
boolean primaryTitle)
Set the selection page title. |
void |
setPath(java.lang.String pathItemLabel,
com.filenet.wcm.toolkit.util.WcmString pathTitle)
Configures contained WcmPathView module to have one non-clickable anchor with the specified label. |
void |
setSearchMode(int mode)
Sets the Select Grantees search mode. |
void |
setSelectionMode(int mode)
Sets the Select Grantees selection mode. |
Methods inherited from class com.filenet.wcm.apps.server.ui.layout.WcmWorkplaceLayoutModule |
addModule, addModule, addPrimaryPageAnchors, createLayout, getAnchorTree, getBannerBar, getFooter, getFooterLinksBar, getOperationTitle, getPageTabId, getPrimaryPageAnchors, getTabBar, isAdminLinkAvailable, registerAddedModules, resetPrimaryPageAnchors, setAddContextMenu, setMode, setOperationTitle, setOperationTitle, setRemoveTreeModule, setShowFooterLinksBar, setTabBarSelection |
Methods inherited from class com.filenet.wcm.toolkit.server.ui.WcmLayoutModule |
getLayout, render, setJSP |
Methods inherited from class com.filenet.wcm.toolkit.server.ui.WcmJSPModule |
getCurrentModule |
Methods inherited from class com.filenet.wcm.toolkit.server.base.WcmUiModule |
getActive, getBasePath, getBaseUrl, getBaseURLBuilder, getControllerEventUrl, getControllerEventUrl, getEventFormFields, getEventFormFields, getEventFormTag, getEventFormTag, getEventUrl, getEventUrl, getEventUrl, getEventUrl, getFormSubmitUrl, getFormSubmitUrl, getGlobalEventUrl, getGlobalEventUrl, getPageUrl, getPageUrl, getPageUrl, getPageUrl, getUiParent, peekEvent, renderJSP, routeEvent, routeEvent, serverSideInclude, serverSideInclude, setActive |
Methods inherited from class com.filenet.wcm.toolkit.server.base.GlobalEventModule |
subscribeGlobalEvent |
Methods inherited from class com.filenet.wcm.toolkit.server.base.WcmModule |
addChild, addChild, addChild, debugTrace, getClassProperty, getClassProperty, getClassPropertyKeys, getConfiguration, getController, getDataStore, getModuleProperty, getModuleProperty, getModuleProperty, getModuleProperty, getModulePropertyKeys, getName, getParent, getWindowProperty, getWindowProperty, persist, queryDataProvider, setClassProperty, setClassProperty, setController, setModuleProperty, setModuleProperty, setName, setParent, setPortletParent, setWindowProperty |
Methods inherited from class com.filenet.wcm.toolkit.server.base.WcmDpContainer |
addDataProvider, addDataProvider |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.filenet.wcm.toolkit.server.base.WcmModuleInterface |
addDataProvider, getDataStore, getModuleProperty, getName, getParent, persist, queryDataProvider, setController, setModuleProperty, setName, setParent |
Field Detail |
protected com.filenet.wcm.toolkit.util.WcmString wsStatus
protected com.filenet.wcm.toolkit.util.WcmString wsWarning
protected static final int STARTS_WITH
protected static final int ENDS_WITH
protected static final int CONTAINS
protected boolean patternNotSpecified
public static final java.lang.String PARAM_TITLE
public static final java.lang.String PARAM_TITLE_TYPE
public static final java.lang.String PARAM_EXCLUDE_CREATOR_OWNER
public static final java.lang.String PARAM_EXCLUDE_AUTHENTICATED_USERS
public static final java.lang.String PARAM_SEARCH_MODE
public static final java.lang.String PARAM_SELECTION_MODE
public static final java.lang.String PARAM_SELECT_URL
public static final java.lang.String PARAM_INIT_GROUPS_WITH_AUTHENTICATED_USERS
public static final int USER_MODE
public static final int GROUP_MODE
public static final int USER_GROUP_MODE
public static final int SINGLE_SELECTION_MODE
public static final int MULTI_SELECTION_MODE
public static final java.lang.String TITLE_TYPE_PRIMARY
public static final java.lang.String TITLE_TYPE_SECONDARY
protected com.filenet.wcm.toolkit.server.base.WcmController controller
protected WcmTextLinksBar textLinksBarModule
protected com.filenet.wcm.apps.server.presentation.ui.PathView pathView
protected com.filenet.wcm.toolkit.server.base.WcmUiModule searchModule
protected com.filenet.wcm.toolkit.server.base.WcmUiModule selectModule
protected java.lang.String domainName
protected java.lang.String granteeType
protected java.lang.String searchType
protected java.lang.String searchPattern
protected org.w3c.dom.Document searchResult
protected int maxResults
protected java.lang.String returnURL
protected java.lang.String searchURL
protected java.lang.String selectURL
protected org.w3c.dom.Document realmXML
Constructor Detail |
public GranteeSelect()
Method Detail |
public void initialize() throws java.lang.Exception
initialize
in interface com.filenet.wcm.toolkit.server.base.WcmModuleInterface
initialize
in class WcmWorkplaceLayoutModule
java.lang.Exception
- If there are problems.public void onStartPage(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
request
- HttpServletRequestresponse
- HttpServletResponse
java.lang.Exception
protected void renderLayout(java.io.Writer w) throws java.lang.Exception
renderLayout
in class WcmWorkplaceLayoutModule
w
- Writer for writing to the response object.
java.lang.Exception
- If there are problems.public void onSearch(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
request
- The JSP request object HttpServletRequestresponse
- The JSP response object HttpServletResponse
java.lang.Exception
public void onSubmit(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
request
- The JSP request object HttpServletRequestresponse
- The JSP response object HttpServletResponse
java.lang.Exception
- If there are problems retrieving data.public void cleanup() throws java.lang.Exception
java.lang.Exception
protected org.w3c.dom.Document getRealmList() throws java.lang.Exception
java.lang.Exception
- All errors.protected int getMaxResult() throws java.lang.Exception
java.lang.Exception
protected java.lang.String getDomainId() throws java.lang.Exception
java.lang.Exception
protected java.lang.String getDomainName() throws java.lang.Exception
java.lang.Exception
protected int getDefaultType()
public void onAccept(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
request
- The JSP request object HttpServletRequestresponse
- The JSP response object HttpServletResponse
java.lang.Exception
public void onContinue(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
request
- The JSP request object HttpServletRequestresponse
- The JSP response object HttpServletResponse
java.lang.Exception
public void onClose(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
request
- HttpServletRequest is the JSP request object.response
- HttpServletResponse is the JSP response object.
java.lang.Exception
- If there are problems retrieving data.public void onExit(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
request
- HttpServletRequest is the JSP request object.response
- HttpServletResponse is the JSP response object.
java.lang.Exception
- If there are problems retrieving data.public void onCancel(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
request
- HttpServletRequest is the JSP request object.response
- HttpServletResponse is the JSP response object.
java.lang.Exception
- If there are problems retrieving data.public java.lang.String getFormName()
public void setHideDomainName(boolean yes)
yes
- boolean true to not show the domain name.public void setExcludeCreatorOwner(boolean yes)
yes
- boolean true to exclcude exclude the #CREATOR_OWNER user from the search result.public void setExcludeAuthenticatedUsers(boolean yes)
yes
- boolean true to exclcude exclude the #AUTHENTICATED_USERS group from the search resultpublic void setPath(java.lang.String pathItemLabel, com.filenet.wcm.toolkit.util.WcmString pathTitle)
pathItemLabel
- String label displayed in the WcmPathView modulepathTitle
- WcmString Title displayed in the WcmPathView modulepublic void setSearchMode(int mode)
mode
- int the search mode (USER_MODE, GROUP_MODE or USER_GROUP_MODE).public int getSearchMode()
public void setSelectionMode(int mode)
mode
- int the selection mode (SINGLE_SELECTION_MODE or MULTI_SELECTION_MODE).public int getSelectionMode()
public void setOperationTitle(com.filenet.wcm.toolkit.util.WcmString title) throws java.lang.Exception
setOperationTitle
in class WcmWorkplaceLayoutModule
title
- The title of the page.
java.lang.Exception
public void setOperationTitle(com.filenet.wcm.toolkit.util.WcmString title, boolean primaryTitle) throws java.lang.Exception
setOperationTitle
in class WcmWorkplaceLayoutModule
title
- The title of the page.primaryTitle
- true for main title and false for secondary title (i.e.: main title - secondary title)
java.lang.Exception
protected void addSearchModule() throws java.lang.Exception
java.lang.Exception
- All Exceptionsprotected void addSelectModule() throws java.lang.Exception
java.lang.Exception
- All Exceptionsprotected void addExitButton() throws java.lang.Exception
java.lang.Exception
- All exceptionsprotected void addCommandButton() throws java.lang.Exception
java.lang.Exception
- All exceptionsprotected org.w3c.dom.NodeList getGrantees() throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |