public class OwMultipanelAccessRightsView extends OwView implements OwMultipanel
Access rights view. Implementing the OwMutlipanel interface, so it will work also in sub menu structures.
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 |
---|---|
protected OwUIAccessRightsModul |
m_AccessRightsSubModul
reference to the DMS specific AccessRights UI
|
protected boolean |
m_fReadOnly
read only flag
|
protected int |
m_iNextButtonIndex
index of the next button in the menu
|
protected OwMenu |
m_MainMenu
main menu of ECM Adapters AccessReightsUI
|
protected OwView |
m_NextActiveView
OwMultipanel implementation next view reference
|
protected OwObject |
m_ObjectRef
object reference the view is working on
|
protected OwView |
m_PrevActiveView
OwMultipanel implementation previous view reference
|
CURRENT_MODULE_KEY, FORMULAR_PLACEHOLDER_END_DELIMITER, FORMULAR_PLACEHOLDER_START_DELIMITER, m_externalFormEventTarget
EMPTY_STRING
Constructor and Description |
---|
OwMultipanelAccessRightsView() |
Modifier and Type | Method and Description |
---|---|
String |
getFormName()
get the form used for the edit fields
|
OwObject |
getObjectRef()
get the object, the access rights view is working on
|
boolean |
isValidated()
check if view has validated its data and the next view can be enabled
|
protected void |
onActivate(int index_p,
Object reason_p)
activate the target from a navigation module.
|
void |
onNext(javax.servlet.http.HttpServletRequest request_p,
Object oReason_p)
Event called when user clicked Next button in menu
|
protected void |
onRender(Writer w_p)
render the view and all contained views
|
void |
setNextActivateView(OwView nextView_p)
set the view that is next to this view, displays a next button to activate
|
void |
setObjectRef(OwObject obj_p)
set the object, the access rights view is working on
|
void |
setPrevActivateView(OwView prevView_p)
set the view that is prev to this view, displays a prev button to activate
|
void |
setReadOnly(boolean fReadOnly_p)
set the view read-only
|
activate, addView, detach, getBreadcrumbPart, getDocument, getExternalFormEventTarget, getFormTarget, getIcon, getIterator, getMaximizeView, getParent, getRenderedNamedRegion, getRenderedRegion, getTitle, getViewList, init, isFormTargetExternal, isNamedRegion, isRegion, isShowMaximized, isShowMinimized, isShowNormal, onUpdate, render, renderHTMLFormular, renderNamedRegion, renderRegion, serverSideDesignInclude, serverSideInclude, setDocument, setExternalFormTarget, setMaximizeView, setParent, showMaximized, showMinimized, showNormal, usesFormWithAttributes
attach, disableRequestListener, enableRequestListener, getAjaxEventURL, getContext, getEventURL, getFormEventFunction, getFormEventURL, getID, onExternalRequest, onFormEvent, onRequest, updateExternalFormTarget
protected OwUIAccessRightsModul m_AccessRightsSubModul
protected OwObject m_ObjectRef
protected OwMenu m_MainMenu
protected int m_iNextButtonIndex
protected boolean m_fReadOnly
protected OwView m_PrevActiveView
protected OwView m_NextActiveView
protected void onActivate(int index_p, Object reason_p) throws Exception
OwView
onActivate
in class OwView
index_p
- int tab iIndex of Navigationreason_p
- User Object which was submitted when target was attached to the navigation moduleException
public String getFormName()
getFormName
in class OwView
public void setReadOnly(boolean fReadOnly_p)
public OwObject getObjectRef()
public void setObjectRef(OwObject obj_p) throws Exception
obj_p
- OwObjectException
protected void onRender(Writer w_p) throws Exception
public boolean isValidated() throws Exception
OwMultipanel
isValidated
in interface OwMultipanel
Exception
public void setNextActivateView(OwView nextView_p) throws Exception
OwMultipanel
setNextActivateView
in interface OwMultipanel
nextView_p
- OwViewException
public void setPrevActivateView(OwView prevView_p) throws Exception
OwMultipanel
setPrevActivateView
in interface OwMultipanel
prevView_p
- OwViewException
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.