Whats the purpose of the Renderizable and RendererProvider interface?

21 views
Skip to first unread message

Marian Buenosayres

unread,
Mar 10, 2011, 9:26:00 AM3/10/11
to smart-tasks
Been checking the code of the smart-tasks-model project and was
curious of the purpose of these two clases.

Mauricio Salatino

unread,
Mar 10, 2011, 9:38:48 AM3/10/11
to smart...@googlegroups.com, Marian Buenosayres
That were old classes that we use to render the results for the API stuffs. Now all the UI related things are inside the UI-Helper project.
Can you guys helps us to continue the implementation of the client wrappers?
Let us know if you want to helps is with that..
Greetings.


On Thu, Mar 10, 2011 at 11:26 AM, Marian Buenosayres <marianbu...@gmail.com> wrote:
Been checking the code of the smart-tasks-model project and was
curious of the purpose of these two clases.



--
 - CTO @ http://www.plugtree.com 
 - MyJourney @ http://salaboy.wordpress.com
 - Co-Founder @ http://www.jbug.com.ar
 
 - Salatino "Salaboy" Mauricio -

Mauricio Salatino

unread,
Mar 10, 2011, 10:08:09 AM3/10/11
to Mariano De Maio, smart...@googlegroups.com
ok, sure.. we can set up a meeting for defining a roadmap. The are a couple of things that we need to complete before starting to write documentation. Most of the code that we need to write now it's just to wrap existing behavior. TaskOperations objects needs to be fully implemented and the difference with jBPM5 is almost nothing. With a little knowledge about jBPM5 we can complete the wrappers and move on to create a roadmap including the features that we are developing right now.
What do you think about reviewing the TaskOperations implementations for jBPM5 and Activiti?
If sounds to much I can create a document about that. Implementing the missing code there will give you a deeper vision about how frameworks handle the interaction with human tasks.

Greetings.

On Thu, Mar 10, 2011 at 11:53 AM, Mariano De Maio <marianbu...@gmail.com> wrote:
Es medio dificil ayudarlos con la implementación sin antes juntarnos para definir un roadmap. La documentación todavía es muy escasa para guiarnos sin eso. Les parece de organizar una reunion?

It's hard to tell how we could help you when the documentation is so scarse and we still haven't defined a clear roadmap.

Mariano De Maio

unread,
Mar 10, 2011, 10:18:31 AM3/10/11
to Mauricio Salatino, smart...@googlegroups.com
As you know, Activiti is not my strong point. I could help with the JBPM5 implementation, provided i can get at least some documentation on the TaskOperations interface. I need thtat to know what the currently unsupported methods' purpose really is before trying to implement them.

Mauricio Salatino

unread,
Mar 10, 2011, 10:30:25 AM3/10/11
to smart...@googlegroups.com, Mariano De Maio
All the methods should be supported.. most of them should be simple redirections from the TaskOperation(WS-HT spec) to the drools/jbpm5 interfaces.
You can start with simple ones if you want..
https://github.com/Salaboy/smart-tasks/blob/master/smart-tasks-jbpm5-impl/src/main/java/com/wordpress/salaboy/smarttasks/jbpm5wrapper/JBPM5HumanTaskServiceOperations.java

All the unsupported methods should be supported in one way or another.
Do you want a prioritized list of methods to implement?
public List<TTask> getMyTasks(String taskType, String genericHumanRole, String workQueue, List<TStatus> status, String whereClause, String orderByClause, String createdOnClause, Integer maxTasks, Integer fromTaskNumber) throws IllegalArgumentFault, IllegalStateFault {    
public void addComment(String identifier, String text) throws IllegalArgumentFault, IllegalStateFault, IllegalAccessFault {
public void remove(String identifier) throws IllegalArgumentFault, IllegalAccessFault {
public TTaskQueryResultSet query(String selectClause, String whereClause, String orderByClause, Integer maxTasks, Integer taskIndexOffset) throws IllegalArgumentFault, IllegalStateFault {
public void deleteAttachments(String identifier, String attachmentName) throws IllegalArgumentFault, IllegalStateFault, IllegalAccessFault {
 
That methods sounds interesting to make first.
Greetings.

Mariano De Maio

unread,
Mar 10, 2011, 10:58:18 AM3/10/11
to Mauricio Salatino, smart...@googlegroups.com
getMyTasks and query will need an extension of JBPM5 implementation to be properly done. I can take care of the rest though.

Mariano De Maio

unread,
Mar 10, 2011, 11:02:37 AM3/10/11
to Mauricio Salatino, smart...@googlegroups.com
Also, remove seems to need an extension.

Mauricio Salatino

unread,
Mar 10, 2011, 11:08:36 AM3/10/11
to Mariano De Maio, smart...@googlegroups.com
exactly, we need to take care about that extensions in both sides.. we need to find out how to implement that methods better inside smart tasks and what extensions are needed inside jbpm5. We can start simple, but for real usage we need to know the best approach.
Reply all
Reply to author
Forward
0 new messages