com.wewebu.ow.server.dmsdialogs.views
Class OwObjectAccessRightsView

java.lang.Object
  extended by com.wewebu.ow.server.ui.OwEventTarget
      extended by com.wewebu.ow.server.ui.OwView
          extended by com.wewebu.ow.server.dmsdialogs.views.OwObjectAccessRightsView
All Implemented Interfaces:
OwBaseView, OwUpdateTarget

public class OwObjectAccessRightsView
extends OwView

View Module to edit the OwObject Access rights via OwNetwork.getEditAccessRightsSubModul(...).

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  OwUIAccessRightsModul m_AccessRightsSubModul
          reference to the DMS specific AccessRights UI
protected  OwObject m_ObjectRef
          object reference the view is working on
 
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
OwObjectAccessRightsView()
           
 
Method Summary
 String getFormName()
          get the form used for the edit fields
 OwObject getObjectRef()
          get the object, the access rights view is working on
protected  void init()
          init the view after the context is set.
protected  void onRender(Writer w_p)
          render the view and all contained views
 void setObjectRef(OwObject obj_p)
          set the object, the access rights view is working on
 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, onActivate, 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

m_AccessRightsSubModul

protected OwUIAccessRightsModul m_AccessRightsSubModul
reference to the DMS specific AccessRights UI


m_ObjectRef

protected OwObject m_ObjectRef
object reference the view is working on

Constructor Detail

OwObjectAccessRightsView

public OwObjectAccessRightsView()
Method Detail

init

protected void init()
             throws Exception
init the view after the context is set.

Overrides:
init in class OwView
Throws:
Exception

getFormName

public String getFormName()
get the form used for the edit fields

Overrides:
getFormName in class OwView
Returns:
String form name

setReadOnly

public void setReadOnly(boolean fReadOnly_p)
set the view read-only


getObjectRef

public OwObject getObjectRef()
get the object, the access rights view is working on

Returns:
OwObject

setObjectRef

public void setObjectRef(OwObject obj_p)
                  throws Exception
set the object, the access rights view is working on

Parameters:
obj_p - OwObject
Throws:
Exception

onRender

protected void onRender(Writer w_p)
                 throws Exception
render the view and all contained views

Overrides:
onRender in class OwView
Parameters:
w_p - Writer object to write HTML to
Throws:
Exception


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.