public class OwPrivilegeSetEditor extends OwView implements OwDialog.OwDialogListener
OwPrivilegeSet
editor view for set-user and privilege selection to
be used with OwPrivilegesView
.
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
Modifier and Type | Field and Description |
---|---|
static String |
PRIVILEGES_PARAMETER |
CURRENT_MODULE_KEY, FORMULAR_PLACEHOLDER_END_DELIMITER, FORMULAR_PLACEHOLDER_START_DELIMITER, m_externalFormEventTarget
EMPTY_STRING
Constructor and Description |
---|
OwPrivilegeSetEditor(OwPrivilegesDocument privilegesDocument_p,
OwDialog dialog_p) |
Modifier and Type | Method and Description |
---|---|
protected OwUserSelectDialog |
createOwUserSelectDialog(int[] filter,
boolean multiSelect)
(overridable)
Factory methods for user select dialog, can be overwritten if needed.
|
OwPrivilegeSetEditorDocument |
getDocument()
gets the reference to the document
|
List<String> |
getRecentRoleNames() |
void |
onAddPrivilege(javax.servlet.http.HttpServletRequest request_p) |
void |
onChangeToRecentRole(javax.servlet.http.HttpServletRequest request_p)
called from JSP to change to a recent role
|
void |
onDialogClose(OwDialog dialogView_p)
called if the Dialog that was opened by this view closes
|
void |
onOpenRoleDialog(javax.servlet.http.HttpServletRequest request_p)
called from JSP to get role from role dialogue
|
protected void |
onRender(Writer w_p)
called when the view should create its HTML content to be displayed
|
protected String |
usesFormWithAttributes()
to get additional form attributes used for the form
override if your view needs a form.
|
activate, addView, detach, getBreadcrumbPart, getExternalFormEventTarget, getFormName, getFormTarget, getIcon, getIterator, getMaximizeView, getParent, getRenderedNamedRegion, getRenderedRegion, getTitle, getViewList, init, isFormTargetExternal, isNamedRegion, isRegion, isShowMaximized, isShowMinimized, isShowNormal, onActivate, onUpdate, render, renderHTMLFormular, renderNamedRegion, renderRegion, serverSideDesignInclude, serverSideInclude, setDocument, setExternalFormTarget, setMaximizeView, setParent, showMaximized, showMinimized, showNormal
attach, disableRequestListener, enableRequestListener, getAjaxEventURL, getContext, getEventURL, getFormEventFunction, getFormEventURL, getID, onExternalRequest, onFormEvent, onRequest, updateExternalFormTarget
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onUpdate
public static final String PRIVILEGES_PARAMETER
public OwPrivilegeSetEditor(OwPrivilegesDocument privilegesDocument_p, OwDialog dialog_p)
public OwPrivilegeSetEditorDocument getDocument()
OwView
getDocument
in class OwView
protected void onRender(Writer w_p) throws Exception
OwView
public void onChangeToRecentRole(javax.servlet.http.HttpServletRequest request_p) throws Exception
request_p
- a HttpServletRequest objectException
public void onOpenRoleDialog(javax.servlet.http.HttpServletRequest request_p) throws Exception
request_p
- a HttpServletRequest objectException
protected OwUserSelectDialog createOwUserSelectDialog(int[] filter, boolean multiSelect) throws OwException
onOpenRoleDialog(HttpServletRequest)
if a selection was triggered.filter
- int array of OwUIUserSelectModul.TYPE_...multiSelect
- boolean allow multi selectionOwException
- if could not instantiate dialogpublic void onDialogClose(OwDialog dialogView_p) throws Exception
OwDialog.OwDialogListener
onDialogClose
in interface OwDialog.OwDialogListener
dialogView_p
- the Dialog that closed.Exception
protected String usesFormWithAttributes()
OwView
usesFormWithAttributes
in class OwView
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.