Java Doc for DODSPersistentManager.java in  » Workflow-Engines » shark » org » enhydra » shark » instancepersistence » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Workflow Engines » shark » org.enhydra.shark.instancepersistence 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.enhydra.shark.instancepersistence.DODSPersistentManager

DODSPersistentManager
public class DODSPersistentManager implements PersistentManagerInterface(Code)
Used to save, restore or delete relevant engine objects from database, using DODS persistent layer.
author:
   Sasa Bojanic
version:
   1.2


Field Summary
final protected static  shortDB_TYPE_BLOB
    
final protected static  shortDB_TYPE_BOOLEAN
    
final protected static  shortDB_TYPE_DATE
    
final protected static  shortDB_TYPE_DOUBLE
    
final protected static  shortDB_TYPE_LONG
    
final protected static  shortDB_TYPE_VCHAR
    
final protected static  shortDB_TYPE_XML
    
final protected static  StringLOG_CHANNEL
    
final protected static  intMAX_VCHAR_SIZE_LIMIT
    
protected  Map_acStates
    
protected  List_actClosedStatesBigDecimals
    
protected  List_actOpenStatesBigDecimals
    
protected  List_prClosedStatesBigDecimals
    
protected  List_prOpenStatesBigDecimals
    
protected  Map_prStates
    
protected  CallbackUtilitiescus
    
protected  LogicalDatabasedb
    
protected  booleandeleteFinishedProcesses
    
protected static  intmax_vchar_size
    
protected  booleanstoreArraysAsBLOBs
    
protected  booleanusingStandardVariableDataModel
    


Method Summary
protected  DBTransaction__getDBTransaction()
    
protected  booleancanDeleteFinishedProcess(WMSessionHandle shandle, String procId)
    
public  voidconfigure(CallbackUtilities cut)
    
public  voiddelete(WMSessionHandle shandle, ProcessVariablePersistenceObject var)
    
public  voiddelete(WMSessionHandle shandle, ActivityVariablePersistenceObject var)
    
public  voiddeleteActivity(WMSessionHandle shandle, String procId, String actId)
    
public  voiddeleteAndJoinEntries(WMSessionHandle shandle, String procId, String blockActId, String aDefId)
    
public  voiddeleteAssignment(WMSessionHandle shandle, String procId, String actId, String resUsername)
    
public  voiddeleteDeadlines(WMSessionHandle shandle, String procId)
    
public  voiddeleteDeadlines(WMSessionHandle shandle, String procId, String actId)
    
public  ListdeleteProcess(WMSessionHandle shandle, String procId, boolean administrative)
    
public  voiddeleteProcessMgr(WMSessionHandle shandle, String mgrName)
    
public  voiddeleteResource(WMSessionHandle shandle, String resUsername)
    
public  ListgetActivitiesForProcess(WMSessionHandle shandle, String procId, String actState)
    
protected  DeadlineDO[]getActivitiesPersistedDeadlines(String actId, long timeLimitBoundary)
    
public  ListgetActivitiesWhere(WMSessionHandle shandle, String sqlWhere, int startAt, int limit)
    
protected  ObjectgetActivityDataValue(WMSessionHandle shandle, ActivityDataDO DO)
    
protected  ObjectgetActivityDataValue(WMSessionHandle shandle, ActivityDataWOBDO DO)
    
public  ListgetActivityVariables(WMSessionHandle shandle, String procId, String actId, List variableIds)
    
public  ListgetAllActiveActivitiesForProcess(WMSessionHandle shandle, String procId)
    
public  ListgetAllActivities(WMSessionHandle shandle)
    
public  ListgetAllActivitiesForProcess(WMSessionHandle shandle, String procId)
    
public  ListgetAllAssignments(WMSessionHandle shandle)
    
public  ListgetAllAssignmentsForActivity(WMSessionHandle shandle, String procId, String actId)
     Returns all assignments that are ever created for that activity, no matter if activity is already in "closed" state or some of its sub-states.
public  ListgetAllAssignmentsForResource(WMSessionHandle shandle, String resUsername)
     Returns all assignments for the resource, no matter if its activity is in "closed" state (or some of its sub-states).
public  ListgetAllDeadlinesForActivity(WMSessionHandle shandle, String procId, String actId)
    
public  ListgetAllDeadlinesForActivity(WMSessionHandle shandle, String procId, String actId, long timeLimitBoundary)
    
public  ListgetAllDeadlinesForProcess(WMSessionHandle shandle, String procId)
    
public  ListgetAllDeadlinesForProcess(WMSessionHandle shandle, String procId, long timeLimitBoundary)
    
public  ListgetAllFinishedActivitiesForProcess(WMSessionHandle shandle, String procId)
    
public  ListgetAllFinishedProcesses(WMSessionHandle shandle)
    
public  ListgetAllIdsForProcessesWithExpiriedDeadlines(WMSessionHandle shandle, long timeLimitBoundary)
    
protected  AssignmentDO[]getAllPersistedAssignments(String sqlWhere, int startAt, int limit)
    
protected  ProcessDefinitionDO[]getAllPersistedProcessMgrs(String where, int startAt, int limit)
    
