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.OwColumnInfoBagValue
OwObjectListViewPluginCache.OwPluginStatus, OwObjectListViewPluginCache.OwPluginStatusCachingUtility
OwObjectListView.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_SERVERURL
m_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_BUTTON
CURRENT_MODULE_KEY, FORMULAR_PLACEHOLDER_END_DELIMITER, FORMULAR_PLACEHOLDER_START_DELIMITER, m_externalFormEventTarget
TYPE_AJAX, TYPE_CHECKIN_OBJECT, TYPE_CREATE_OBJECT, TYPE_META_OBJECT, TYPE_RESULT_LIST, TYPE_SEARCH, TYPE_SMALL
EMPTY_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, showsContextMenuPlugin
createPluginStatusCacheUtility, createPluginStatusCacheUtility, createPluginStatusCacheUtility, createPluginStatusCacheUtility, getPluginCache, setPluginCache
canPageNext, canPagePrev, getColumnInfo, getCurrentPage, getDisplayedPage, getFieldManager, getObjectIterable, getObjectList, getPageAbsolutEventURL, getPageCount, getPageNextEventURL, getPagePrevEventURL, getPageSize, getRefreshContext, getSort, isCollectionComplete, isPagingEnabled, onClientRefreshContextUpdate, onPageAbsolut, onPageNext, onPagePrev, pageAbsolut, setFieldManager, setSort
addAjaxPersistenceService, 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, setViewMask
activate, 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, showNormal
attach, disableRequestListener, enableRequestListener, getAjaxEventURL, getContext, getEventURL, getFormEventFunction, getFormEventURL, getID, onExternalRequest, onFormEvent, onRequest, updateExternalFormTarget
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getContext
getBreadcrumbPart, isNamedRegion, isRegion, render, renderNamedRegion, renderRegion
public 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 OwObjectListView
filter_p
- an OwObjectListView.OwFilter
public void onEditFilter(javax.servlet.http.HttpServletRequest request_p) throws Exception
Exception
public void onSetFilterValue(javax.servlet.http.HttpServletRequest request_p) throws Exception
Exception
public void onChangeFilterOperator(javax.servlet.http.HttpServletRequest request_p) throws Exception
Exception
public void onEnableFilter(javax.servlet.http.HttpServletRequest request_p) throws Exception
Exception
protected void activateNextFilter()
protected void renderMainRegion(Writer w_p) throws Exception
renderMainRegion
in class OwObjectListViewEXTJSGrid
w_p
- Writer to write toException
public OwObjectListView.OwFilterEntry getCurrentFilter()
public String getEnableFilterURL()
public String getSetFilterValueURL()
public String getChangeFilterOperatorURL()
public String getTitle()
getTitle
in interface OwBaseView
getTitle
in class OwObjectListViewEXTJSGrid
public String getIcon() throws Exception
getIcon
in class OwObjectListViewEXTJSGrid
Exception
protected String usesFormWithAttributes()
usesFormWithAttributes
in class OwView
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.