|
||||||||||
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.plug.owshortcut.OwSavedSearchesView
public class OwSavedSearchesView
Saved Searches View.
View that displays and executes saved searches.
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 | |
---|---|
class |
OwSavedSearchesView.OwSortableColumn
Define sortable column |
Field Summary |
---|
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 | |
---|---|
OwSavedSearchesView()
|
Method Summary | |
---|---|
void |
defaultSort(Comparator defaultComparator_p,
int sortOrder_p)
Sort stored saved search templates using default sort criteria |
protected String |
getDeleteIcon()
get the URL to the favorites delete icon |
protected Map |
getRepositories()
create a map of repositories that can be searched |
protected Collection |
getSearchTemplates()
Get available search templates |
protected String |
getSortOrderImage(int sortInfo_p)
gets the path to the sort order image, which designates the current sort order of the specified column |
protected String |
getSortOrderType(int sortInfo_p)
|
protected void |
init()
Initialization after target has set |
void |
onDeleteSearch(javax.servlet.http.HttpServletRequest request_p)
Delete current saved search |
void |
onExecute(javax.servlet.http.HttpServletRequest request_p)
Execute current search |
protected void |
onRender(Writer w_p)
render the view |
void |
onSort(javax.servlet.http.HttpServletRequest request_p)
Execute sort by column |
Methods inherited from class com.wewebu.ow.server.ui.OwView |
---|
activate, addView, detach, getBreadcrumbPart, getDocument, getExternalFormEventTarget, getFormName, getFormTarget, getIcon, getIterator, getMaximizeView, getParent, getRenderedNamedRegion, getRenderedRegion, getTitle, getViewList, isFormTargetExternal, isNamedRegion, isRegion, isShowMaximized, isShowMinimized, isShowNormal, onActivate, onUpdate, render, renderHTMLFormular, renderNamedRegion, renderRegion, 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 |
Constructor Detail |
---|
public OwSavedSearchesView()
Method Detail |
---|
protected void init() throws Exception
init
in class com.wewebu.ow.server.ui.OwView
Exception
protected void onRender(Writer w_p) throws Exception
onRender
in class com.wewebu.ow.server.ui.OwView
w_p
- Writer object to write HTML to
Exception
protected String getDeleteIcon() throws Exception
Exception
public void onDeleteSearch(javax.servlet.http.HttpServletRequest request_p) throws Exception
request_p
-
Exception
public void onExecute(javax.servlet.http.HttpServletRequest request_p) throws Exception
request_p
-
Exception
protected String getSortOrderType(int sortInfo_p) throws Exception
Exception
protected String getSortOrderImage(int sortInfo_p) throws Exception
Exception
public void onSort(javax.servlet.http.HttpServletRequest request_p) throws Exception
request_p
- HttpServletRequest request
Exception
public void defaultSort(Comparator defaultComparator_p, int sortOrder_p)
defaultComparator_p
- sortOrder_p
- protected Collection getSearchTemplates() throws Exception
Exception
protected Map getRepositories()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |