Java Doc for WfExecutionObjectImpl.java in  » ERP-CRM-Financial » SourceTap-CRM » org » ofbiz » workflow » impl » 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 » ERP CRM Financial » SourceTap CRM » org.ofbiz.workflow.impl 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.ofbiz.workflow.impl.WfExecutionObjectImpl

All known Subclasses:   org.ofbiz.workflow.impl.WfProcessImpl,  org.ofbiz.workflow.impl.WfActivityImpl,
WfExecutionObjectImpl
abstract public class WfExecutionObjectImpl implements WfExecutionObject(Code)
WfExecutionObjectImpl - Workflow Execution Object implementation
author:
   Andy Zeneski
author:
   David Ostrovsky (d.ostrovsky@gmx.de)
version:
   $Revision: 1.6 $
since:
   2.0


Field Summary
protected  StringactivityId
    
protected  GenericDelegatordelegator
    
final public static  StringdispatcherName
    
protected  Listhistory
    
final public static  Stringmodule
    
protected  StringpackageId
    
protected  StringpackageVersion
    
protected  StringprocessId
    
protected  StringprocessVersion
    
protected  StringworkEffortId
    

Constructor Summary
public  WfExecutionObjectImpl(GenericValue valueObject, String parentId)
    
public  WfExecutionObjectImpl(GenericDelegator delegator, String workEffortId)
    

Method Summary
public  voidabort()
    
public  voidchangeState(String newState)
    
public  StringcontextKey()
    
public  Stringdescription()
    
protected  booleanevalBshCondition(String expression, Map context)
    
protected  booleanevalConditionClass(String className, String expression, Map context, Map attrs)
    
abstract public  StringexecutionObjectType()
     Getter for this type of execution object.
public  GenericValuegetDefinitionObject()
    
public  GenericDelegatorgetDelegator()
    
protected  LocalDispatchergetDispatcher()
    
public  IteratorgetIteratorHistory(String query, Map namesInQuery)
    
public  GenericValuegetRuntimeObject()
    
public  ListgetSequenceHistory(int maxNumber)
    
public  ListhowClosedType()
    
public  inthowManyHistory()
    
public  booleanisMemberOfHistory(WfExecutionObject member)
    
public  Stringkey()
    
public  TimestamplastStateTime()
    
public  Stringname()
    
protected  voidparseDescriptions(Map parseContext)
    
public  longpriority()
    
public  MapprocessContext()
    
public  voidresume()
    
public  StringruntimeKey()
    
public  voidsetDescription(String newValue)
    
public  voidsetName(String newValue)
    
public  voidsetPriority(long newValue)
    
public  voidsetProcessContext(Map newValue)
    
public  voidsetProcessContext(String contextKey)
    
protected  voidsetSerializedData(Map value)
    
public  Stringstate()
    
public  voidsuspend()
    
public  voidterminate()
    
public  ListvalidStates()
    
public  ListwhileOpenType()
    
public  ListwhyNotRunningType()
    
public  ListworkflowStateType()
    

Field Detail
activityId
protected String activityId(Code)



delegator
protected GenericDelegator delegator(Code)



dispatcherName
final public static String dispatcherName(Code)



history
protected List history(Code)



module
final public static String module(Code)



packageId
protected String packageId(Code)



packageVersion
protected String packageVersion(Code)



processId
protected String processId(Code)



processVersion
protected String processVersion(Code)



workEffortId
protected String workEffortId(Code)




Constructor Detail
WfExecutionObjectImpl
public WfExecutionObjectImpl(GenericValue valueObject, String parentId) throws WfException(Code)



WfExecutionObjectImpl
public WfExecutionObjectImpl(GenericDelegator delegator, String workEffortId) throws WfException(Code)




Method Detail
abort
public void abort() throws WfException, CannotStop, NotRunning(Code)

See Also:   org.ofbiz.workflow.WfExecutionObject.abort



changeState
public void changeState(String newState) throws WfException, InvalidState, TransitionNotAllowed(Code)

See Also:   org.ofbiz.workflow.WfExecutionObject.changeState(java.lang.String)



contextKey
public String contextKey() throws WfException(Code)

See Also:   org.ofbiz.workflow.WfExecutionObject.contextKey



description
public String description() throws WfException(Code)

See Also:   org.ofbiz.workflow.WfExecutionObject.description



evalBshCondition
protected boolean evalBshCondition(String expression, Map context) throws WfException(Code)
Evaluate a condition expression using BeanShell
Parameters:
  expression - The expression to evaluate
Parameters:
  context - The context to use in evaluation The result of the evaluation (True/False)
throws:
  WfException -



evalConditionClass
protected boolean evalConditionClass(String className, String expression, Map context, Map attrs) throws WfException(Code)
Evaluate a condition expression using an implementation of TransitionCondition
Parameters:
  className - The class name of the TransitionCondition implementation
Parameters:
  expression - The expression to evaluate The result of the evaluation (True/False)
throws:
  WfException -



