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


org.kuali.core.document.authorization.TransactionalDocumentAuthorizerBase
   org.kuali.kfs.document.authorization.AccountingDocumentAuthorizerBase

All known Subclasses:   org.kuali.module.financial.document.authorization.AdvanceDepositDocumentAuthorizer,  org.kuali.module.financial.document.authorization.CreditCardReceiptDocumentAuthorizer,  org.kuali.module.financial.document.authorization.ProcurementCardDocumentAuthorizer,  org.kuali.module.financial.document.authorization.CashReceiptDocumentAuthorizer,  org.kuali.module.purap.document.authorization.PaymentRequestDocumentAuthorizer,  org.kuali.module.purap.document.authorization.PurchaseOrderDocumentAuthorizer,  org.kuali.module.purap.document.authorization.RequisitionDocumentAuthorizer,  org.kuali.module.financial.document.authorization.JournalVoucherDocumentAuthorizer,  org.kuali.module.purap.document.authorization.CreditMemoDocumentAuthorizer,  org.kuali.module.financial.document.authorization.InternalBillingDocumentAuthorizer,  org.kuali.module.financial.document.authorization.DisbursementVoucherDocumentAuthorizer,  org.kuali.module.financial.document.authorization.ServiceBillingDocumentAuthorizer,  org.kuali.module.labor.document.authorization.LaborExpenseDocumentAuthorizerBase,  org.kuali.module.financial.document.authorization.BudgetAdjustmentDocumentAuthorizer,
AccountingDocumentAuthorizerBase
public class AccountingDocumentAuthorizerBase extends TransactionalDocumentAuthorizerBase implements AccountingDocumentAuthorizer(Code)
DocumentAuthorizer containing common, reusable document-level authorization code for financial (i.e. Transactional) documents




Method Summary
public  MapgetAccountingLineEditableFields(Document document, UniversalUser user)
    
protected static  ListgetCurrentRouteLevels(KualiWorkflowDocument workflowDocument)
     A helper method for determining the route levels for a given document.
public  MapgetEditMode(Document document, UniversalUser user, List sourceAccountingLines, List targetAccountingLines)
     The Kuali user interface code automatically reconstructs a complete document from a form's contents when a form is submitted, even if that form's contents are invalid (specifically, the Source and TargetAccountingLines from the form are used even if they contain invalid accountNumbers).
public  MapgetEditableAccounts(TransactionalDocument document, ChartUser user)
    
public  MapgetEditableAccounts(List<AccountingLine> lines, ChartUser user)
    
protected  booleanuserOwnsAnyAccountingLine(ChartUser user, List accountingLines)
    



Method Detail
getAccountingLineEditableFields
public Map getAccountingLineEditableFields(Document document, UniversalUser user)(Code)

See Also:   org.kuali.core.authorization.FinancialDocumentAuthorizer.getAccountingLineEditableFields(org.kuali.core.document.Documentorg.kuali.core.bo.user.KualiUser)



getCurrentRouteLevels
protected static List getCurrentRouteLevels(KualiWorkflowDocument workflowDocument)(Code)
A helper method for determining the route levels for a given document.
Parameters:
  workflowDocument - List



getEditMode
public Map getEditMode(Document document, UniversalUser user, List sourceAccountingLines, List targetAccountingLines)(Code)
The Kuali user interface code automatically reconstructs a complete document from a form's contents when a form is submitted, even if that form's contents are invalid (specifically, the Source and TargetAccountingLines from the form are used even if they contain invalid accountNumbers). Since the accounts referenced in the source and targetAccountingLines are used to determine editMode, when a) the document is enroute; b) the user is an FO, and receives the document for approval; and c) the user changes the accountNumbers on all accountingLines for which they are FO to something different or invalid, the form builds a Document for which the user is FO of none of the accountingLines, which makes the editMode computation incorrectly shift from EXPENSE_ENTRY to ACCOUNT_REVIEW, which makes it impossible for the user to restore the lines which they just rendered invalid. The simplest way to avoid that is to allow the UI to pass in the baselineSource and target accountingLines, so that the editability can be determined from them (since they are, by definition, valid and authoritative).

Note that document types which route straight to final will get an edit mode of VIEW_ONLY or FULL_ENTRY, never EXPENSE_ENTRY, because even if the state is briefly enroute, the route level is never ORG_REVIEW or ACCOUNT_REVIEW.
See Also:   org.kuali.module.financial.document.authorization.FinancialDocumentAuthorizer.getEditMode(org.kuali.core.document.Documentorg.kuali.core.bo.user.UniversalUserjava.util.Listjava.util.List)



getEditableAccounts
public Map getEditableAccounts(TransactionalDocument document, ChartUser user)(Code)

See Also:   org.kuali.module.financial.document.authorization.FinancialDocumentAuthorizer.getEditableAccounts(org.kuali.core.document.TransactionalDocumentorg.kuali.module.chart.bo.ChartUser)



getEditableAccounts
public Map getEditableAccounts(List<AccountingLine> lines, ChartUser user)(Code)

See Also:   org.kuali.kfs.document.authorization.AccountingDocumentAuthorizer.getEditableAccounts(java.util.Listorg.kuali.module.chart.bo.ChartUser)



userOwnsAnyAccountingLine
protected boolean userOwnsAnyAccountingLine(ChartUser user, List accountingLines)(Code)

Parameters:
  accountingLines -
Parameters:
  user - true if the given user is responsible for any accounting line of the given transactionalDocument



Methods inherited from org.kuali.core.document.authorization.TransactionalDocumentAuthorizerBase
public DocumentActionFlags getDocumentActionFlags(Document document, UniversalUser user)(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.