|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.wewebu.ow.server.ui.OwEventTarget
com.wewebu.ow.server.ui.OwView
com.wewebu.ow.server.dmsdialogs.views.OwPrivilegeSetEditor
public class OwPrivilegeSetEditor
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
| Field Summary | |
|---|---|
static String |
PRIVILEGES_PARAMETER
|
| Fields inherited from class com.wewebu.ow.server.ui.OwView |
|---|
CURRENT_MODULE_KEY, FORMULAR_PLACEHOLDER_END_DELIMITER, FORMULAR_PLACEHOLDER_START_DELIMITER, m_externalFormEventTarget |
| Fields inherited from interface com.wewebu.ow.server.ui.OwBaseView |
|---|
EMPTY_STRING |
| Constructor Summary | |
|---|---|
OwPrivilegeSetEditor(OwPrivilegesDocument privilegesDocument_p,
OwDialog dialog_p)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.wewebu.ow.server.ui.OwView |
|---|
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 |
| Methods inherited from class com.wewebu.ow.server.ui.OwEventTarget |
|---|
attach, disableRequestListener, enableRequestListener, getAjaxEventURL, getContext, getEventURL, getFormEventFunction, getFormEventURL, getID, onExternalRequest, onFormEvent, onRequest, updateExternalFormTarget |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.wewebu.ow.server.ui.OwUpdateTarget |
|---|
onUpdate |
| Field Detail |
|---|
public static final String PRIVILEGES_PARAMETER
| Constructor Detail |
|---|
public OwPrivilegeSetEditor(OwPrivilegesDocument privilegesDocument_p,
OwDialog dialog_p)
| Method Detail |
|---|
public OwPrivilegeSetEditorDocument getDocument()
OwView
getDocument in class OwView
protected void onRender(Writer w_p)
throws Exception
OwView
onRender in class OwVieww_p - Writer object to write HTML to
Exceptionpublic List<String> getRecentRoleNames()
public void onChangeToRecentRole(javax.servlet.http.HttpServletRequest request_p)
throws Exception
request_p - a HttpServletRequest object
Exception
public void onOpenRoleDialog(javax.servlet.http.HttpServletRequest request_p)
throws Exception
request_p - a HttpServletRequest object
Exception
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 selection
OwException - if could not instantiate dialog
public void onDialogClose(OwDialog dialogView_p)
throws Exception
OwDialog.OwDialogListener
onDialogClose in interface OwDialog.OwDialogListenerdialogView_p - the Dialog that closed.
Exceptionprotected String usesFormWithAttributes()
OwView
usesFormWithAttributes in class OwView
public void onAddPrivilege(javax.servlet.http.HttpServletRequest request_p)
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||