protected  ResourceDO[]getAllPersistedResources(String sqlWhere, int startAt, int limit)
    
public  ListgetAllProcessMgrs(WMSessionHandle shandle)
    
public  ListgetAllProcesses(WMSessionHandle shandle)
    
public  ListgetAllProcessesForMgr(WMSessionHandle shandle, String mgrName)
    
public  ListgetAllResources(WMSessionHandle shandle)
    
public  ListgetAllRunningProcesses(WMSessionHandle shandle)
    
public  ListgetAllValidAssignmentsForActivity(WMSessionHandle shandle, String procId, String actId)
     If activity is in "closed" state, or some of its sub-states, returns an empty list, otherwise it returns either all assignments that are ever created for that activity if activity is not accepted, or just the assignment for the resource that accepted activity.
public  ListgetAllValidAssignmentsForResource(WMSessionHandle shandle, String resUsername)
     Returns only the assignments that can be currently executed by the resource with a given username.
public  ListgetAllVariablesForActivity(WMSessionHandle shandle, String procId, String actId)
    
protected  ListgetAllVariablesForActivityBLOB(WMSessionHandle shandle, String actId)
    
protected  ListgetAllVariablesForActivityWOB(WMSessionHandle shandle, String actId)
    
public  ListgetAllVariablesForProcess(WMSessionHandle shandle, String procId)
    
protected  ListgetAllVariablesForProcessBLOB(WMSessionHandle shandle, String procId)
    
protected  ListgetAllVariablesForProcessWOB(WMSessionHandle shandle, String procId)
    
public  ListgetAndJoinEntries(WMSessionHandle shandle, String procId, String blockActId, String aDefId)
    
public  ListgetAssignmentsWhere(WMSessionHandle shandle, String sqlWhere, int startAt, int limit)
    
public  intgetExecuteCount(WMSessionHandle shandle, String procId, String aDefId)
    
public  BigDecimalgetNextDecId(String idName)
    
public  StringgetNextId(String idName)
    
protected  ActivityDO[]getPersistedActivities(int type, ProcessDO pDO, String sqlWhere, int startAt, int limit)
    
protected  ActivityDOgetPersistedActivityObject(String actId)
    
protected  ActivityStateDOgetPersistedActivityStateObject(String value, boolean searchByKeyValue, DBTransaction ti)
    
protected  ActivityDataBLOBDOgetPersistedActivityVariableBLOBObject(ActivityDataWOBDO adDO)
    
protected  ActivityDataDOgetPersistedActivityVariableObject(String actId, String defId)
    
protected  ActivityDataWOBDOgetPersistedActivityVariableObject2(String actId, String defId)
    
protected  ActivityDataDO[]getPersistedActivityVariableObjects(String actId, String defId)
    
protected  ActivityDataWOBDO[]getPersistedActivityVariableObjects2(String procId, String defId)
    
protected  AndJoinEntryDO[]getPersistedAndJoinEntries(String procId, String blockActId, String aDefId)
    
protected  AssignmentDOgetPersistedAssignmentObject(String actId, String username)
    
protected  DeadlineDOgetPersistedDeadlineObject(String uniqueId)
    
protected  DeadlineDO[]getPersistedDeadlines(String procId, long timeLimitBoundary)
    
protected  ProcessDefinitionDOgetPersistedObject(ProcessMgrPersistenceObject mgr)
    
protected  ProcessDOgetPersistedObject(ProcessPersistenceObject proc)
    
protected  ActivityDOgetPersistedObject(ActivityPersistenceObject act)
    
protected  ResourceDOgetPersistedObject(ResourcePersistenceObject res)
    
protected  AssignmentDOgetPersistedObject(AssignmentPersistenceObject ass)
    
protected  DeadlineDOgetPersistedObject(DeadlinePersistenceObject dpe)
    
protected  ProcessDataDOgetPersistedObject(ProcessVariablePersistenceObject var)
    
protected  ProcessDataBLOBDOgetPersistedObject(ProcessDataWOBDO pdDO)
    
protected  ActivityDataDOgetPersistedObject(ActivityVariablePersistenceObject var)
    
protected  ActivityDataBLOBDOgetPersistedObject(ActivityDataWOBDO adDO)
    
protected  ProcessDataWOBDOgetPersistedObject2(ProcessVariablePersistenceObject var)
    
protected  ActivityDataWOBDOgetPersistedObject2(ActivityVariablePersistenceObject var)
    
protected  ProcessDataDO[]getPersistedObjects(ProcessVariablePersistenceObject var)
    
protected  ActivityDataDO[]getPersistedObjects(ActivityVariablePersistenceObject var)
    
protected  ProcessDataWOBDO[]getPersistedObjects2(ProcessVariablePersistenceObject var)
    
protected  ActivityDataWOBDO[]getPersistedObjects2(ActivityVariablePersistenceObject var)
    
protected  ProcessDefinitionDOgetPersistedProcessMgrObject(String name)
    
protected  ProcessDOgetPersistedProcessObject(String procId)
    
protected  ProcessStateDOgetPersistedProcessStateObject(String value, boolean searchByKeyValue, DBTransaction ti)
    