executionObjectType
abstract public String executionObjectType()(Code)
Getter for this type of execution object. String



getDefinitionObject
public GenericValue getDefinitionObject() throws WfException(Code)

See Also:   org.ofbiz.workflow.WfExecutionObject.getDefinitionObject



getDelegator
public GenericDelegator getDelegator() throws WfException(Code)

See Also:   org.ofbiz.workflow.WfExecutionObject.getDelegator



getDispatcher
protected LocalDispatcher getDispatcher() throws WfException(Code)
Get an instance of the local dispatcher LocalDispatcher instance for use with this workflow
throws:
  WfException -



getIteratorHistory
public Iterator getIteratorHistory(String query, Map namesInQuery) throws WfException, HistoryNotAvailable(Code)

See Also:   org.ofbiz.workflow.WfExecutionObject.getIteratorHistory(java.lang.Stringjava.util.Map)



getRuntimeObject
public GenericValue getRuntimeObject() throws WfException(Code)



getSequenceHistory
public List getSequenceHistory(int maxNumber) throws WfException, HistoryNotAvailable(Code)

See Also:   org.ofbiz.workflow.WfExecutionObject.getSequenceHistory(int)



howClosedType
public List howClosedType() throws WfException(Code)

See Also:   org.ofbiz.workflow.WfExecutionObject.howClosedType



howManyHistory
public int howManyHistory() throws WfException, HistoryNotAvailable(Code)

See Also:   org.ofbiz.workflow.WfExecutionObject.howManyHistory



isMemberOfHistory
public boolean isMemberOfHistory(WfExecutionObject member) throws WfException(Code)

See Also:   org.ofbiz.workflow.WfExecutionObject.isMemberOfHistory(org.ofbiz.workflow.WfExecutionObject)



key
public String key() throws WfException(Code)

See Also:   org.ofbiz.workflow.WfExecutionObject.key



lastStateTime
public Timestamp lastStateTime() throws WfException(Code)

See Also:   org.ofbiz.workflow.WfExecutionObject.lastStateTime



name
public String name() throws WfException(Code)

See Also:   org.ofbiz.workflow.WfExecutionObject.name



parseDescriptions
protected void parseDescriptions(Map parseContext) throws WfException(Code)



priority
public long priority() throws WfException(Code)

See Also:   org.ofbiz.workflow.WfExecutionObject.priority



processContext
public Map processContext() throws WfException(Code)

See Also:   org.ofbiz.workflow.WfExecutionObject.processContext



resume
public void resume() throws WfException, CannotResume, NotRunning, NotSuspended(Code)

See Also:   org.ofbiz.workflow.WfExecutionObject.resume



runtimeKey
public String runtimeKey() throws WfException(Code)

See Also:   org.ofbiz.workflow.WfExecutionObject.runtimeKey



setDescription
public void setDescription(String newValue) throws WfException(Code)

See Also:   org.ofbiz.workflow.WfExecutionObject.setDescription(java.lang.String)



setName
public void setName(String newValue) throws WfException(Code)

See Also:   org.ofbiz.workflow.WfExecutionObject.setName(java.lang.String)



setPriority
public void setPriority(long newValue) throws WfException(Code)

See Also:   org.ofbiz.workflow.WfExecutionObject.setPriority(long)



setProcessContext
public void setProcessContext(Map newValue) throws WfException, InvalidData, UpdateNotAllowed(Code)

See Also:   org.ofbiz.workflow.WfExecutionObject.setProcessContext(java.util.Map)



setProcessContext
public void setProcessContext(String contextKey) throws WfException, InvalidData, UpdateNotAllowed(Code)

See Also:   org.ofbiz.workflow.WfExecutionObject.setProcessContext(java.lang.String)



setSerializedData
protected void setSerializedData(Map value) throws WfException, InvalidData(Code)
Updates the runtime data entity
Parameters:
  field - The field name of the entity (resultDataId,contextDataId)
Parameters:
  value - The value to serialize and set
throws:
  WfException -



state
public String state() throws WfException(Code)

See Also:   org.ofbiz.workflow.WfExecutionObject.state



suspend
public void suspend() throws WfException, CannotSuspend, NotRunning, AlreadySuspended(Code)

See Also:   org.ofbiz.workflow.WfExecutionObject.suspend



terminate
public void terminate() throws WfException, CannotStop, NotRunning(Code)

See Also:   org.ofbiz.workflow.WfExecutionObject.terminate



validStates
public List validStates() throws WfException(Code)

See Also:   org.ofbiz.workflow.WfExecutionObject.validStates



whileOpenType
public List whileOpenType() throws WfException(Code)

See Also:   org.ofbiz.workflow.WfExecutionObject.whileOpenType



whyNotRunningType
public List whyNotRunningType() throws WfException(Code)

See Also:   org.ofbiz.workflow.WfExecutionObject.whyNotRunningType



workflowStateType
public List workflowStateType() throws WfException(Code)

See Also:   org.ofbiz.workflow.WfExecutionObject.workflowStateType



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.