Java Doc for WorkflowPropertyInstance.java in  » Content-Management-System » harmonise » org » openharmonise » rm » workflow » 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 » Content Management System » harmonise » org.openharmonise.rm.workflow 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.openharmonise.rm.metadata.AbstractPropertyInstance
      org.openharmonise.rm.metadata.ChildObjectPropertyInstance
         org.openharmonise.rm.workflow.WorkflowPropertyInstance

WorkflowPropertyInstance
public class WorkflowPropertyInstance extends ChildObjectPropertyInstance (Code)
Class to represent an instance of a workflow. This class extends ChildObjectPropertyInstance, offering utility methods specific to handling workflows and will only accept WorkflowStageInstance values.
author:
   Michael Bell
version:
   $Revision: 1.2 $



Constructor Summary
public  WorkflowPropertyInstance()
    
public  WorkflowPropertyInstance(AbstractDataStoreInterface dbintrf)
    

Method Summary
public  voidaddValue(AbstractChildObject child)
    
public  voidaddWorkflowStage(WorkflowStageValue stage, User usr)
    
public  ListgetCompletedStages()
    
public  ListgetValues()
    
public  booleanisComplete()
    
public  voidremoveWorkflowStage(WorkflowStageValue stage, User usr)
    
protected  voidsave(Profile prof)
    


Constructor Detail
WorkflowPropertyInstance
public WorkflowPropertyInstance()(Code)
Basic constructor



WorkflowPropertyInstance
public WorkflowPropertyInstance(AbstractDataStoreInterface dbintrf)(Code)
Constructs object with a interface to the datastore
Parameters:
  dbintrf -




Method Detail
addValue
public void addValue(AbstractChildObject child) throws PopulateException(Code)



addWorkflowStage
public void addWorkflowStage(WorkflowStageValue stage, User usr) throws PopulateException(Code)
Adds stage to this workflow instance
Parameters:
  stage -
Parameters:
  usr -
throws:
  InvalidPropertyValueException -



getCompletedStages
public List getCompletedStages() throws DataAccessException(Code)
Returns a list of the completed workflow stage instances for this workflow instance @throwsDataAccessException



getValues
public List getValues()(Code)



isComplete
public boolean isComplete() throws DataAccessException(Code)
Returns true if work flow is complete @throwsDataAccessException



removeWorkflowStage
public void removeWorkflowStage(WorkflowStageValue stage, User usr) throws InvalidPropertyValueException(Code)
Adds stage to this workflow instance
Parameters:
  stage -
Parameters:
  usr -
throws:
  InvalidPropertyValueException -



save
protected void save(Profile prof) throws ProfileException, EditException(Code)



Fields inherited from org.openharmonise.rm.metadata.ChildObjectPropertyInstance
final protected static String CLMN_OBJECT_ID(Code)(Java Doc)

Methods inherited from org.openharmonise.rm.metadata.ChildObjectPropertyInstance
public void addValue(AbstractChildObject child) throws PopulateException(Code)(Java Doc)
public void addValue(AbstractChildObject child, int nId) throws PopulateException(Code)(Java Doc)
public static String constructDBTableName(Profile profile, String sTable)(Code)(Java Doc)
public static void createTable(AbstractDataStoreInterface dsi, String domainClass, String valueClass, boolean bIsHist) throws DataAccessException, DataStoreException(Code)(Java Doc)
public static void generateTable(AbstractDataStoreInterface dsi, String sProfileTable, String sTableName) throws DataStoreException(Code)(Java Doc)
protected ColumnRef getColumnForData() throws DataStoreException(Code)(Java Doc)
public static String getDBTableName(Profile profile, String sClassname) throws DataStoreException(Code)(Java Doc)
public String getDBTableName()(Code)(Java Doc)
public static String getDBTableName(String domainClass, String valueClass, boolean bIsHist) throws DataAccessException(Code)(Java Doc)
public ColumnRef getInstanceColumnRef(String sColumn, boolean bIsHist) throws DataStoreException(Code)(Java Doc)
public JoinConditions getInstanceJoinConditions(String sObjectTag, boolean bIsOuter) throws DataStoreException(Code)(Java Doc)
public Object getValue()(Code)(Java Doc)
public Object getValue(int nIndex)(Code)(Java Doc)
protected Object getValueToStoreForValue(Object val) throws ProfileException(Code)(Java Doc)
public List getValues()(Code)(Java Doc)
public boolean match(AbstractPropertyInstance propInst) throws ProfileException(Code)(Java Doc)
public void populate(Element xmlElement, State state) throws PopulateException(Code)(Java Doc)
public List processResultSet(CachedResultSet resultSet, SelectStatement select)(Code)(Java Doc)
public List processResultSet(CachedResultSet resultSet, SelectStatement select, int limit)(Code)(Java Doc)
public Element publish(Element formEl, HarmoniseOutput xmlDoc, State state) throws PublishException(Code)(Java Doc)
public Element publish(Template template, HarmoniseOutput xmlDoc, State state) throws PublishException(Code)(Java Doc)
protected void removeChildReferences(AbstractChildObject child) throws DataStoreException(Code)(Java Doc)
public void removeValue(AbstractChildObject child) throws InvalidPropertyValueException(Code)(Java Doc)
protected void setDBTable(Profile profile)(Code)(Java Doc)
public void setValues(List values) throws InvalidPropertyValueException(Code)(Java Doc)