protected  ProcessDataBLOBDOgetPersistedProcessVariableBLOBObject(ProcessDataWOBDO pdDO)
    
protected  ProcessDataDOgetPersistedProcessVariableObject(String procId, String defId)
    
protected  ProcessDataWOBDOgetPersistedProcessVariableObject2(String procId, String defId)
    
protected  ProcessDataDO[]getPersistedProcessVariableObjects(String procId, String defId)
    
protected  ProcessDataWOBDO[]getPersistedProcessVariableObjects2(String procId, String defId)
    
protected  ProcessDO[]getPersistedProcesses(int type, String sqlWhere, int startAt, int limit)
    
protected  ProcessRequesterDOgetPersistedRequesterObject(String procId)
    
protected  ResourceDOgetPersistedResourceObject(String username)
    
protected  ObjectgetProcessDataValue(WMSessionHandle shandle, ProcessDataDO DO)
    
protected  ObjectgetProcessDataValue(WMSessionHandle shandle, ProcessDataWOBDO DO)
    
public  ListgetProcessMgrsWhere(WMSessionHandle shandle, String sqlWhere, int startAt, int limit)
    
protected  ProcessRequesterDOgetProcessRequester(String procId)
    
public  ListgetProcessVariables(WMSessionHandle shandle, String procId, List variableIds)
    
public  ListgetProcessesWhere(WMSessionHandle shandle, String sqlWhere, int startAt, int limit)
    
public  ListgetResourceRequestersProcessIds(WMSessionHandle shandle, String resUsername)
    
public  ListgetResourcesWhere(WMSessionHandle shandle, String sqlWhere, int startAt, int limit)
    
protected  ListgetSortedVariableDOs(ProcessDataDO[] DOs)
    
protected  ListgetSortedVariableDOs(ProcessDataWOBDO[] DOs)
    
protected  ListgetSortedVariableDOs(ActivityDataDO[] DOs)
    
protected  ListgetSortedVariableDOs(ActivityDataWOBDO[] DOs)
    
public  inthowManyAndJoinEntries(WMSessionHandle shandle, String procId, String blockActId, String aDefId)
    
protected  voidinitActivityAndProcessStatesTable()
     Fills the state table with possible activity and process states.
protected  voidperformCascadeDeletion(WMSessionHandle shandle, String procId, Map procIds)
    
public  voidpersist(WMSessionHandle shandle, ProcessMgrPersistenceObject pm, boolean isInitialPersistence)
    
public  voidpersist(WMSessionHandle shandle, ProcessPersistenceObject pr, boolean isInitialPersistence)
    
public  voidpersist(WMSessionHandle shandle, ActivityPersistenceObject act, boolean isInitialPersistence)
    
public  voidpersist(WMSessionHandle shandle, ResourcePersistenceObject res, boolean isInitialPersistence)
    
public  voidpersist(WMSessionHandle shandle, AssignmentPersistenceObject ass, boolean isInitialPersistence)
    
public  voidpersist(WMSessionHandle shandle, AssignmentPersistenceObject ass, String oldResUname)
    
public  voidpersist(WMSessionHandle shandle, ProcessVariablePersistenceObject var, boolean isInitialPersistence)
    
public  voidpersist(WMSessionHandle shandle, ActivityVariablePersistenceObject var, boolean isInitialPersistence)
    
public  voidpersist(WMSessionHandle shandle, AndJoinEntryPersitenceObject aje)
    
public  voidpersist(WMSessionHandle shandle, DeadlinePersistenceObject dpe, boolean isInitialPersistence)
    
protected  voidpersistVariablesBLOB(WMSessionHandle shandle, ProcessVariablePersistenceObject var, boolean isInitialPersistence)
    
protected  voidpersistVariablesBLOB(WMSessionHandle shandle, ProcessDataDO DO, Object vv, boolean isInitialPersistence, int ordNo)
    
protected  voidpersistVariablesBLOB(WMSessionHandle shandle, ActivityVariablePersistenceObject var, boolean isInitialPersistence)
    
protected  voidpersistVariablesBLOB(WMSessionHandle shandle, ActivityDataDO DO, Object vv, boolean isInitialPersistence, int ordNo)
    
protected  voidpersistVariablesWOB(WMSessionHandle shandle, ProcessVariablePersistenceObject var, boolean isInitialPersistence)
    
protected  voidpersistVariablesWOB(WMSessionHandle shandle, ProcessDataWOBDO DO, Object vv, boolean isInitialPersistence, int ordNo)
    
protected  voidpersistVariablesWOB(WMSessionHandle shandle, ActivityVariablePersistenceObject var, boolean isInitialPersistence)
    
protected  voidpersistVariablesWOB(WMSessionHandle shandle, ActivityDataWOBDO DO, Object vv, boolean isInitialPersistence, int ordNo)
    
protected  voidrefreshDOCaches()
    
protected  ProcessMgrPersistenceObjectrestore(WMSessionHandle shandle, ProcessDefinitionDO DO)
    
protected  ProcessPersistenceObjectrestore(WMSessionHandle shandle, ProcessDO DO)
    
protected  ActivityPersistenceObjectrestore(WMSessionHandle shandle, ActivityDO DO)
    
