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.OwDialogListener
OwLayout.OwDispatchRegion, OwLayout.OwLayoutViewRefrence
CLOSE_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_REGION
m_iDEBUG_DocumentViewSize, m_iDEBUG_InitDocument, m_iDEBUG_TargetCount, m_Listener
CURRENT_MODULE_KEY, FORMULAR_PLACEHOLDER_END_DELIMITER, FORMULAR_PLACEHOLDER_START_DELIMITER, m_externalFormEventTarget
EMPTY_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, setTitle
closeDialog, setListener
addRegion, addView, addView, addViewReference, getIterator, getViewRegion, isRegionMaximized, isRegionMinimized, isRegionNormal, renderNamedRegion
activate, 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, usesFormWithAttributes
attach, disableRequestListener, enableRequestListener, getAjaxEventURL, getContext, getEventURL, getFormEventFunction, getFormEventURL, getID, onExternalRequest, onFormEvent, onRequest, updateExternalFormTarget
public 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
OwView
public List getSelectedUsers()
public List getSelectedRoles()
public void onSelectRoles(List roleNames_p) throws Exception
onSelectRoles
in interface OwUIUserSelectModul.OwEventListner
roleNames_p
- list of StringException
public void onSelectUsers(List users_p) throws Exception
onSelectUsers
in interface OwUIUserSelectModul.OwEventListner
users_p
- List of OwUserInfoException
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.