com.wewebu.ow.server.dmsdialogs.views
Class OwSplitObjectListView
java.lang.Object
com.wewebu.ow.server.ui.OwEventTarget
com.wewebu.ow.server.ui.OwView
com.wewebu.ow.server.ui.OwLayout
com.wewebu.ow.server.dmsdialogs.views.OwSplitObjectListView
- All Implemented Interfaces:
- OwBaseView, OwUpdateTarget
public class OwSplitObjectListView
- extends OwLayout
Displays several object collections called splits.
Each split or object collection is displayed using an OwObjectListView
in
stacked labeled regions.
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
- Since:
- 4.1.1.0
Methods inherited from class com.wewebu.ow.server.ui.OwLayout |
addRegion, addView, addView, addViewReference, getIterator, getViewRegion, isRegion, isRegionMaximized, isRegionMinimized, isRegionNormal, renderNamedRegion, renderRegion |
Methods inherited from class com.wewebu.ow.server.ui.OwView |
activate, detach, getBreadcrumbPart, getExternalFormEventTarget, getFormName, getFormTarget, getIcon, getMaximizeView, getParent, getRenderedNamedRegion, getRenderedRegion, getTitle, getViewList, isFormTargetExternal, isNamedRegion, isShowMaximized, isShowMinimized, isShowNormal, onActivate, render, renderHTMLFormular, 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 |
OwSplitObjectListView
public OwSplitObjectListView(String[] splitNames,
Collection<OwFieldColumnInfo>[] columnInfos,
List<OwDocumentFunction> documentFunctions)
- Constructor
- Parameters:
splitNames
- label names of the splits that will be displayedcolumnInfos
- column information for all OwObjectListView
s
OwSplitObjectListView
public OwSplitObjectListView(OwSplitObjectListDocument document)
init
protected void init()
throws Exception
- Description copied from class:
OwView
- init the target after the context is set.
- Overrides:
init
in class OwView
- Throws:
Exception
getSplitCount
public int getSplitCount()
displaySplitName
public boolean displaySplitName(int index)
getSplitName
public String getSplitName(int index)
createObjectListView
protected OwObjectListView createObjectListView(Collection<OwFieldColumnInfo> viewColumnInfos)
getDocument
public OwSplitObjectListDocument getDocument()
- Description copied from class:
OwView
- gets the reference to the document
- Overrides:
getDocument
in class OwView
- Returns:
- document instance
onUpdate
public void onUpdate(OwEventTarget caller_p,
int iCode_p,
Object param_p)
throws Exception
- Description copied from interface:
OwUpdateTarget
- called by the framework to update the view when OwDocument.Update was called
NOTE: We can not use the onRender method to update,
because we do not know the call order of onRender.
onUpdate is always called before all onRender methods.
- Specified by:
onUpdate
in interface OwUpdateTarget
- Overrides:
onUpdate
in class OwView
- Parameters:
caller_p
- OwEventTarget target that called updateiCode_p
- int optional reason codeparam_p
- Object optional parameter representing the refresh, depends on the value of iCode_p, can be null
- Throws:
Exception
onRender
protected void onRender(Writer w_p)
throws Exception
- Description copied from class:
OwView
- called when the view should create its HTML content to be displayed
- Overrides:
onRender
in class OwView
- Parameters:
w_p
- Writer object to write HTML to
- Throws:
Exception
Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.