protected  ResourcePersistenceObjectrestore(WMSessionHandle shandle, ResourceDO DO)
    
protected  AssignmentPersistenceObjectrestore(WMSessionHandle shandle, AssignmentDO DO)
    
public  booleanrestore(WMSessionHandle shandle, ProcessVariablePersistenceObject var)
    
public  booleanrestore(WMSessionHandle shandle, ActivityVariablePersistenceObject var)
    
public  ActivityPersistenceObjectrestoreActivity(WMSessionHandle shandle, String procId, String actId)
    
public  AssignmentPersistenceObjectrestoreAssignment(WMSessionHandle shandle, String procId, String actId, String resUsername)
    
protected  booleanrestoreBLOB(WMSessionHandle shandle, ProcessVariablePersistenceObject engineObj, ProcessDataDO[] DOs)
    
protected  booleanrestoreBLOB(WMSessionHandle shandle, ActivityVariablePersistenceObject engineObj, ActivityDataDO[] DOs)
    
public  ProcessPersistenceObjectrestoreProcess(WMSessionHandle shandle, String procId)
    
public  ProcessMgrPersistenceObjectrestoreProcessMgr(WMSessionHandle shandle, String mgrName)
    
public  ResourcePersistenceObjectrestoreResource(WMSessionHandle shandle, String resUsername)
    
protected  booleanrestoreWOB(WMSessionHandle shandle, ProcessVariablePersistenceObject engineObj, ProcessDataWOBDO[] DOs)
    
protected  booleanrestoreWOB(WMSessionHandle shandle, ActivityVariablePersistenceObject engineObj, ActivityDataWOBDO[] DOs)
    
protected  voidsetLDBName()
    
public  voidshutdownDatabase(WMSessionHandle shandle)
    
public  voidsynchronizeProcess(WMSessionHandle shandle, String procId)
    

Field Detail
DB_TYPE_BLOB
final protected static short DB_TYPE_BLOB(Code)



DB_TYPE_BOOLEAN
final protected static short DB_TYPE_BOOLEAN(Code)



DB_TYPE_DATE
final protected static short DB_TYPE_DATE(Code)



DB_TYPE_DOUBLE
final protected static short DB_TYPE_DOUBLE(Code)



DB_TYPE_LONG
final protected static short DB_TYPE_LONG(Code)



DB_TYPE_VCHAR
final protected static short DB_TYPE_VCHAR(Code)



DB_TYPE_XML
final protected static short DB_TYPE_XML(Code)



LOG_CHANNEL
final protected static String LOG_CHANNEL(Code)



MAX_VCHAR_SIZE_LIMIT
final protected static int MAX_VCHAR_SIZE_LIMIT(Code)



_acStates
protected Map _acStates(Code)



_actClosedStatesBigDecimals
protected List _actClosedStatesBigDecimals(Code)



_actOpenStatesBigDecimals
protected List _actOpenStatesBigDecimals(Code)



_prClosedStatesBigDecimals
protected List _prClosedStatesBigDecimals(Code)



_prOpenStatesBigDecimals
protected List _prOpenStatesBigDecimals(Code)



_prStates
protected Map _prStates(Code)



cus
protected CallbackUtilities cus(Code)



db
protected LogicalDatabase db(Code)



deleteFinishedProcesses
protected boolean deleteFinishedProcesses(Code)



max_vchar_size
protected static int max_vchar_size(Code)



storeArraysAsBLOBs
protected boolean storeArraysAsBLOBs(Code)



usingStandardVariableDataModel
protected boolean usingStandardVariableDataModel(Code)





Method Detail
__getDBTransaction
protected DBTransaction __getDBTransaction() throws Exception(Code)



canDeleteFinishedProcess
protected boolean canDeleteFinishedProcess(WMSessionHandle shandle, String procId) throws Exception(Code)



configure
public void configure(CallbackUtilities cut) throws Exception(Code)



delete
public void delete(WMSessionHandle shandle, ProcessVariablePersistenceObject var) throws PersistenceException(Code)



delete
public void delete(WMSessionHandle shandle, ActivityVariablePersistenceObject var) throws PersistenceException(Code)



deleteActivity
public void deleteActivity(WMSessionHandle shandle, String procId, String actId) throws PersistenceException(Code)



deleteAndJoinEntries
public void deleteAndJoinEntries(WMSessionHandle shandle, String procId, String blockActId, String aDefId) throws PersistenceException(Code)



deleteAssignment
public void deleteAssignment(WMSessionHandle shandle, String procId, String actId, String resUsername) throws PersistenceException(Code)



deleteDeadlines
public void deleteDeadlines(WMSessionHandle shandle, String procId) throws PersistenceException(Code)



deleteDeadlines
public void deleteDeadlines(WMSessionHandle shandle, String procId, String actId) throws PersistenceException(Code)



deleteProcess
public List deleteProcess(WMSessionHandle shandle, String procId, boolean administrative) throws PersistenceException(Code)



deleteProcessMgr
public void deleteProcessMgr(WMSessionHandle shandle, String mgrName) throws PersistenceException(Code)



deleteResource
public void deleteResource(WMSessionHandle shandle, String resUsername) throws PersistenceException(Code)



