[ 
https://jira.nuxeo.org/browse/NXCM-130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=82696#action_82696
 ] 

Alexandre Russel commented on NXCM-130:
---------------------------------------

add a isFrozen method on the route. It is frozen when the route is locked
add a Lockable adapter to the route (look at casemanagement, there is already 
one)
when a user modify a route (modify step or add/delete step) he should lock the 
route
when a method modify an element of the route it should check that the route is 
not frozen


> Method that modify a route should lock on the route
> ---------------------------------------------------
>
>                 Key: NXCM-130
>                 URL: https://jira.nuxeo.org/browse/NXCM-130
>             Project: Nuxeo Case Management
>          Issue Type: New Feature
>          Components: documentRouting-RC2
>    Affects Versions: 1.2
>            Reporter: Alexandre Russel
>             Fix For: 2.0
>
>
> All method in the service that update the route or one of its children should 
> lock the DocumentRoute and release the lock at the end.
> If the lock is already taken, don't wait, just throw a checked exception that 
> will be used by seam component to show a message
> - check method on the service
> done when thoroughly unit tested

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://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