I did some changes to the TaskService interface:
* Added query methods by participation, i.e.
List findTasksByParticipation(String participation, UserRef user);
* Use IdentityRef (UserRef, GroupRef) where appropriate, i.e.
void assignTask(long taskDbid, UserRef user);
* changed Participant to Participation, i.e.
Participation.getType() = 'candidate'
It looks a little cumbersome in the beginning, but the distinction between user and group
references
was necessary. I.e. assignTask(long taskDbid, UserRef user) now makes clear that task can
only be assigned to users, not groups. The previous signature 'void assignTask(long
taskDbid, String id)' didn't reveil that intention.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4221993#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...