getActivitiesForProcess
public List getActivitiesForProcess(WMSessionHandle shandle, String procId, String actState) throws PersistenceException(Code)



getActivitiesPersistedDeadlines
protected DeadlineDO[] getActivitiesPersistedDeadlines(String actId, long timeLimitBoundary) throws PersistenceException(Code)



getActivitiesWhere
public List getActivitiesWhere(WMSessionHandle shandle, String sqlWhere, int startAt, int limit) throws PersistenceException(Code)



getActivityDataValue
protected Object getActivityDataValue(WMSessionHandle shandle, ActivityDataDO DO) throws Throwable(Code)



getActivityDataValue
protected Object getActivityDataValue(WMSessionHandle shandle, ActivityDataWOBDO DO) throws Throwable(Code)



getActivityVariables
public List getActivityVariables(WMSessionHandle shandle, String procId, String actId, List variableIds) throws PersistenceException(Code)



getAllActiveActivitiesForProcess
public List getAllActiveActivitiesForProcess(WMSessionHandle shandle, String procId) throws PersistenceException(Code)



getAllActivities
public List getAllActivities(WMSessionHandle shandle) throws PersistenceException(Code)



getAllActivitiesForProcess
public List getAllActivitiesForProcess(WMSessionHandle shandle, String procId) throws PersistenceException(Code)



getAllAssignments
public List getAllAssignments(WMSessionHandle shandle) throws PersistenceException(Code)



getAllAssignmentsForActivity
public List getAllAssignmentsForActivity(WMSessionHandle shandle, String procId, String actId) throws PersistenceException(Code)
Returns all assignments that are ever created for that activity, no matter if activity is already in "closed" state or some of its sub-states.



getAllAssignmentsForResource
public List getAllAssignmentsForResource(WMSessionHandle shandle, String resUsername) throws PersistenceException(Code)
Returns all assignments for the resource, no matter if its activity is in "closed" state (or some of its sub-states).



getAllDeadlinesForActivity
public List getAllDeadlinesForActivity(WMSessionHandle shandle, String procId, String actId) throws PersistenceException(Code)



getAllDeadlinesForActivity
public List getAllDeadlinesForActivity(WMSessionHandle shandle, String procId, String actId, long timeLimitBoundary) throws PersistenceException(Code)



getAllDeadlinesForProcess
public List getAllDeadlinesForProcess(WMSessionHandle shandle, String procId) throws PersistenceException(Code)



getAllDeadlinesForProcess
public List getAllDeadlinesForProcess(WMSessionHandle shandle, String procId, long timeLimitBoundary) throws PersistenceException(Code)



getAllFinishedActivitiesForProcess
public List getAllFinishedActivitiesForProcess(WMSessionHandle shandle, String procId) throws PersistenceException(Code)



getAllFinishedProcesses
public List getAllFinishedProcesses(WMSessionHandle shandle) throws PersistenceException(Code)



getAllIdsForProcessesWithExpiriedDeadlines
public List getAllIdsForProcessesWithExpiriedDeadlines(WMSessionHandle shandle, long timeLimitBoundary) throws PersistenceException(Code)



getAllPersistedAssignments
protected AssignmentDO[] getAllPersistedAssignments(String sqlWhere, int startAt, int limit) throws PersistenceException(Code)



getAllPersistedProcessMgrs
protected ProcessDefinitionDO[] getAllPersistedProcessMgrs(String where, int startAt, int limit) throws PersistenceException(Code)



getAllPersistedResources
protected ResourceDO[] getAllPersistedResources(String sqlWhere, int startAt, int limit) throws PersistenceException(Code)



getAllProcessMgrs
public List getAllProcessMgrs(WMSessionHandle shandle) throws PersistenceException(Code)



getAllProcesses
public List getAllProcesses(WMSessionHandle shandle) throws PersistenceException(Code)



getAllProcessesForMgr
public List getAllProcessesForMgr(WMSessionHandle shandle, String mgrName) throws PersistenceException(Code)



getAllResources
public List getAllResources(WMSessionHandle shandle) throws PersistenceException(Code)



getAllRunningProcesses
public List getAllRunningProcesses(WMSessionHandle shandle) throws PersistenceException(Code)



getAllValidAssignmentsForActivity
public List getAllValidAssignmentsForActivity(WMSessionHandle shandle, String procId, String actId) throws PersistenceException(Code)
If activity is in "closed" state, or some of its sub-states, returns an empty list, otherwise it returns either all assignments that are ever created for that activity if activity is not accepted, or just the assignment for the resource that accepted activity.



