public class OwObjectListViewFilterEXTJSGrid extends OwObjectListViewEXTJSGrid
ExtJS Object list view. Displays the results of searches with Ajax technologies.
In addition displays filter boxes to created filter search nodes.
Use setObjectList and setColumnInfo to set the objects and columns to display.
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
OwObjectListViewEXTJSGrid.OwAjaxColumnEntry, OwObjectListViewEXTJSGrid.OwColumnInfoBagValueOwObjectListViewPluginCache.OwPluginStatus, OwObjectListViewPluginCache.OwPluginStatusCachingUtilityOwObjectListView.OwFilter, OwObjectListView.OwFilterEntry, OwObjectListView.OwHtmlAlignmentMap, OwObjectListView.OwIcon, OwObjectListView.OwObjectListViewEventListner, OwObjectListView.OwPluginEntry| Modifier and Type | Field and Description |
|---|---|
static String |
FILTER_OPERATOR_SELECT_ID |
protected OwObjectListView.OwFilterEntry |
m_currentfilter
currently editable filter
|
AJAX_PARAM_COLUMN, AJAX_PARAM_ROW, COLUMNS_ID_ATTR_BAG, DATATYPE_BOOLEAN, DATATYPE_DATE, DATATYPE_DOUBLE, DATATYPE_ENUM, DATATYPE_INTEGER, DATATYPE_NOTE, DATATYPE_STRING, DATATYPE_UNKNOWN, DEFAULT_COLUMN_WIDTH, END_ACTION_ID, FIRST_PAGE_ACTION_ID, ICON_WIDTH, LAST_PAGE_ACTION_ID, m_AjaxColnameToPropertyMap, m_FieldManager, m_isNoteEditable, m_ObjectList, m_useTransparentIcon, MAX_COLUMN_WIDTH, MIN_COLUMN_WIDTH, OBJECT_INDEX_KEY, occuringObjectTypes, PLUG_INDEX_KEY, pluginCacheCreated, POS1_ACTION_ID, READ_ONLY_COLUMNS_NODE_NAME, SPECIAL_CHARS, TOOLTIP_BLOCK_TOKEN_PROPERTY_END, TOOLTIP_BLOCK_TOKEN_PROPERTY_END_CHAR, TOOLTIP_BLOCK_TOKEN_PROPERTY_START, VIEWER_SERVLET_REPLACE_TOKEN_BASEURL, VIEWER_SERVLET_REPLACE_TOKEN_DMSID, VIEWER_SERVLET_REPLACE_TOKEN_PROPERTY_ENCODE_CHAR, VIEWER_SERVLET_REPLACE_TOKEN_PROPERTY_END, VIEWER_SERVLET_REPLACE_TOKEN_PROPERTY_JSENCODE_CHAR, VIEWER_SERVLET_REPLACE_TOKEN_PROPERTY_NOENCODE_CHAR, VIEWER_SERVLET_REPLACE_TOKEN_PROPERTY_START, VIEWER_SERVLET_REPLACE_TOKEN_SERVERURLm_HtmlAlignments, m_isStickyFooterInUse, m_pageSelectorComponent, m_pagingNode, MULTISELECT_COMOBO_MENU_NAME, 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 |
|---|
OwObjectListViewFilterEXTJSGrid()
construct a object list view
|
OwObjectListViewFilterEXTJSGrid(int iViewMask_p)
construct a object list view
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
activateNextFilter()
activate (show) the next active filter
|
String |
getChangeFilterOperatorURL() |
OwObjectListView.OwFilterEntry |
getCurrentFilter() |
String |
getEnableFilterURL() |
String |
getIcon()
get the icon URL for this view to be displayed
|
String |
getSetFilterValueURL() |
String |
getTitle()
overridable title of the view
|
void |
onChangeFilterOperator(javax.servlet.http.HttpServletRequest request_p)
called when user changes a filter operator
|
void |
onEditFilter(javax.servlet.http.HttpServletRequest request_p)
called when user clicks on a filter icon
|
void |
onEnableFilter(javax.servlet.http.HttpServletRequest request_p)
called when user clicks on a filter enable button
|
void |
onSetFilterValue(javax.servlet.http.HttpServletRequest request_p)
called when user clicks on a filter value button
|
protected void |
renderMainRegion(Writer w_p)
(overridable) render the JSP page
|
void |
setFilter(OwObjectListView.OwFilter filter_p)
set the filter to be used
|
protected String |
usesFormWithAttributes()
to get additional form attributes used for the form
override if your view needs a form.
|
computeEndIndex, convertDateFormat, createMimeManager, detach, encodeJsonString, getAjaxColumns, getColumnDataType, getDateFormat, getDateInTransportFormat, getDecimalSeparator, getDefaultActionString, getDocumentInstanceFunctionPluginLinks, getEncodedPropertyValue, getField, getFieldProviderName, getFieldProviderSource, getFieldProviderType, getFields, getLoadingMessage, getLockedStateIcon, getMimeManager, getObjectInstancePluginList, getReadOnlyColumns, getRetrievalPropertyNames, getRowClassName, getSafeFieldValue, getShowPaging, getStartRow, getToolTipPattern, getTooltipUrl, getVersionRepresentation, getVersionStateIcon, hasToolTipPattern, init, isConfiguredAsReadOnly, isMultiSelectionEnabled, isNoteEditable, isNoteProperty, isPhpSpecialChar, isPropertyEditable, onAjaxgetColumnInfo, onAjaxgetContextmenu, onAjaxgetEnumInfo, onAjaxPersistSelection, onAjaxReadList, onAjaxsetCellData, onAjaxsetColumnInfo, onPluginEvent, onRender, processOccurred, processSortDefinition, setColumnInfo, setConfigNode, setField, setNoteEditable, setObjectIterable, setObjectList, setRefreshContext, showsContextMenuPlugincreatePluginStatusCacheUtility, createPluginStatusCacheUtility, createPluginStatusCacheUtility, createPluginStatusCacheUtility, getPluginCache, setPluginCachecanPageNext, canPagePrev, getColumnInfo, getCurrentPage, getDisplayedPage, getFieldManager, getObjectIterable, getObjectList, getPageAbsolutEventURL, getPageCount, getPageNextEventURL, getPagePrevEventURL, getPageSize, getRefreshContext, getSort, isCollectionComplete, isPagingEnabled, onClientRefreshContextUpdate, onPageAbsolut, onPageNext, onPagePrev, pageAbsolut, 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, setCurrentPage, setDocumentFunctionPluginList, setEventListner, setParentObject, setRenderEmptyPluginColumn, setStickyFooterInUse, setViewMaskactivate, addView, getBreadcrumbPart, getDocument, getExternalFormEventTarget, getFormName, getFormTarget, getIterator, getMaximizeView, getParent, getRenderedNamedRegion, getRenderedRegion, getViewList, isFormTargetExternal, isNamedRegion, isRegion, isShowMinimized, isShowNormal, onActivate, onUpdate, render, renderHTMLFormular, renderNamedRegion, renderRegion, serverSideDesignInclude, serverSideInclude, setDocument, setExternalFormTarget, setMaximizeView, setParent, showMaximized, showMinimized, showNormalattach, disableRequestListener, enableRequestListener, getAjaxEventURL, getContext, getEventURL, getFormEventFunction, getFormEventURL, getID, onExternalRequest, onFormEvent, onRequest, updateExternalFormTargetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContextgetBreadcrumbPart, isNamedRegion, isRegion, render, renderNamedRegion, renderRegionpublic static final String FILTER_OPERATOR_SELECT_ID
protected OwObjectListView.OwFilterEntry m_currentfilter
public OwObjectListViewFilterEXTJSGrid(int iViewMask_p)
iViewMask_p - int combination of VIEW_MASK_... defined flagspublic OwObjectListViewFilterEXTJSGrid()
public void setFilter(OwObjectListView.OwFilter filter_p)
setFilter in class OwObjectListViewfilter_p - an OwObjectListView.OwFilterpublic void onEditFilter(javax.servlet.http.HttpServletRequest request_p)
throws Exception
Exceptionpublic void onSetFilterValue(javax.servlet.http.HttpServletRequest request_p)
throws Exception
Exceptionpublic void onChangeFilterOperator(javax.servlet.http.HttpServletRequest request_p)
throws Exception
Exceptionpublic void onEnableFilter(javax.servlet.http.HttpServletRequest request_p)
throws Exception
Exceptionprotected void activateNextFilter()
protected void renderMainRegion(Writer w_p) throws Exception
renderMainRegion in class OwObjectListViewEXTJSGridw_p - Writer to write toExceptionpublic OwObjectListView.OwFilterEntry getCurrentFilter()
public String getEnableFilterURL()
public String getSetFilterValueURL()
public String getChangeFilterOperatorURL()
public String getTitle()
getTitle in interface OwBaseViewgetTitle in class OwObjectListViewEXTJSGridpublic String getIcon() throws Exception
getIcon in class OwObjectListViewEXTJSGridExceptionprotected String usesFormWithAttributes()
usesFormWithAttributes in class OwViewCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.