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


java.lang.Object
   org.kuali.core.service.impl.DocumentServiceImpl

DocumentServiceImpl
public class DocumentServiceImpl implements DocumentService(Code)
This class is the service implementation for the Document structure. It contains all of the document level type of processing and calling back into documents for various centralization of functionality. This is the default, Kuali delivered implementation which utilizes OneStart Workflow.


Field Summary
protected  BusinessObjectServicebusinessObjectService
    
protected  DocumentAuthorizationServicedocumentAuthorizationService
    
protected  DocumentDaodocumentDao
    
protected  WorkflowDocumentServiceworkflowDocumentService
    


Method Summary
public  DocumentacknowledgeDocument(Document document, String annotation, List adHocRecipients)
    
public  booleanaddNoteToDocument(Document document, Note note)
    
public  DocumentapproveDocument(Document document, String annotation, List adHocRecipients)
    
public  DocumentblanketApproveDocument(Document document, String annotation, List adHocRecipients)
    
public  DocumentcancelDocument(Document document, String annotation)
    
protected  voidcheckForNulls(Document document)
    
public  DocumentclearDocumentFyi(Document document, List adHocRecipients)
    
public  NotecreateNoteFromDocument(Document document, String text)
    
public  DocumentdisapproveDocument(Document document, String annotation)
    
public  booleandocumentExists(String documentHeaderId)
    
public  CollectionfindByDocumentHeaderStatusCode(Class clazz, String statusCode)
    
public  DocumentgetByDocumentHeaderId(String documentHeaderId)
    
public  ListgetDocumentsByListOfDocumentHeaderIds(Class clazz, List documentHeaderIds)
     The default implementation - this retrieves all documents by a list of documentHeader for a given class.
public  CollectiongetFinalDocumentHeadersByDate(Date documentFinalDate)
    
public  DocumentgetNewDocument(Class documentClass)
     Creates a new document by class.
public  DocumentgetNewDocument(String documentTypeName)
     Creates a new document by document type name.
public  PersistableBusinessObjectgetNoteParent(Document document, Note newNote)
    
public  voidprepareWorkflowDocument(Document document)
    
public  DocumentrouteDocument(Document document, String annotation, List adHocRecipients)
    
public  DocumentsaveDocument(Document document)
    
public  DocumentsaveDocument(Document document, Class kualiDocumentEventClass)
    
public  voidsetBusinessObjectService(BusinessObjectService businessObjectService)
     Sets the businessObjectService attribute value.
public  voidsetDateTimeService(DateTimeService dateTimeService)
    
public  voidsetDictionaryValidationService(DictionaryValidationService dictionaryValidationService)
    
public  voidsetDocumentAuthorizationService(DocumentAuthorizationService documentAuthorizationService)
     Sets the documentAuthorizationService attribute value.
public  voidsetDocumentDao(DocumentDao documentDao)
     Sets the documentDao attribute value.
public  voidsetDocumentHeaderDao(DocumentHeaderDao documentHeaderDao)
    
public  voidsetDocumentTypeService(DocumentTypeService documentTypeService)
    
public  voidsetKualiRuleService(KualiRuleService kualiRuleService)
    
final public  voidsetMaintenanceDocumentService(MaintenanceDocumentService maintenanceDocumentService)
     Sets the maintenanceDocumentService attribute value.
public  voidsetNoteService(NoteService noteService)
     Sets the noteService attribute value.
public  voidsetWorkflowDocumentService(WorkflowDocumentService workflowDocumentService)
     Sets the workflowDocumentService attribute value.
public  DocumentsuperUserApproveDocument(Document document, String annotation)
    
public  DocumentsuperUserCancelDocument(Document document, String annotation)
    
public  DocumentsuperUserDisapproveDocument(Document document, String annotation)
    
public  voidupdateDocument(Document document)
    
public  voidvalidateAndPersistDocument(Document document, KualiDocumentEvent event)
     Validates and persists a document.

Field Detail
businessObjectService
protected BusinessObjectService businessObjectService(Code)



documentAuthorizationService
protected DocumentAuthorizationService documentAuthorizationService(Code)



documentDao
protected DocumentDao documentDao(Code)