getAllValidAssignmentsForResource
public List getAllValidAssignmentsForResource(WMSessionHandle shandle, String resUsername) throws PersistenceException(Code)
Returns only the assignments that can be currently executed by the resource with a given username. This means the ones which activity is not finished and not accepted (it doesn't have TheResource field set), and the ones which activity is accepted by this resource (its TheResource field is set to the resource with given username).



getAllVariablesForActivity
public List getAllVariablesForActivity(WMSessionHandle shandle, String procId, String actId) throws PersistenceException(Code)



getAllVariablesForActivityBLOB
protected List getAllVariablesForActivityBLOB(WMSessionHandle shandle, String actId) throws PersistenceException(Code)



getAllVariablesForActivityWOB
protected List getAllVariablesForActivityWOB(WMSessionHandle shandle, String actId) throws PersistenceException(Code)



getAllVariablesForProcess
public List getAllVariablesForProcess(WMSessionHandle shandle, String procId) throws PersistenceException(Code)



getAllVariablesForProcessBLOB
protected List getAllVariablesForProcessBLOB(WMSessionHandle shandle, String procId) throws PersistenceException(Code)



getAllVariablesForProcessWOB
protected List getAllVariablesForProcessWOB(WMSessionHandle shandle, String procId) throws PersistenceException(Code)



getAndJoinEntries
public List getAndJoinEntries(WMSessionHandle shandle, String procId, String blockActId, String aDefId) throws PersistenceException(Code)



getAssignmentsWhere
public List getAssignmentsWhere(WMSessionHandle shandle, String sqlWhere, int startAt, int limit) throws PersistenceException(Code)



getExecuteCount
public int getExecuteCount(WMSessionHandle shandle, String procId, String aDefId) throws PersistenceException(Code)



getNextDecId
public BigDecimal getNextDecId(String idName) throws PersistenceException(Code)



getNextId
public String getNextId(String idName) throws PersistenceException(Code)



getPersistedActivities
protected ActivityDO[] getPersistedActivities(int type, ProcessDO pDO, String sqlWhere, int startAt, int limit) throws PersistenceException(Code)



getPersistedActivityObject
protected ActivityDO getPersistedActivityObject(String actId) throws PersistenceException(Code)



getPersistedActivityStateObject
protected ActivityStateDO getPersistedActivityStateObject(String value, boolean searchByKeyValue, DBTransaction ti) throws PersistenceException(Code)



getPersistedActivityVariableBLOBObject
protected ActivityDataBLOBDO getPersistedActivityVariableBLOBObject(ActivityDataWOBDO adDO) throws PersistenceException(Code)



getPersistedActivityVariableObject
protected ActivityDataDO getPersistedActivityVariableObject(String actId, String defId) throws PersistenceException(Code)



getPersistedActivityVariableObject2
protected ActivityDataWOBDO getPersistedActivityVariableObject2(String actId, String defId) throws PersistenceException(Code)



getPersistedActivityVariableObjects
protected ActivityDataDO[] getPersistedActivityVariableObjects(String actId, String defId) throws PersistenceException(Code)



getPersistedActivityVariableObjects2
protected ActivityDataWOBDO[] getPersistedActivityVariableObjects2(String procId, String defId) throws PersistenceException(Code)



getPersistedAndJoinEntries
protected AndJoinEntryDO[] getPersistedAndJoinEntries(String procId, String blockActId, String aDefId) throws PersistenceException(Code)



getPersistedAssignmentObject
protected AssignmentDO getPersistedAssignmentObject(String actId, String username) throws PersistenceException(Code)



getPersistedDeadlineObject
protected DeadlineDO getPersistedDeadlineObject(String uniqueId) throws PersistenceException(Code)



getPersistedDeadlines
protected DeadlineDO[] getPersistedDeadlines(String procId, long timeLimitBoundary) throws PersistenceException(Code)



getPersistedObject
protected ProcessDefinitionDO getPersistedObject(ProcessMgrPersistenceObject mgr) throws PersistenceException(Code)



getPersistedObject
protected ProcessDO getPersistedObject(ProcessPersistenceObject proc) throws PersistenceException(Code)



getPersistedObject
protected ActivityDO getPersistedObject(ActivityPersistenceObject act) throws PersistenceException(Code)



getPersistedObject
protected ResourceDO getPersistedObject(ResourcePersistenceObject res) throws PersistenceException(Code)



getPersistedObject
protected AssignmentDO getPersistedObject(AssignmentPersistenceObject ass) throws PersistenceException(Code)



getPersistedObject
protected DeadlineDO getPersistedObject(DeadlinePersistenceObject dpe) throws PersistenceException(Code)



getPersistedObject
protected ProcessDataDO getPersistedObject(ProcessVariablePersistenceObject var) throws PersistenceException(Code)



getPersistedObject
protected ProcessDataBLOBDO getPersistedObject(ProcessDataWOBDO pdDO) throws PersistenceException(Code)



getPersistedObject
protected ActivityDataDO getPersistedObject(ActivityVariablePersistenceObject var) throws PersistenceException(Code)



getPersistedObject
protected ActivityDataBLOBDO getPersistedObject(ActivityDataWOBDO adDO) throws PersistenceException(Code)



getPersistedObject2
protected ProcessDataWOBDO getPersistedObject2(ProcessVariablePersistenceObject var) throws PersistenceException(Code)



getPersistedObject2
protected ActivityDataWOBDO getPersistedObject2(ActivityVariablePersistenceObject var) throws PersistenceException(Code)



getPersistedObjects
protected ProcessDataDO[] getPersistedObjects(ProcessVariablePersistenceObject var) throws PersistenceException(Code)



getPersistedObjects
protected ActivityDataDO[] getPersistedObjects(ActivityVariablePersistenceObject var) throws PersistenceException(Code)



getPersistedObjects2
protected ProcessDataWOBDO[] getPersistedObjects2(ProcessVariablePersistenceObject var) throws PersistenceException(Code)



getPersistedObjects2
protected ActivityDataWOBDO[] getPersistedObjects2(ActivityVariablePersistenceObject var) throws PersistenceException(Code)



getPersistedProcessMgrObject
protected ProcessDefinitionDO getPersistedProcessMgrObject(String name) throws PersistenceException(Code)



getPersistedProcessObject
protected ProcessDO getPersistedProcessObject(String procId) throws PersistenceException(Code)



getPersistedProcessStateObject
protected ProcessStateDO getPersistedProcessStateObject(String value, boolean searchByKeyValue, DBTransaction ti) throws PersistenceException(Code)



getPersistedProcessVariableBLOBObject
protected ProcessDataBLOBDO getPersistedProcessVariableBLOBObject(ProcessDataWOBDO pdDO) throws PersistenceException(Code)



getPersistedProcessVariableObject
protected ProcessDataDO getPersistedProcessVariableObject(String procId, String defId) throws PersistenceException(Code)



getPersistedProcessVariableObject2
protected ProcessDataWOBDO getPersistedProcessVariableObject2(String procId, String defId) throws PersistenceException(Code)



getPersistedProcessVariableObjects
protected ProcessDataDO[] getPersistedProcessVariableObjects(String procId, String defId) throws PersistenceException(Code)



getPersistedProcessVariableObjects2
protected ProcessDataWOBDO[] getPersistedProcessVariableObjects2(String procId, String defId) throws PersistenceException(Code)



getPersistedProcesses
protected ProcessDO[] getPersistedProcesses(int type, String sqlWhere, int startAt, int limit) throws PersistenceException(Code)



getPersistedRequesterObject
protected ProcessRequesterDO getPersistedRequesterObject(String procId) throws PersistenceException(Code)



getPersistedResourceObject
protected ResourceDO getPersistedResourceObject(String username) throws PersistenceException(Code)



getProcessDataValue
protected Object getProcessDataValue(WMSessionHandle shandle, ProcessDataDO DO) throws Throwable(Code)



getProcessDataValue
protected Object getProcessDataValue(WMSessionHandle shandle, ProcessDataWOBDO DO) throws Throwable(Code)



getProcessMgrsWhere
public List getProcessMgrsWhere(WMSessionHandle shandle, String sqlWhere, int startAt, int limit) throws PersistenceException(Code)



getProcessRequester
protected ProcessRequesterDO getProcessRequester(String procId) throws PersistenceException(Code)



getProcessVariables
public List getProcessVariables(WMSessionHandle shandle, String procId, List variableIds) throws PersistenceException(Code)



getProcessesWhere
public List getProcessesWhere(WMSessionHandle shandle, String sqlWhere, int startAt, int limit) throws PersistenceException(Code)



getResourceRequestersProcessIds
public List getResourceRequestersProcessIds(WMSessionHandle shandle, String resUsername) throws PersistenceException(Code)



getResourcesWhere
public List getResourcesWhere(WMSessionHandle shandle, String sqlWhere, int startAt, int limit) throws PersistenceException(Code)



getSortedVariableDOs
protected List getSortedVariableDOs(ProcessDataDO[] DOs) throws Throwable(Code)



getSortedVariableDOs
protected List getSortedVariableDOs(ProcessDataWOBDO[] DOs) throws Throwable(Code)



getSortedVariableDOs
protected List getSortedVariableDOs(ActivityDataDO[] DOs) throws Throwable(Code)



getSortedVariableDOs
protected List getSortedVariableDOs(ActivityDataWOBDO[] DOs) throws Throwable(Code)



howManyAndJoinEntries
public int howManyAndJoinEntries(WMSessionHandle shandle, String procId, String blockActId, String aDefId) throws PersistenceException(Code)



initActivityAndProcessStatesTable
protected void initActivityAndProcessStatesTable() throws PersistenceException(Code)
Fills the state table with possible activity and process states. For now, the 'keyValue' and the 'name' attribute of state record has the same value, but in the future, if the names of states changes, it will be very easy to change this table entries without affecting other tables. NOTE: When new names are introduced, the getPersistentXXX that use it also has to be changed



performCascadeDeletion
protected void performCascadeDeletion(WMSessionHandle shandle, String procId, Map procIds) throws Exception(Code)



persist
public void persist(WMSessionHandle shandle, ProcessMgrPersistenceObject pm, boolean isInitialPersistence) throws PersistenceException(Code)



persist
public void persist(WMSessionHandle shandle, ProcessPersistenceObject pr, boolean isInitialPersistence) throws PersistenceException(Code)



persist
public void persist(WMSessionHandle shandle, ActivityPersistenceObject act, boolean isInitialPersistence) throws PersistenceException(Code)



persist
public void persist(WMSessionHandle shandle, ResourcePersistenceObject res, boolean isInitialPersistence) throws PersistenceException(Code)



persist
public void persist(WMSessionHandle shandle, AssignmentPersistenceObject ass, boolean isInitialPersistence) throws PersistenceException(Code)



persist
public void persist(WMSessionHandle shandle, AssignmentPersistenceObject ass, String oldResUname) throws PersistenceException(Code)



persist
public void persist(WMSessionHandle shandle, ProcessVariablePersistenceObject var, boolean isInitialPersistence) throws PersistenceException(Code)



persist
public void persist(WMSessionHandle shandle, ActivityVariablePersistenceObject var, boolean isInitialPersistence) throws PersistenceException(Code)



persist
public void persist(WMSessionHandle shandle, AndJoinEntryPersitenceObject aje) throws PersistenceException(Code)



persist
public void persist(WMSessionHandle shandle, DeadlinePersistenceObject dpe, boolean isInitialPersistence) throws PersistenceException(Code)



persistVariablesBLOB
protected void persistVariablesBLOB(WMSessionHandle shandle, ProcessVariablePersistenceObject var, boolean isInitialPersistence) throws PersistenceException(Code)



persistVariablesBLOB
protected void persistVariablesBLOB(WMSessionHandle shandle, ProcessDataDO DO, Object vv, boolean isInitialPersistence, int ordNo) throws Throwable(Code)



persistVariablesBLOB
protected void persistVariablesBLOB(WMSessionHandle shandle, ActivityVariablePersistenceObject var, boolean isInitialPersistence) throws PersistenceException(Code)



persistVariablesBLOB
protected void persistVariablesBLOB(WMSessionHandle shandle, ActivityDataDO DO, Object vv, boolean isInitialPersistence, int ordNo) throws Throwable(Code)



persistVariablesWOB
protected void persistVariablesWOB(WMSessionHandle shandle, ProcessVariablePersistenceObject var, boolean isInitialPersistence) throws PersistenceException(Code)



persistVariablesWOB
protected void persistVariablesWOB(WMSessionHandle shandle, ProcessDataWOBDO DO, Object vv, boolean isInitialPersistence, int ordNo) throws Throwable(Code)



persistVariablesWOB
protected void persistVariablesWOB(WMSessionHandle shandle, ActivityVariablePersistenceObject var, boolean isInitialPersistence) throws PersistenceException(Code)



persistVariablesWOB
protected void persistVariablesWOB(WMSessionHandle shandle, ActivityDataWOBDO DO, Object vv, boolean isInitialPersistence, int ordNo) throws Throwable(Code)



refreshDOCaches
protected void refreshDOCaches() throws Exception(Code)



restore
protected ProcessMgrPersistenceObject restore(WMSessionHandle shandle, ProcessDefinitionDO DO) throws PersistenceException(Code)



restore
protected ProcessPersistenceObject restore(WMSessionHandle shandle, ProcessDO DO) throws PersistenceException(Code)



restore
protected ActivityPersistenceObject restore(WMSessionHandle shandle, ActivityDO DO) throws PersistenceException(Code)



restore
protected ResourcePersistenceObject restore(WMSessionHandle shandle, ResourceDO DO) throws PersistenceException(Code)



restore
protected AssignmentPersistenceObject restore(WMSessionHandle shandle, AssignmentDO DO) throws PersistenceException(Code)



restore
public boolean restore(WMSessionHandle shandle, ProcessVariablePersistenceObject var) throws PersistenceException(Code)



restore
public boolean restore(WMSessionHandle shandle, ActivityVariablePersistenceObject var) throws PersistenceException(Code)



restoreActivity
public ActivityPersistenceObject restoreActivity(WMSessionHandle shandle, String procId, String actId) throws PersistenceException(Code)



restoreAssignment
public AssignmentPersistenceObject restoreAssignment(WMSessionHandle shandle, String procId, String actId, String resUsername) throws PersistenceException(Code)



restoreBLOB
protected boolean restoreBLOB(WMSessionHandle shandle, ProcessVariablePersistenceObject engineObj, ProcessDataDO[] DOs) throws PersistenceException(Code)



restoreBLOB
protected boolean restoreBLOB(WMSessionHandle shandle, ActivityVariablePersistenceObject engineObj, ActivityDataDO[] DOs) throws PersistenceException(Code)



restoreProcess
public ProcessPersistenceObject restoreProcess(WMSessionHandle shandle, String procId) throws PersistenceException(Code)



restoreProcessMgr
public ProcessMgrPersistenceObject restoreProcessMgr(WMSessionHandle shandle, String mgrName) throws PersistenceException(Code)



restoreResource
public ResourcePersistenceObject restoreResource(WMSessionHandle shandle, String resUsername) throws PersistenceException(Code)



restoreWOB
protected boolean restoreWOB(WMSessionHandle shandle, ProcessVariablePersistenceObject engineObj, ProcessDataWOBDO[] DOs) throws PersistenceException(Code)



restoreWOB
protected boolean restoreWOB(WMSessionHandle shandle, ActivityVariablePersistenceObject engineObj, ActivityDataWOBDO[] DOs) throws PersistenceException(Code)



setLDBName
protected void setLDBName()(Code)



shutdownDatabase
public void shutdownDatabase(WMSessionHandle shandle) throws PersistenceException(Code)



synchronizeProcess
public void synchronizeProcess(WMSessionHandle shandle, String procId) throws PersistenceException(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.