Fields inherited from org.openharmonise.rm.metadata.AbstractPropertyInstance
final public static String ATTRIB_OBJECT_TYPE(Code)(Java Doc)
final public static String ATTRIB_OPERATOR(Code)(Java Doc)
final public static String ATTRIB_PROPERTY_ID(Code)(Java Doc)
final protected static String CLMN_ID(Code)(Java Doc)
final protected static String CLMN_PROFILE_ID(Code)(Java Doc)
final protected static String CLMN_PROPERTY_ID(Code)(Java Doc)
final protected static String CLMN_VERSION_COMMENT(Code)(Java Doc)
final protected static String EXT_HIST(Code)(Java Doc)
final protected static String SEQ_PROFILE_DATA(Code)(Java Doc)
final public static String TAG_ATTACH(Code)(Java Doc)
final public static String TAG_DETACH(Code)(Java Doc)
final public static String TAG_PROPERTYINSTANCE(Code)(Java Doc)
final public static String TAG_PROP_INSTANCE_VALUES(Code)(Java Doc)
final public static String TAG_VALUE(Code)(Java Doc)
protected boolean m_bIsTemporary(Code)(Java Doc)
protected AbstractDataStoreInterface m_dsi(Code)(Java Doc)
protected Profile m_profile(Code)(Java Doc)
protected CachePointer m_property_ptr(Code)(Java Doc)
protected String m_sDataTable(Code)(Java Doc)
protected String m_sOperator(Code)(Java Doc)
protected List m_valueIds(Code)(Java Doc)
protected List m_values(Code)(Java Doc)
protected List m_values2Add(Code)(Java Doc)
protected List m_values2Remove(Code)(Java Doc)

Methods inherited from org.openharmonise.rm.metadata.AbstractPropertyInstance
protected void addValue(Object obj) throws PopulateException(Code)(Java Doc)
protected void addValue(Object val, int nId) throws PopulateException(Code)(Java Doc)
public void clearValues()(Code)(Java Doc)
public Object clone()(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
abstract protected ColumnRef getColumnForData() throws DataStoreException(Code)(Java Doc)
public String getDBTableName()(Code)(Java Doc)
public int getId()(Code)(Java Doc)
public ColumnRef getInstanceColumnRef(String sColumn, boolean bIsHist) throws DataStoreException(Code)(Java Doc)
public String getName() throws DataAccessException(Code)(Java Doc)
public String getOperator()(Code)(Java Doc)
public Profile getProfile()(Code)(Java Doc)
protected AbstractProfiledObject getProfiledObject()(Code)(Java Doc)
public Property getProperty() throws DataAccessException(Code)(Java Doc)
public String getTagName()(Code)(Java Doc)
public Object getValue()(Code)(Java Doc)
public Object getValue(int nIndex)(Code)(Java Doc)
abstract protected Object getValueToStoreForValue(Object val) throws ProfileException(Code)(Java Doc)
public List getValues()(Code)(Java Doc)
public String getVersionComment()(Code)(Java Doc)
public boolean hasValues()(Code)(Java Doc)
protected boolean isChanged()(Code)(Java Doc)
protected boolean isHistorical()(Code)(Java Doc)
public boolean isPopulated()(Code)(Java Doc)
public boolean isTemporary()(Code)(Java Doc)
abstract public boolean match(AbstractPropertyInstance propInst) throws ProfileException(Code)(Java Doc)
public boolean merge(AbstractPropertyInstance property)(Code)(Java Doc)
public void populate(Element xmlElement, State state) throws PopulateException(Code)(Java Doc)
public Element publish(Template template, HarmoniseOutput xmlDoc, State state) throws PublishException(Code)(Java Doc)
public Element publish(Element formEl, HarmoniseOutput xmlDoc, State state) throws PublishException(Code)(Java Doc)
public void removeValue(Object val)(Code)(Java Doc)
protected void save(Profile prof) throws ProfileException, EditException(Code)(Java Doc)
abstract protected void setDBTable(Profile profile)(Code)(Java Doc)
public void setDataStoreInterface(AbstractDataStoreInterface dsi)(Code)(Java Doc)
protected void setHistorical(boolean bIsHist)(Code)(Java Doc)
protected void setIsChanged(boolean bIsChanged)(Code)(Java Doc)
protected void setIsPopulated(boolean bIsPopulated)(Code)(Java Doc)
public void setIsTemporary(boolean bIsTemporary)(Code)(Java Doc)
public void setOperator(String sOperator)(Code)(Java Doc)
public void setProfile(Profile prof)(Code)(Java Doc)
public void setProperty(Property prop) throws PopulateException(Code)(Java Doc)
public void setValues(List values) throws InvalidPropertyValueException(Code)(Java Doc)
public void setVersionComment(String sComment)(Code)(Java Doc)
protected void update(Profile prof) throws ProfileException, EditException(Code)(Java Doc)

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.