org.yawlfoundation.yawl.swingWorklist
Class YWorklistModel

java.lang.Object
  extended by org.yawlfoundation.yawl.swingWorklist.YWorklistModel

public class YWorklistModel
extends Object

Author:
Lachlan Aldred Date: 15/05/2003 Time: 16:32:43

Constructor Summary
YWorklistModel(String userName, JFrame frame)
           
 
Method Summary
 boolean allowsDynamicInstanceCreation(String caseID, String taskID)
           
 void applyForWorkItem(String caseID, String taskID)
           
 void attemptToFinishActiveJob(String caseID, String taskID)
           
 void createNewInstance(String caseID, String taskID, String newInstanceData)
           
 YWorklistTableModel getActiveTasksModel()
           
 YWorklistTableModel getAvaliableModel()
           
 YWorklistGUI getGUI()
           
 YParameter getMIUniqueParam(String taskID)
           
 String getOutputSkeletonXML(String caseID, String taskID)
           
 String getTaskTestData(String caseID, String taskID)
          Return the XML test data for a specified task
 void refreshLists(String userName)
           
 void rollBackActiveTask(String caseID, String taskID)
           
 List validateData()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

YWorklistModel

public YWorklistModel(String userName,
                      JFrame frame)
Method Detail

applyForWorkItem

public void applyForWorkItem(String caseID,
                             String taskID)
                      throws YPersistenceException
Throws:
YPersistenceException

createNewInstance

public void createNewInstance(String caseID,
                              String taskID,
                              String newInstanceData)
                       throws YPersistenceException
Throws:
YPersistenceException

allowsDynamicInstanceCreation

public boolean allowsDynamicInstanceCreation(String caseID,
                                             String taskID)

attemptToFinishActiveJob

public void attemptToFinishActiveJob(String caseID,
                                     String taskID)

getTaskTestData

public String getTaskTestData(String caseID,
                              String taskID)
Return the XML test data for a specified task

Parameters:
caseID -
taskID -
Returns:
testData

rollBackActiveTask

public void rollBackActiveTask(String caseID,
                               String taskID)
                        throws YPersistenceException,
                               YLogException
Throws:
YPersistenceException
YLogException

refreshLists

public void refreshLists(String userName)

getAvaliableModel

public YWorklistTableModel getAvaliableModel()

getActiveTasksModel

public YWorklistTableModel getActiveTasksModel()

getOutputSkeletonXML

public String getOutputSkeletonXML(String caseID,
                                   String taskID)

validateData

public List validateData()

getMIUniqueParam

public YParameter getMIUniqueParam(String taskID)

getGUI

public YWorklistGUI getGUI()


Copyright © 2004-2012 The YAWL Foundation.