|
||||||||||
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.dmsdialogs.views.OwObjectListView
com.wewebu.ow.server.dmsdialogs.views.OwObjectListViewPluginCache
com.wewebu.ow.server.dmsdialogs.views.OwObjectListViewRow
com.wewebu.ow.server.dmsdialogs.views.OwObjectEditVersionsView
public class OwObjectEditVersionsView
Versions view to display the versions of a OwObject. Uses the OwObjectListView
.
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.dmsdialogs.views.OwObjectListViewPluginCache |
---|
OwObjectListViewPluginCache.OwPluginStatus, OwObjectListViewPluginCache.OwPluginStatusCachingUtility |
Nested classes/interfaces inherited from class com.wewebu.ow.server.dmsdialogs.views.OwObjectListView |
---|
OwObjectListView.OwFilter, OwObjectListView.OwFilterEntry, OwObjectListView.OwHtmlAlignmentMap, OwObjectListView.OwIcon, OwObjectListView.OwObjectListViewEventListner, OwObjectListView.OwPluginEntry |
Field Summary | |
---|---|
protected List |
m_defaultColumnInfoList
default column info list if no column info is found in folder object |
protected Collection |
m_defaultPropertyNameList
default property list if no column info is found in folder object |
protected int |
m_iMaxListSize
max number of versions to retrieve |
protected OwObject |
m_ObjectRef
object reference to display versions |
protected OwObjectCollection |
m_versionObjects
object cache with version objects |
Fields inherited from class com.wewebu.ow.server.dmsdialogs.views.OwObjectListViewRow |
---|
m_ColumnInfoList, m_iCurrentPage, m_MainContext, m_occuredObjectTypes, m_RefreshContext, m_Sort, m_theFieldManager, m_useContextMenu |
Fields inherited from class com.wewebu.ow.server.dmsdialogs.views.OwObjectListView |
---|
m_HtmlAlignments, m_isStickyFooterInUse, m_pageSelectorComponent, m_pagingNode, MULTISELECT_COMOBO_MENU_NAME, OBJECT_INDEX_KEY, PLUG_INDEX_KEY, QUERY_KEY_PAGE, SORT_PROPERTY_KEY, VIEW_MASK_INLINE_EDITING, VIEW_MASK_INSTANCE_PLUGINS, VIEW_MASK_MULTI_SELECTION, VIEW_MASK_NO_PAGE_BUTTONS, VIEW_MASK_SINGLE_SELECTION, VIEW_MASK_USE_DOCUMENT_PLUGINS, VIEW_MASK_USE_SELECT_BUTTON |
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.field.OwFieldProvider |
---|
TYPE_AJAX, TYPE_CHECKIN_OBJECT, TYPE_CREATE_OBJECT, TYPE_META_OBJECT, TYPE_RESULT_LIST, TYPE_SEARCH, TYPE_SMALL |
Fields inherited from interface com.wewebu.ow.server.ui.OwBaseView |
---|
EMPTY_STRING |
Constructor Summary | |
---|---|
OwObjectEditVersionsView()
construct the list view |
Method Summary | |
---|---|
protected void |
createDefaultColumnInfo(Collection propertyNames_p)
create the default column info for the versions view |
protected String |
getRowClassName(int iIndex_p,
OwObject obj_p)
overridable get the style class name for the row |
protected void |
onActivate(int iIndex_p,
Object oReason_p)
activate the target from a navigation module. |
void |
onUpdate(OwEventTarget caller_p,
int iCode_p,
Object param_p)
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. |
void |
setColumnProperties(Collection propertyNames_p,
int iMaxListSize_p)
|
void |
setObjectRef(OwObject objectRef_p)
|
protected void |
updateVersions()
get the versions from the object and set the object list of the parent ObjectListView |
Methods inherited from class com.wewebu.ow.server.dmsdialogs.views.OwObjectListViewPluginCache |
---|
createPluginStatusCacheUtility, createPluginStatusCacheUtility, getPluginCache, setPluginCache |
Methods inherited from class com.wewebu.ow.server.ui.OwView |
---|
activate, addView, getBreadcrumbPart, getDocument, getExternalFormEventTarget, getFormName, getFormTarget, getIterator, getMaximizeView, getParent, getRenderedNamedRegion, getRenderedRegion, getViewList, isFormTargetExternal, isNamedRegion, isRegion, isShowMaximized, isShowMinimized, isShowNormal, render, renderHTMLFormular, renderNamedRegion, renderRegion, serverSideDesignInclude, serverSideInclude, setDocument, setExternalFormTarget, setMaximizeView, setParent, showMaximized, showMinimized, showNormal |
Methods inherited from class com.wewebu.ow.server.ui.OwEventTarget |
---|
attach, disableRequestListener, enableRequestListener, getAjaxEventURL, getContext, getEventURL, getFormEventFunction, getFormEventURL, getID, onExternalRequest, onFormEvent, onRequest |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.wewebu.ow.server.dmsdialogs.views.OwPageableView |
---|
getContext |
Methods inherited from interface com.wewebu.ow.server.ui.OwBaseView |
---|
getBreadcrumbPart, isNamedRegion, isRegion, render, renderNamedRegion, renderRegion |
Field Detail |
---|
protected OwObject m_ObjectRef
protected OwObjectCollection m_versionObjects
protected int m_iMaxListSize
protected List m_defaultColumnInfoList
protected Collection m_defaultPropertyNameList
Constructor Detail |
---|
public OwObjectEditVersionsView()
Method Detail |
---|
protected void onActivate(int iIndex_p, Object oReason_p) throws Exception
onActivate
in class OwView
iIndex_p
- int tab index of NavigationoReason_p
- User Object which was submitted when target was attached to the navigation module
Exception
protected void updateVersions() throws Exception
Exception
public void setObjectRef(OwObject objectRef_p) throws Exception
Exception
public void setColumnProperties(Collection propertyNames_p, int iMaxListSize_p) throws Exception
Exception
protected void createDefaultColumnInfo(Collection propertyNames_p) throws Exception
propertyNames_p
- Names of properties to display in the column
Exception
protected String getRowClassName(int iIndex_p, OwObject obj_p)
getRowClassName
in class OwObjectListViewRow
iIndex_p
- int row indexobj_p
- current OwObject
public void onUpdate(OwEventTarget caller_p, int iCode_p, Object param_p) throws Exception
onUpdate
in interface OwUpdateTarget
onUpdate
in class OwView
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
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |