Java Doc for Document.java in  » ERP-CRM-Financial » Kuali-Financial-System » org » kuali » core » document » 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 » Kuali Financial System » org.kuali.core.document 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.kuali.core.document.Document

All known Subclasses:   org.kuali.core.document.DocumentBase,
Document
public interface Document extends PersistableBusinessObject(Code)
This is the Document interface. All entities that are regarded as "eDocs" in the system, including Maintenance documents and Transaction Processing documents should implement this interface as it defines methods that are necessary to interact with the underlying frameworks and components (i.e. attachments, workflow, etc).




Method Summary
public  voiddoActionTaken(ActionTakenEventVO event)
    
public  voiddoRouteStatusChange(DocumentRouteStatusChangeVO statusChangeEvent)
    
public  ListgenerateSaveEvents()
    
public  ListgetAdHocRoutePersons()
    
public  ListgetAdHocRouteWorkgroups()
    
public  booleangetAllowsCopy()
     This method returns whether or not this document can be copied.
public  PersistableBusinessObjectgetDocumentBusinessObject()
    
public  DocumentHeadergetDocumentHeader()
     This retrieves the standard DocumentHeader object, which contains standard meta-data about a document.
public  StringgetDocumentNumber()
     All documents have a document header id.
public  StringgetDocumentTitle()
     Getter method to get the document title as it will appear in and be searchable in workflow.
public  StringgetXmlForRouteReport()
     This method is used to get the xml that should be used in a Route Report.
public  voidhandleRouteLevelChange(DocumentRouteLevelChangeVO levelChangeEvent)
    
public  voidhandleRouteStatusChange()
    
public  voidpopulateDocumentForRouting()
     This is the method to integrate with workflow, where we will actually populate the workflow defined data structure(s) so that workflow can routed based on this data.
public  voidpostProcessSave(KualiDocumentEvent event)
     Do any work on the document after the save.
public  voidprepareForSave()
     This method provides a hook that will be called before the document is saved.
public  voidprepareForSave(KualiDocumentEvent event)
     Do any work on the document that requires the KualiDocumentEvent before the save.
public  voidprocessAfterRetrieve()
     This method provides a hook that will be called after a document is retrieved, but before it is returned from the DocumentService.
public  StringserializeDocumentToXml()
     This is a method where we can get the xml of a document that the workflow system will use to base it's routing and search attributes on.
public  voidsetAdHocRoutePersons(List adHocRoutePersons)
    
public  voidsetAdHocRouteWorkgroups(List adHocRouteWorkgroups)
    
public  voidsetDocumentHeader(DocumentHeader documentHeader)
     Sets the associated DocumentHeader for this document.
public  voidsetDocumentNumber(String documentHeaderId)
    
public  voidvalidateBusinessRules(KualiDocumentEvent event)
     Sends document off to the rules engine to verify business rules.



Method Detail
doActionTaken
public void doActionTaken(ActionTakenEventVO event)(Code)
method to integrate with workflow where we will be able to perform logic for an action taken being performed on a document



doRouteStatusChange
public void doRouteStatusChange(DocumentRouteStatusChangeVO statusChangeEvent) throws Exception(Code)
Handle the doRouteStatusChange event from the post processor



generateSaveEvents
public List generateSaveEvents()(Code)
Generate any necessary events required during the save event generation



getAdHocRoutePersons
public List getAdHocRoutePersons()(Code)
getter method to get the list of ad hoc route persons associated with a document at a point in time, this list is only valid for a given users version of a document as this state is only persisted in workflow itself when someone takes an action on a document



getAdHocRouteWorkgroups
public List getAdHocRouteWorkgroups()(Code)
getter method to get the list of ad hoc route workgroups associated with a document at a point in time, this list is only valid for a given users version of a document as this state is only persisted in workflow itself when someone takes an action on a document



getAllowsCopy
public boolean getAllowsCopy()(Code)
This method returns whether or not this document can be copied. True if it can be copied, false if not.



