public class OwUserSelectDialog extends OwStandardDialog implements OwUIUserSelectModul.OwEventListner
Base Class for the login sub module to be created in the network (DMS) Adaptor. Submodules are used to delegate
DMS specific User Interactions to the DMS Adaptor, which can not be generically solved.
e.g.: Login or Access rights Dialog.
To be implemented with the specific DMS system.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
OwDialog.OwDialogListenerOwLayout.OwDispatchRegion, OwLayout.OwLayoutViewRefrenceCLOSE_BTN_REGION, FOOTER_REGION, HELP_BTN_REGION, INFO_ICON_REGION, LEFT_REGION, m_strHelpPath, m_strInfoIconURL, m_strTitle, MAIN_REGION, MENU_REGION, RIGHT_REGION, STANDARD_DIALOG_REGION_MAX, TITLE_REGIONm_iDEBUG_DocumentViewSize, m_iDEBUG_InitDocument, m_iDEBUG_TargetCount, m_ListenerCURRENT_MODULE_KEY, FORMULAR_PLACEHOLDER_END_DELIMITER, FORMULAR_PLACEHOLDER_START_DELIMITER, m_externalFormEventTargetEMPTY_STRING| Constructor and Description |
|---|
OwUserSelectDialog(int[] filterType_p,
boolean fMultiselect_p)
create a user select dialog
|
| Modifier and Type | Method and Description |
|---|---|
List |
getSelectedRoles()
get the selected user
|
List |
getSelectedUsers()
get the selected user
|
void |
init()
init the target after the context is set.
|
void |
onSelectRoles(List roleNames_p)
called when user selected a role
|
void |
onSelectUsers(List users_p)
called when user selected a group or user
|
getInfoIcon, getTitle, hasHelpButton, isRegion, onClose, onHelp, onRender, renderCloseButton, renderHelpButton, renderRegion, setHelp, setInfoIcon, setTitlecloseDialog, setListeneraddRegion, addView, addView, addViewReference, getIterator, getViewRegion, isRegionMaximized, isRegionMinimized, isRegionNormal, renderNamedRegionactivate, detach, getBreadcrumbPart, getDocument, getExternalFormEventTarget, getFormName, getFormTarget, getIcon, getMaximizeView, getParent, getRenderedNamedRegion, getRenderedRegion, getViewList, isFormTargetExternal, isNamedRegion, isShowMaximized, isShowMinimized, isShowNormal, onActivate, onUpdate, render, renderHTMLFormular, serverSideDesignInclude, serverSideInclude, setDocument, setExternalFormTarget, setMaximizeView, setParent, showMaximized, showMinimized, showNormal, usesFormWithAttributesattach, disableRequestListener, enableRequestListener, getAjaxEventURL, getContext, getEventURL, getFormEventFunction, getFormEventURL, getID, onExternalRequest, onFormEvent, onRequest, updateExternalFormTargetpublic OwUserSelectDialog(int[] filterType_p,
boolean fMultiselect_p)
filterType_p - array of types to be displayed / filtered as defined in OwUIUserSelectModulfMultiselect_p - true = allow multiple selection of users / groups / roles, false = allow only one selectionpublic void init()
throws Exception
OwViewpublic List getSelectedUsers()
public List getSelectedRoles()
public void onSelectRoles(List roleNames_p) throws Exception
onSelectRoles in interface OwUIUserSelectModul.OwEventListnerroleNames_p - list of StringExceptionpublic void onSelectUsers(List users_p) throws Exception
onSelectUsers in interface OwUIUserSelectModul.OwEventListnerusers_p - List of OwUserInfoExceptionCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.