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_externalFormEventTargetEMPTY_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, showNormalattach, disableRequestListener, enableRequestListener, getAjaxEventURL, getContext, getEventURL, getFormEventFunction, getFormEventURL, getID, onExternalRequest, onFormEvent, onRequest, updateExternalFormTargetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonUpdatepublic static final String PRIVILEGES_PARAMETER
public OwPrivilegeSetEditor(OwPrivilegesDocument privilegesDocument_p, OwDialog dialog_p)
public OwPrivilegeSetEditorDocument getDocument()
OwViewgetDocument in class OwViewprotected void onRender(Writer w_p) throws Exception
OwViewpublic void onChangeToRecentRole(javax.servlet.http.HttpServletRequest request_p)
throws Exception
request_p - a HttpServletRequest objectExceptionpublic void onOpenRoleDialog(javax.servlet.http.HttpServletRequest request_p)
throws Exception
request_p - a HttpServletRequest objectExceptionprotected 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.OwDialogListeneronDialogClose in interface OwDialog.OwDialogListenerdialogView_p - the Dialog that closed.Exceptionprotected String usesFormWithAttributes()
OwViewusesFormWithAttributes in class OwViewCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.