[ 
http://jira.nuxeo.org/browse/NXP-2481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Olivier Grisel updated NXP-2481:
--------------------------------

    Upgrade notes: 
- Added the method boolean selectThisItem(WMWorkItemInstance ) to the 
WorkflowDocumentSecurityPolicy interface. It should tell either this work 
instance should be selected for display in the dashboard. A default method in 
AbstractWorkflowSecurityPolicy returns always true.
- Added method ResultSlice<WMWorkItemInstance> getWorkItemsFor(
            List<WMParticipant> participants, String state,
            int firstResult, int maxResults) to get paginated workinstances 
fetch

- every call to WAPI.startProcess should have 
WorkflowConstants.WORKFLOW_CREATOR set to currentUser.getName() to get the 
getWorkItemsFor methods to work correctly. This is already the case in nuxeo by 
default but might not be the case in custom workflows

A workflow should always have a variable named "author" 
(WorkflowConstants.WORKFLOW_CREATOR)

  was:
Added the method boolean selectThisItem(WMWorkItemInstance ) to the 
WorkflowDocumentSecurityPolicy interface. It should tell either this work 
instance should be selected for display in the dashboard. A default method in 
AbstractWorkflowSecurityPolicy returns always true.

A workflow should always have a variable named "author" 
(WorkflowConstants.WORKFLOW_CREATOR)

      Impact type: [API change, Content model Change]  (was: [API change])

> optimise list workflow instance in dashboard
> --------------------------------------------
>
>                 Key: NXP-2481
>                 URL: http://jira.nuxeo.org/browse/NXP-2481
>             Project: Nuxeo Enterprise Platform
>          Issue Type: Bug
>            Reporter: Alexandre Russel
>            Assignee: Alexandre Russel
>             Fix For: 5.1.6
>
>         Attachments: nuxeo-platform-webapp-core-5.1.5-SNAPSHOT.jar, 
> nuxeo-platform-workflow-api-5.1.5-SNAPSHOT.jar, 
> nuxeo-platform-workflow-core-5.1.5-SNAPSHOT.jar, 
> nuxeo-platform-workflow-jbpm-5.1.5-SNAPSHOT.jar
>
>   Original Estimate: 1 day
>  Remaining Estimate: 1 day
>
> atm, to list workflow instance for 1 user we have a number of query in the db 
> == to:
>  number of group * number of process definition * number of process instance.
> This could be done in 1 query.
> Other call needs to be checked as well

-- 
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

Reply via email to