public class OwObjectEditVersionsView extends OwObjectListViewRow
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
OwObjectListViewPluginCache.OwPluginStatus, OwObjectListViewPluginCache.OwPluginStatusCachingUtilityOwObjectListView.OwFilter, OwObjectListView.OwFilterEntry, OwObjectListView.OwHtmlAlignmentMap, OwObjectListView.OwIcon, OwObjectListView.OwObjectListViewEventListner, OwObjectListView.OwPluginEntry| Modifier and Type | Field and Description |
|---|---|
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
|
m_ColumnInfoList, m_iCurrentPage, m_MainContext, m_occuredObjectTypes, m_RefreshContext, m_Sort, m_theFieldManager, m_useContextMenum_HtmlAlignments, m_isStickyFooterInUse, m_pageSelectorComponent, m_pagingNode, MULTISELECT_COMOBO_MENU_NAME, OBJECT_INDEX_KEY, PLUG_INDEX_KEY, QUERY_KEY_PAGE, SELECT_DESELECT_NONCONSECUTIVE_OBJECTS_ACTION_ID, 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_BUTTONCURRENT_MODULE_KEY, FORMULAR_PLACEHOLDER_END_DELIMITER, FORMULAR_PLACEHOLDER_START_DELIMITER, m_externalFormEventTargetTYPE_AJAX, TYPE_CHECKIN_OBJECT, TYPE_CREATE_OBJECT, TYPE_META_OBJECT, TYPE_RESULT_LIST, TYPE_SEARCH, TYPE_SMALLEMPTY_STRING| Constructor and Description |
|---|
OwObjectEditVersionsView()
construct the list view
|
| Modifier and Type | Method and Description |
|---|---|
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
|
computeEndIndex, computeStartIndex, createMimeManager, detach, getField, getFieldProviderName, getFieldProviderSource, getFieldProviderType, getFields, getHtmlAlignment, getIcon, getIsList, getIsListEmpty, getIsListValid, getIsPaging, getMimeManager, getPageAbsolutURL, getPageNextURL, getPagePrevURL, getRetrievalPropertyNames, getSafeFieldValue, getSelectedRowClassName, getSortOrderImage, getSortOrderType, getTitle, init, insertDocumentFunctionPluginHeader, insertDocumentFunctionPluginRows, isPagingEnabled, onAjaxPersistSelection, onColumnClickEvent, onContextMenuEvent, onMultiSelectEvent, onPluginEvent, onRender, onSelect, onSort, renderCheckedOut, renderExtraColumnHeader, renderExtraColumnRows, renderIndex, renderIndexHeader, renderLockedColumn, renderMainRegion, renderMimeType, renderMimeTypeHeader, renderPageSelector, renderProperties, renderPropertiesHeader, renderPropertyColumnHeader, renderRows, renderSortHeader, renderTableCaption, renderVersion, renderVersionHeader, setField, setMimeTypeContext, setObjectIterable, setObjectList, setRefreshContext, updateExternalFormTarget, usesFormWithAttributescreatePluginStatusCacheUtility, createPluginStatusCacheUtility, createPluginStatusCacheUtility, createPluginStatusCacheUtility, getPluginCache, setPluginCachecanPageNext, canPagePrev, getColumnInfo, getCurrentPage, getDisplayedPage, getFieldManager, getObjectIterable, getObjectList, getPageAbsolutEventURL, getPageCount, getPageNextEventURL, getPagePrevEventURL, getPageSize, getRefreshContext, getSort, isCollectionComplete, onClientRefreshContextUpdate, onPageAbsolut, onPageNext, onPagePrev, pageAbsolut, setColumnInfo, setFieldManager, setSortaddAjaxPersistenceService, addViewMask, clearViewMask, copy, createFilter, createFilter, createFilter, createPageSelector, getContextMenuFunction, getCount, getDocumentFunction, getDocumentFunctionPluginList, getEventListner, getFilter, getFilterOperators, getFilterSearch, getListViewID, getObjectByIndex, getParentObject, getPluginEntries, hasPaging, hasViewMask, isEmptyPluginColumnRendered, isObjectSelectionPersisted, isObjectTypeSupportedByPlugin, isShowMaximized, isStickyFooterInUse, persistAjaxTriggeredSelection, persistAjaxTriggeredSelection, persistObjectSelectionState, renderContextMenu, resetPersistedSelectionState, setConfigNode, setCurrentPage, setDocumentFunctionPluginList, setEventListner, setFilter, setParentObject, setRenderEmptyPluginColumn, setStickyFooterInUse, setViewMaskactivate, addView, getBreadcrumbPart, getDocument, getExternalFormEventTarget, getFormName, getFormTarget, getIterator, getMaximizeView, getParent, getRenderedNamedRegion, getRenderedRegion, getViewList, isFormTargetExternal, isNamedRegion, isRegion, isShowMinimized, isShowNormal, render, renderHTMLFormular, renderNamedRegion, renderRegion, serverSideDesignInclude, serverSideInclude, setDocument, setExternalFormTarget, setMaximizeView, setParent, showMaximized, showMinimized, showNormalattach, disableRequestListener, enableRequestListener, getAjaxEventURL, getContext, getEventURL, getFormEventFunction, getFormEventURL, getID, onExternalRequest, onFormEvent, onRequestclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContextgetBreadcrumbPart, isNamedRegion, isRegion, render, renderNamedRegion, renderRegionprotected OwObject m_ObjectRef
protected OwObjectCollection m_versionObjects
protected int m_iMaxListSize
protected List m_defaultColumnInfoList
protected Collection m_defaultPropertyNameList
public OwObjectEditVersionsView()
protected void onActivate(int iIndex_p,
Object oReason_p)
throws Exception
onActivate in class OwViewiIndex_p - int tab index of NavigationoReason_p - User Object which was submitted when target was attached to the navigation moduleExceptionprotected void updateVersions()
throws Exception
Exceptionpublic void setColumnProperties(Collection propertyNames_p, int iMaxListSize_p) throws Exception
Exceptionprotected void createDefaultColumnInfo(Collection propertyNames_p) throws Exception
propertyNames_p - Names of properties to display in the columnExceptionprotected String getRowClassName(int iIndex_p, OwObject obj_p)
getRowClassName in class OwObjectListViewRowiIndex_p - int row indexobj_p - current OwObjectpublic void onUpdate(OwEventTarget caller_p, int iCode_p, Object param_p) throws Exception
onUpdate in interface OwUpdateTargetonUpdate in class OwViewcaller_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 nullExceptionCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.