workflowDocumentService
protected WorkflowDocumentService workflowDocumentService(Code)





Method Detail
acknowledgeDocument
public Document acknowledgeDocument(Document document, String annotation, List adHocRecipients) throws WorkflowException(Code)

See Also:   org.kuali.core.service.DocumentService.acknowledgeDocument(org.kuali.core.document.Documentjava.lang.Stringjava.util.List)



addNoteToDocument
public boolean addNoteToDocument(Document document, Note note)(Code)

See Also:   org.kuali.core.service.DocumentService.addNoteToDocument(org.kuali.core.document.Documentorg.kuali.core.bo.Note)



approveDocument
public Document approveDocument(Document document, String annotation, List adHocRecipients) throws ValidationException, WorkflowException(Code)

See Also:   org.kuali.core.service.DocumentService.approveDocument(org.kuali.core.document.Documentjava.lang.Stringjava.util.List)



blanketApproveDocument
public Document blanketApproveDocument(Document document, String annotation, List adHocRecipients) throws ValidationException, WorkflowException(Code)

See Also:   org.kuali.core.service.DocumentService.blanketApproveDocument(org.kuali.core.document.Documentjava.lang.Stringjava.util.List)



cancelDocument
public Document cancelDocument(Document document, String annotation) throws WorkflowException(Code)

See Also:   org.kuali.core.service.DocumentService.cancelDocument(org.kuali.core.document.Documentjava.lang.String)



checkForNulls
protected void checkForNulls(Document document)(Code)



clearDocumentFyi
public Document clearDocumentFyi(Document document, List adHocRecipients) throws WorkflowException(Code)

See Also:   org.kuali.core.service.DocumentService.clearDocumentFyi(org.kuali.core.document.Documentjava.util.List)



createNoteFromDocument
public Note createNoteFromDocument(Document document, String text) throws Exception(Code)

See Also:   org.kuali.core.service.DocumentService.createNoteFromDocument(org.kuali.core.document.Documentjava.lang.String)



disapproveDocument
public Document disapproveDocument(Document document, String annotation) throws Exception(Code)

See Also:   org.kuali.core.service.DocumentService.disapproveDocument(org.kuali.core.document.Documentjava.lang.String)



documentExists
public boolean documentExists(String documentHeaderId)(Code)

See Also:   org.kuali.core.service.DocumentService.documentExists(java.lang.String)



findByDocumentHeaderStatusCode
public Collection findByDocumentHeaderStatusCode(Class clazz, String statusCode) throws WorkflowException(Code)

See Also:   org.kuali.core.service.DocumentService.findByDocumentHeaderStatusCode(java.lang.Classjava.lang.String)



getByDocumentHeaderId
public Document getByDocumentHeaderId(String documentHeaderId) throws WorkflowException(Code)
This is temporary until workflow 2.0 and reads from a table to get documents whose status has changed to A (approved - no outstanding approval actions requested)
Parameters:
  documentHeaderId -
throws:
  WorkflowException - Document



getDocumentsByListOfDocumentHeaderIds
public List getDocumentsByListOfDocumentHeaderIds(Class clazz, List documentHeaderIds) throws WorkflowException(Code)
The default implementation - this retrieves all documents by a list of documentHeader for a given class.
See Also:   org.kuali.core.service.DocumentService.getDocumentsByListOfDocumentHeaderIds(java.lang.Classjava.util.List)



getFinalDocumentHeadersByDate
public Collection getFinalDocumentHeadersByDate(Date documentFinalDate) throws WorkflowException(Code)

See Also:   org.kuali.core.service.DocumentService.getFinalDocumentHeadersByDate(Date documentFinalDate)



getNewDocument
public Document getNewDocument(Class documentClass) throws WorkflowException(Code)
Creates a new document by class.
See Also:   org.kuali.core.service.DocumentService.getNewDocument(java.lang.Class)



getNewDocument
public Document getNewDocument(String documentTypeName) throws WorkflowException(Code)
Creates a new document by document type name.
See Also:   org.kuali.core.service.DocumentService.getNewDocument(java.lang.String)



getNoteParent
public PersistableBusinessObject getNoteParent(Document document, Note newNote)(Code)



