|
||||||||||
| 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.ui.OwLayout
com.wewebu.ow.server.plug.owrecord.OwRecordContentView
public class OwRecordContentView
Document list view, which contains a OwObjectListView to display the Documents of a Tree node.
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
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.wewebu.ow.server.ui.OwLayout |
|---|
com.wewebu.ow.server.ui.OwLayout.OwDispatchRegion |
| Field Summary | |
|---|---|
protected com.wewebu.ow.server.app.OwMaxMinButtonControlView |
m_MaxMinButtonControlView
View Module to display a maximize minimize button and maximize minimize the attached view |
static int |
MIN_MAX_CONTROL_VIEW
name of the min max control region |
static int |
OBJECT_LIST_CONTROL_REGION
name of the max size region |
static int |
OBJECT_LIST_REGION
name of the max size region |
static int |
OBJECT_LIST_SIZE_REGION
name of the max size region |
| Fields inherited from class com.wewebu.ow.server.ui.OwLayout |
|---|
m_Regions |
| 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 | |
|---|---|
OwRecordContentView()
|
|
| Method Summary | |
|---|---|
int |
getCount()
get the result list count |
boolean |
getIsComplete()
check if result list could be retrieved completely |
Object |
getSafeListAttribute(String attributeName_p,
Object default_p)
get a result list attribute |
protected void |
init()
init the target after the context is set. |
boolean |
isNamedRegion(String strRegion_p)
determine if region exists |
void |
onActivateObjectListView(int iNewIndex_p,
int iOldIndex_p,
com.wewebu.ow.server.dmsdialogs.views.OwObjectListView newview_p,
com.wewebu.ow.server.dmsdialogs.views.OwObjectListView oldview_p)
called when user selects an object list view |
protected void |
onRender(Writer w_p)
render the view |
void |
renderNamedRegion(Writer w_p,
String strRegion_p)
render only a region in the view, used by derived classes render the attribute from the resultlist |
void |
renderRegion(Writer w_p,
int iRegion_p)
render the views of the region |
void |
setDocumentFunctionPluginList(List pluginList_p)
Set a java.util.List of OwDocumentFunction to be used by this
list. |
| Methods inherited from class com.wewebu.ow.server.ui.OwLayout |
|---|
addRegion, addView, addView, addViewReference, getIterator, getViewRegion, isRegion, isRegionMaximized, isRegionMinimized, isRegionNormal |
| Methods inherited from class com.wewebu.ow.server.ui.OwView |
|---|
activate, detach, getBreadcrumbPart, getDocument, getExternalFormEventTarget, getFormName, getFormTarget, getIcon, getMaximizeView, getParent, getRenderedNamedRegion, getRenderedRegion, getTitle, getViewList, isFormTargetExternal, isShowMaximized, isShowMinimized, isShowNormal, onActivate, onUpdate, 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 |
| Field Detail |
|---|
public static final int OBJECT_LIST_REGION
public static final int OBJECT_LIST_SIZE_REGION
public static final int MIN_MAX_CONTROL_VIEW
public static final int OBJECT_LIST_CONTROL_REGION
protected com.wewebu.ow.server.app.OwMaxMinButtonControlView m_MaxMinButtonControlView
| Constructor Detail |
|---|
public OwRecordContentView()
| Method Detail |
|---|
protected void init()
throws Exception
init in class com.wewebu.ow.server.ui.OwViewException
public void renderRegion(Writer w_p,
int iRegion_p)
throws Exception
renderRegion in interface com.wewebu.ow.server.ui.OwBaseViewrenderRegion in class com.wewebu.ow.server.ui.OwLayoutw_p - Writer object to write HTML toiRegion_p - ID of the region to render
Exception
public Object getSafeListAttribute(String attributeName_p,
Object default_p)
attributeName_p - String name of attribute as defined with OwObjectCollection.ATTRIBUTE_...default_p - Object default value if not found
public boolean getIsComplete()
public int getCount()
public void renderNamedRegion(Writer w_p,
String strRegion_p)
throws Exception
renderNamedRegion in interface com.wewebu.ow.server.ui.OwBaseViewrenderNamedRegion in class com.wewebu.ow.server.ui.OwLayoutw_p - Writer object to write HTML tostrRegion_p - named region to render
Exception
public boolean isNamedRegion(String strRegion_p)
throws Exception
isNamedRegion in interface com.wewebu.ow.server.ui.OwBaseViewisNamedRegion in class com.wewebu.ow.server.ui.OwViewstrRegion_p - name of the region to render
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
public void onActivateObjectListView(int iNewIndex_p,
int iOldIndex_p,
com.wewebu.ow.server.dmsdialogs.views.OwObjectListView newview_p,
com.wewebu.ow.server.dmsdialogs.views.OwObjectListView oldview_p)
throws Exception
onActivateObjectListView in interface com.wewebu.ow.server.dmsdialogs.views.OwObjectListViewControl.OwObjectListViewControlEventListeneriNewIndex_p - int new view indexiOldIndex_p - int old view index or -1 if no previous viewnewview_p - OwObjectListViewoldview_p - OwObjectListView or null if no previous view
Exceptionpublic void setDocumentFunctionPluginList(List pluginList_p)
java.util.List of OwDocumentFunction to be used by this
list. This list overrides the default set of document functions that are retrieved from
the context during init.
pluginList_p - the java.util.List of OwDocumentFunction to be used by this list. Must not be null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||