getDocumentBusinessObject
public PersistableBusinessObject getDocumentBusinessObject()(Code)
This is a helper to return BO for use by notes, it allows both maintenance and transactional to have consistent notes paths without the tag or action knowing what kind of document they are "this" unless overriden



getDocumentHeader
public DocumentHeader getDocumentHeader()(Code)
This retrieves the standard DocumentHeader object, which contains standard meta-data about a document. document header since all docs will have a document header



getDocumentNumber
public String getDocumentNumber()(Code)
All documents have a document header id. This is the quick accessor to that unique identifier and should return the same value as documentHeader.getDocumentHeaderId(). doc header id



getDocumentTitle
public String getDocumentTitle()(Code)
Getter method to get the document title as it will appear in and be searchable in workflow.



getXmlForRouteReport
public String getXmlForRouteReport()(Code)
This method is used to get the xml that should be used in a Route Report. In it's default implementation this will call the methods prepareForSave() and populateDocumentForRouting().



handleRouteLevelChange
public void handleRouteLevelChange(DocumentRouteLevelChangeVO levelChangeEvent)(Code)
method to integrate with workflow, where we will actually handle the transitions of levels for documents



handleRouteStatusChange
public void handleRouteStatusChange()(Code)
method to integrate with workflow, where we will actually handle the transitions of status for documents



populateDocumentForRouting
public void populateDocumentForRouting()(Code)
This is the method to integrate with workflow, where we will actually populate the workflow defined data structure(s) so that workflow can routed based on this data. This method is responsible for passing over the proper Kuali (client system) data that will be used by workflow to determine how the document is actually routed.



postProcessSave
public void postProcessSave(KualiDocumentEvent event)(Code)
Do any work on the document after the save.
Parameters:
  event - - indicates which document event was requested



prepareForSave
public void prepareForSave()(Code)
This method provides a hook that will be called before the document is saved. This method is useful for applying document level data to children. For example, if someone changes data at the document level, and that data needs to be propagated to child objects or child lists of objects, you can use this method to update the child object or iterate through the list of child objects and apply the document level data to them. Any document that follows this paradigm will need to make use of this method to apply all of those changes.



prepareForSave
public void prepareForSave(KualiDocumentEvent event)(Code)
Do any work on the document that requires the KualiDocumentEvent before the save.
Parameters:
  event - - indicates which document event was requested



processAfterRetrieve
public void processAfterRetrieve()(Code)
This method provides a hook that will be called after a document is retrieved, but before it is returned from the DocumentService.



serializeDocumentToXml
public String serializeDocumentToXml()(Code)
This is a method where we can get the xml of a document that the workflow system will use to base it's routing and search attributes on. the document serialized to an xml string



setAdHocRoutePersons
public void setAdHocRoutePersons(List adHocRoutePersons)(Code)
setter method to set the list of ad hoc route persons associated with a document at a point in time, this list is only valid for a given users version of a document as this state is only persisted in workflow itself when someone takes an action on a document
Parameters:
  adHocRoutePersons -



setAdHocRouteWorkgroups
public void setAdHocRouteWorkgroups(List adHocRouteWorkgroups)(Code)
setter method to set the list of ad hoc route workgroups associated with a document at a point in time, this list is only valid for a given users version of a document as this state is only persisted in workflow itself when someone takes an action on a document
Parameters:
  adHocRouteWorkgroups -



setDocumentHeader
public void setDocumentHeader(DocumentHeader documentHeader)(Code)
Sets the associated DocumentHeader for this document.
Parameters:
  documentHeader -



setDocumentNumber
public void setDocumentNumber(String documentHeaderId)(Code)
setter for document header id
Parameters:
  documentHeaderId -



validateBusinessRules
public void validateBusinessRules(KualiDocumentEvent event)(Code)
Sends document off to the rules engine to verify business rules.
Parameters:
  document - - document to validate
Parameters:
  event - - indicates which document event was requested
throws:
  ValidationException - - containing the MessageMap from the validation session.



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