prepareWorkflowDocument
public void prepareWorkflowDocument(Document document) throws WorkflowException(Code)
Sets the title and app document id in the flex document
Parameters:
  document -
throws:
  WorkflowException -



routeDocument
public Document routeDocument(Document document, String annotation, List adHocRecipients) throws ValidationException, WorkflowException(Code)

See Also:   org.kuali.core.service.DocumentService.routeDocument(org.kuali.core.document.Documentjava.lang.Stringjava.util.List)



saveDocument
public Document saveDocument(Document document) throws WorkflowException, ValidationException(Code)

See Also:   org.kuali.core.service.DocumentService.saveDocument(org.kuali.core.document.Document)



saveDocument
public Document saveDocument(Document document, Class kualiDocumentEventClass) throws WorkflowException, ValidationException(Code)



setBusinessObjectService
public void setBusinessObjectService(BusinessObjectService businessObjectService)(Code)
Sets the businessObjectService attribute value.
Parameters:
  businessObjectService - The businessObjectService to set.



setDateTimeService
public void setDateTimeService(DateTimeService dateTimeService)(Code)
spring injected date time service
Parameters:
  dateTimeService -



setDictionaryValidationService
public void setDictionaryValidationService(DictionaryValidationService dictionaryValidationService)(Code)

Parameters:
  dictionaryValidationService - The dictionaryValidationService to set.



setDocumentAuthorizationService
public void setDocumentAuthorizationService(DocumentAuthorizationService documentAuthorizationService)(Code)
Sets the documentAuthorizationService attribute value.
Parameters:
  documentAuthorizationService - The documentAuthorizationService to set.



setDocumentDao
public void setDocumentDao(DocumentDao documentDao)(Code)
Sets the documentDao attribute value.
Parameters:
  documentDao - The documentDao to set.



setDocumentHeaderDao
public void setDocumentHeaderDao(DocumentHeaderDao documentHeaderDao)(Code)
dao injected by spring
Parameters:
  documentHeaderDao -



setDocumentTypeService
public void setDocumentTypeService(DocumentTypeService documentTypeService)(Code)
spring injected document type service
Parameters:
  documentTypeService -



setKualiRuleService
public void setKualiRuleService(KualiRuleService kualiRuleService)(Code)

Parameters:
  kualiRuleService - The kualiRuleService to set.



setMaintenanceDocumentService
final public void setMaintenanceDocumentService(MaintenanceDocumentService maintenanceDocumentService)(Code)
Sets the maintenanceDocumentService attribute value.
Parameters:
  maintenanceDocumentService - The maintenanceDocumentService to set.



setNoteService
public void setNoteService(NoteService noteService)(Code)
Sets the noteService attribute value.
Parameters:
  noteService - The noteService to set.



setWorkflowDocumentService
public void setWorkflowDocumentService(WorkflowDocumentService workflowDocumentService)(Code)
Sets the workflowDocumentService attribute value.
Parameters:
  workflowDocumentService - The workflowDocumentService to set.



superUserApproveDocument
public Document superUserApproveDocument(Document document, String annotation) throws WorkflowException(Code)

See Also:   org.kuali.core.service.DocumentService.superUserApproveDocument(org.kuali.core.document.Documentjava.lang.String)



superUserCancelDocument
public Document superUserCancelDocument(Document document, String annotation) throws WorkflowException(Code)

See Also:   org.kuali.core.service.DocumentService.superUserCancelDocument(org.kuali.core.document.Documentjava.lang.String)



superUserDisapproveDocument
public Document superUserDisapproveDocument(Document document, String annotation) throws WorkflowException(Code)

See Also:   org.kuali.core.service.DocumentService.superUserCancelDocument(org.kuali.core.document.Documentjava.lang.String)



updateDocument
public void updateDocument(Document document)(Code)
This is to allow for updates of document statuses and other related requirements for updates outside of the initial save and route



validateAndPersistDocument
public void validateAndPersistDocument(Document document, KualiDocumentEvent event) throws WorkflowException, ValidationException(Code)
Validates and persists a document.
See Also:   org.kuali.core.service.DocumentService.validateAndPersistDocument(org.kuali.core.document.Documentjava.lang.String)



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.