[ http://jira.nuxeo.org/browse/NXP-381?page=all ]
Andreas Kalogeropoulos resolved NXP-381.
----------------------------------------
Resolution: Fixed
Is anything else needed? Open new issues if it small enhacements...
Here is the javadoc
/**
* This class(DAtaqUeryActionsBean) is used to Save and Retrieving result of
queries and formated
* tables It is based on based on <code>LinkedHashMap</code>.Therefore there
* is a LRUCache enabled.<br>
*
* This means, if too much elements are saved, only the most used(retrieved)
* will be accesible.<br>
*
* This Class use the dataQueryService that uses two plugins : <br>
*
* QueryPlugin :<br>
* Used to access rapidly common querys. You can define params with '?', you can
* define a max elements return, and the time that it can be accessed(in
* seconds)<br>
*
* DisplayPlugin : Used to define easily a DocModelTableModel You can define the
* time it can be accessed (in seconds).
* Use at least one second otherwise the actual model of JSF/xhtml
* will call the table(and therefore teh query too many times)<br>
*
* and columns :<br>
* -id is mandatory,<br>
* -labe is the headerof the column,<br>
* -property is is the "schema:property" string that you want to acess <br>
* -type : icon if your property is an icon,
* date if your property is a date,
* firstList if your property is a list
* location if you want to retrieve the path of the doc
* slection if you want to render a selection box<br>
* -format : (light) for location if you want a short path
* a String defining the format of the date if you are retrieving a
Date <br>
* /
> make the SearchActionBean able to store and render several parameterised NXQL
> queries
> -------------------------------------------------------------------------------------
>
> Key: NXP-381
> URL: http://jira.nuxeo.org/browse/NXP-381
> Project: Nuxeo Enterprise Platform 5
> Issue Type: Improvement
> Security Level: External(All people)
> Components: Web UI, Web Foundations, Query / Search
> Reporter: Olivier Grisel
> Assigned To: Andreas Kalogeropoulos
> Priority: Major
> Fix For: 5.1 M1
>
> Original Estimate: 1 day
> Remaining Estimate: 1 day
>
> Currently the results are stored in the searchResults variable which is
> shared for all requests (currently those entered through the search form and
> the last modified query of the WorkspaceActionsBean).
> Enhancement: make it possible to register named queries such as the following:
> - DOMAIN_DOCUMENTS (last modified documents of the current domain)
> - MY_DOCUMENTS (last modified documents I am a contributor of)
> - WORKSPACES (All workspace I have the right to browse)
> The named queries can then be called through JSF easily and reused in the
> dashboard,
> Enhancement #2: make a search fragment (like the former content portlet) that
> displays the rendering of a stored query.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets