|
||||||||||
| 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.plug.owaddmultidocuments.OwMultiDocumentObjectAccessRightsView
public class OwMultiDocumentObjectAccessRightsView
Access rights view.
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 | |
|---|---|
protected com.wewebu.ow.server.ecm.ui.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 boolean |
m_initDone
|
protected com.wewebu.ow.server.ui.OwMenu |
m_MainMenu
main menu of ECM Adapters AccessReightsUI |
protected com.wewebu.ow.server.ui.OwView |
m_NextActiveView
OwMultipanel implementation next view reference |
protected com.wewebu.ow.server.ecm.OwObject |
m_ObjectRef
object reference the view is working on |
protected com.wewebu.ow.server.ui.OwView |
m_PrevActiveView
OwMultipanel implementation previous view reference |
| 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 | |
|---|---|
OwMultiDocumentObjectAccessRightsView()
|
|
| Method Summary | |
|---|---|
String |
getFormName()
get the form used for the edit fields |
com.wewebu.ow.server.ecm.OwObject |
getObjectRef()
get the object, the access rights view is working on |
protected void |
init()
init the view after the context is set. |
boolean |
isValidated()
|
protected void |
onActivate(int index_p,
Object reason_p)
|
void |
onNext(javax.servlet.http.HttpServletRequest request_p,
Object oReason_p)
event called when user clicked Lock button in menu |
protected void |
onRender(Writer w_p)
render the view and all contained views |
protected void |
renderEmptyTextMessage(Writer w_p,
String msg_p)
Render the empty message text and afterwards the menu if exist. |
void |
setNextActivateView(com.wewebu.ow.server.ui.OwView nextView_p)
|
void |
setObjectRef(com.wewebu.ow.server.ecm.OwObject obj_p)
set the object, the access rights view is working on |
void |
setPrevActivateView(com.wewebu.ow.server.ui.OwView prevView_p)
|
void |
setReadOnly(boolean fReadOnly_p)
set the view read-only |
| Methods inherited from class com.wewebu.ow.server.ui.OwView |
|---|
activate, addView, detach, getBreadcrumbPart, getDocument, getExternalFormEventTarget, getFormTarget, getIcon, getIterator, getMaximizeView, getParent, getRenderedNamedRegion, getRenderedRegion, getTitle, getViewList, isFormTargetExternal, isNamedRegion, isRegion, isShowMaximized, isShowMinimized, isShowNormal, onUpdate, render, renderHTMLFormular, renderNamedRegion, renderRegion, serverSideDesignInclude, serverSideInclude, setDocument, setExternalFormTarget, setMaximizeView, setParent, showMaximized, showMinimized, showNormal, usesFormWithAttributes |
| 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 |
| Field Detail |
|---|
protected com.wewebu.ow.server.ecm.ui.OwUIAccessRightsModul m_AccessRightsSubModul
protected com.wewebu.ow.server.ecm.OwObject m_ObjectRef
protected com.wewebu.ow.server.ui.OwMenu m_MainMenu
protected int m_iNextButtonIndex
protected boolean m_fReadOnly
protected boolean m_initDone
protected com.wewebu.ow.server.ui.OwView m_PrevActiveView
protected com.wewebu.ow.server.ui.OwView m_NextActiveView
| Constructor Detail |
|---|
public OwMultiDocumentObjectAccessRightsView()
| Method Detail |
|---|
protected void init()
throws Exception
init in class com.wewebu.ow.server.ui.OwViewException
protected void onActivate(int index_p,
Object reason_p)
throws Exception
onActivate in class com.wewebu.ow.server.ui.OwViewExceptionpublic String getFormName()
getFormName in class com.wewebu.ow.server.ui.OwViewpublic void setReadOnly(boolean fReadOnly_p)
public com.wewebu.ow.server.ecm.OwObject getObjectRef()
public void setObjectRef(com.wewebu.ow.server.ecm.OwObject obj_p)
throws Exception
obj_p - OwObject
Exception
protected void onRender(Writer w_p)
throws Exception
onRender in class com.wewebu.ow.server.ui.OwVieww_p - Writer object to write HTML to
Exception
protected void renderEmptyTextMessage(Writer w_p,
String msg_p)
throws Exception
This is not a
w_p - Writer to be used for renderingmsg_p - String message to write
Exception
public boolean isValidated()
throws Exception
isValidated in interface com.wewebu.ow.server.ui.OwMultipanelException
public void setNextActivateView(com.wewebu.ow.server.ui.OwView nextView_p)
throws Exception
setNextActivateView in interface com.wewebu.ow.server.ui.OwMultipanelException
public void setPrevActivateView(com.wewebu.ow.server.ui.OwView prevView_p)
throws Exception
setPrevActivateView in interface com.wewebu.ow.server.ui.OwMultipanelException
public void onNext(javax.servlet.http.HttpServletRequest request_p,
Object oReason_p)
throws Exception
oReason_p - Optional reason object submitted in addMenuItemrequest_p - a HttpServletRequest
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||