1 / 42

Building KFS using KNS

Building KFS using KNS. Presented by. Building KFS using KNS. The Kuali Nervous System provides a rich set of open source functionality which can be used to build an electronic document started as part of the Kuali Financial Systems project

bernad
Download Presentation

Building KFS using KNS

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Building KFS using KNS Presented by

  2. Building KFS using KNS The Kuali Nervous System provides a rich set of open source functionality which can be used to build an electronic document started as part of the Kuali Financial Systems project now part of Rice and Kuali Research Administration uses it too

  3. What is an eDoc? A conglomeration of business objects A user can enter values on and have them validated Routed in the Kuali Enterprise Workflow engine Associates authorizations with functionality

  4. When finalized, does a service The platform: your browser Overview Of Documents

  5. Types of Docs • Two types of documents • Maintenance Documents • Transactional Documents

  6. Maintenance Documents • Creates, Edits, Copies, and Inactivates Business Objects

  7. Transactional Documents • Any service you can think of

  8. Business Objects Central to the KNS frameworks Represent entities of the business domain Plain Old Java Objects Mapped to tables using OJB Transferred through application layers

  9. Business Objects On the Move! Business Objects

  10. Business Objects can contain other child business objects A document can contain many of these course grained business objects Business Objects

  11. KNS – The Toolkit KNS frameworks provide infrastructure for common business object operations. Lookups allow users to find and return specific values. Inquiries allow users to see related data for a specific value’s record. Maintenance documents create or update new business object entities.

  12. Lookup Example Lookups/Inquiries

  13. Inquiry Example Lookups/Inquiries

  14. Maintenance Document Example Maintenance

  15. The Data Dictionary Business Object XML Provides metadata for business object properties i.e. maxLength, labels, control types Metadata is accessible in JSPs for business object field rendering Contains lookup and inquiry sections used for constructing those screens by the frameworks

  16. Transactional Document XML Maps a document class to a document name (workflow) and document type Associates a Rule class and Authorizer class with the document type Defines initiation workgroup Indicates whether the transaction can be copied or error corrected Defines title and description for the document The Data Dictionary

  17. Workflow • Now we need to decide who all gets to approve our document…

  18. Configured by XML Rules decide what goes where Also: we set document search functionality here Workflow

  19. KFS – The Classes A document is also Business Object but one that implements the ‘Document’ interface But, of course, there’s a large infrastructure that you can extend

  20. The Document Hierarchy The Document Hierarchy

  21. Document Hierarchy • If you’ve got accounting lines on a document, you’ll be extending AccountingDocumentBase • lots of base functionality for accounting documents

  22. Parallel Hierarchies Parallel Hierarchies

  23. Business Rules Central to the KFS! A rule class is linked to a document through the document’s data dictionary Rules are in code, but are highly customizable System Parameters Redefine rule class in the data dictionary The rule classes follow the document hierarchy, so many validations can be inherited

  24. Rules respond to actions on a document like save or route Rules receive a copy of the object to validate Errors are added to a Global Map Errors are associated with a document property so they can be displayed near the invalid property Business Rules

  25. Document Authorizers Even with rules and permissions, not all users can access all documents Document Authorizers are the guards!

  26. Document Authorizers Document authorizers tell whether a document Can be initiated by the current user What fields can be changed by the current user Can be routed, saved, or approved by the current user

  27. Document Service Provides common document Service methods What can Document Service do for you? Get a new Document instance Retrieve a current document Validate (by calling rules engine) and persist a document

  28. The Document Face KFS uses Struts That means each doc needs: A form that wraps the document An action to defer to services JSP pages to show everything Uses JSP taglets

  29. Document Tags Document Page Tag Document Overview Tag

  30. Accounting Lines Tag Document Tags

  31. Pending Entries Tag Document Tags Notes Tag

  32. Route Log Tag Document Tags

  33. Document Controls Tag Document Tags

  34. Services • Finally, when our doc goes to final, it needs to do something! Thankfully, we have a rich service library in KFS that can be extended, changed, and used by documents to do their transaction

  35. 1. CreateBusiness Objects, Data Dictionary files, and the Document object The Document Recipe

  36. 2. Create a JSP file and include common tags. Then create tags for specific content The Document Recipe

  37. 3. Create Action form for holding the document and Action class for handling requests The Document Recipe

  38. 4. Create a Rule class and write rules for approve, route, and other events The Document Recipe

  39. 5. Create an Authorizer class to export any custom permission schemes The Document Recipe

  40. 6. Configure the Workflow XML that describes how the document will Route The Document Recipe

  41. Credit Card Receipt Demo & Code Walkthrough

  42. Now You Talk! Questions? Comments?

More Related