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


org.kuali.core.web.struts.form.KualiForm
   org.kuali.core.web.struts.form.KualiDocumentFormBase

All known Subclasses:   org.kuali.core.web.struts.form.KualiTransactionalDocumentFormBase,  org.kuali.module.financial.web.struts.form.CashManagementForm,  org.kuali.core.web.struts.form.KualiMaintenanceForm,  org.kuali.module.gl.web.struts.form.CorrectionForm,  edu.sampleu.travel.web.form.TravelDocumentForm2,  org.kuali.module.kra.web.struts.form.ResearchDocumentFormBase,
KualiDocumentFormBase
abstract public class KualiDocumentFormBase extends KualiForm (Code)
TODO we should not be referencing eden constants from this class and wedding ourselves to that workflow application This class is the base action form for all documents.


Field Summary
protected  FormFileattachmentFile
    
protected  DocumentActionFlagsdocumentActionFlags
    
protected  MapeditingMode
    
protected  booleansuppressAllButtons
    

Constructor Summary
public  KualiDocumentFormBase()
    

Method Summary
protected  voidcustomInitMaxUploadSizes()
     Adds the attachment file size to the list of max file sizes.
public  MapgetAdHocActionRequestCodes()
    
public  AdHocRoutePersongetAdHocRoutePerson(int index)
    
public  ListgetAdHocRoutePersons()
    
public  AdHocRouteWorkgroupgetAdHocRouteWorkgroup(int index)
    
public  ListgetAdHocRouteWorkgroups()
    
public  StringgetAdditionalScriptFile(int index)
    
public  List<String>getAdditionalScriptFiles()
    
public  StringgetAnnotation()
    
public  FormFilegetAttachmentFile()
    
public  ListgetBoNotes()
     Gets the boNotes attribute.
public  StringgetCommand()
    
public  StringgetDocId()
    
public  StringgetDocTypeName()
    
public  DocumentgetDocument()
    
public  DocumentActionFlagsgetDocumentActionFlags()
    
public  MapgetEditingMode()
    
public  StringgetInitiatorNetworkId()
    
public  AdHocRouteRecipientgetNewAdHocRoutePerson()
    
public  AdHocRouteRecipientgetNewAdHocRouteWorkgroup()
    
public  NotegetNewNote()
    
public  KualiWorkflowDocumentgetWorkflowDocument()
    
public  booleanhasDocumentId()
    
public  booleanisDocumentEnRoute()
    
final protected  booleanisFormDocumentInitialized()
    
public  booleanisReturnToActionList()
    
final public  booleanisSuppressAllButtons()
     Gets the suppressAllButtons attribute.
public  booleanisUserDocumentInitiator()
    
public  voidpopulate(HttpServletRequest request)
     Setup workflow doc in the document.
public  voidpopulateAuthorizationFields(DocumentAuthorizer documentAuthorizer)
    
public  voidsetAdHocRoutePersons(List adHocRouteRecipients)
    
public  voidsetAdHocRouteWorkgroups(List adHocRouteWorkgroups)
    
public  voidsetAdditionalScriptFile(int index, String scriptFile)
    
public  voidsetAdditionalScriptFiles(List<String> additionalScriptFiles)
    
public  voidsetAnnotation(String annotation)
    
public  voidsetAttachmentFile(FormFile attachmentFile)
    
public  voidsetBoNotes(List boNotes)
     Sets the boNotes attribute value.
public  voidsetCommand(String command)
    
public  voidsetDocId(String docId)
    
public  voidsetDocTypeName(String docTypeName)
    
public  voidsetDocument(Document document)
    
protected  voidsetDocumentActionFlags(DocumentActionFlags documentActionFlags)
     Protected, since no external code should need to set it.
public  voidsetEditingMode(Map editingMode)
     Set editingMode for this document - unfortunately necessary, since validation failures bypass the normal populateAuthorizationFields call.
public  voidsetNewAdHocRoutePerson(AdHocRoutePerson newAdHocRoutePerson)
    
public  voidsetNewAdHocRouteWorkgroup(AdHocRouteWorkgroup newAdHocRouteWorkgroup)
    
public  voidsetNewNote(Note newNote)
    
public  voidsetReturnToActionList(boolean returnToActionList)
    
final public  voidsetSuppressAllButtons(boolean suppressAllButtons)
     Sets the suppressAllButtons attribute value.
protected  voiduseDocumentAuthorizer(DocumentAuthorizer documentAuthorizer)
    
public  ActionErrorsvalidate(ActionMapping mapping, HttpServletRequest request)
    

Field Detail
attachmentFile
protected FormFile attachmentFile(Code)



documentActionFlags
protected DocumentActionFlags documentActionFlags(Code)



editingMode
protected Map editingMode(Code)



suppressAllButtons
protected boolean suppressAllButtons(Code)




Constructor Detail
KualiDocumentFormBase
public KualiDocumentFormBase()(Code)
no args constructor that just initializes things for us




Method Detail
customInitMaxUploadSizes
protected void customInitMaxUploadSizes()(Code)
Adds the attachment file size to the list of max file sizes.
See Also:   org.kuali.core.web.struts.pojo.PojoFormBase.customInitMaxUploadSizes



getAdHocActionRequestCodes
public Map getAdHocActionRequestCodes()(Code)
a map of the possible action request codes that takes into account the users context on the document



getAdHocRoutePerson
public AdHocRoutePerson getAdHocRoutePerson(int index)(Code)
Special getter based on index to work with multi rows for ad hoc routing to persons struts page
Parameters:
  index -



getAdHocRoutePersons
public List getAdHocRoutePersons()(Code)
the list of ad hoc routing persons



getAdHocRouteWorkgroup
public AdHocRouteWorkgroup getAdHocRouteWorkgroup(int index)(Code)
Special getter based on index to work with multi rows for ad hoc routing to workgroups struts page
Parameters:
  index -



getAdHocRouteWorkgroups
public List getAdHocRouteWorkgroups()(Code)
get the ad hoc routing workgroup requests



getAdditionalScriptFile
public String getAdditionalScriptFile(int index)(Code)



getAdditionalScriptFiles
public List<String> getAdditionalScriptFiles()(Code)



getAnnotation
public String getAnnotation()(Code)
Returns the annotation.



getAttachmentFile
public FormFile getAttachmentFile()(Code)
attachmentFile



getBoNotes
public List getBoNotes()(Code)
Gets the boNotes attribute. Returns the boNotes.



getCommand
public String getCommand()(Code)
returns the command that was passed from workflow



getDocId
public String getDocId()(Code)
returns the docId that was passed from workflow on the url



getDocTypeName
public String getDocTypeName()(Code)
getter for the docTypeName that was passed from workflow on the url



getDocument
public Document getDocument()(Code)
Returns the Document



getDocumentActionFlags
public DocumentActionFlags getDocumentActionFlags()(Code)
DocumentActionFlags instance indicating what actions the current user can take on this document



getEditingMode
public Map getEditingMode()(Code)
Map of editingModes for this document, as set during the most recent call topopulate(javax.servlet.http.HttpServletRequest)



getInitiatorNetworkId
public String getInitiatorNetworkId()(Code)
getter for convenience that will return the initiators network id



getNewAdHocRoutePerson
public AdHocRouteRecipient getNewAdHocRoutePerson()(Code)
the new ad hoc route person object



getNewAdHocRouteWorkgroup
public AdHocRouteRecipient getNewAdHocRouteWorkgroup()(Code)
the new ad hoc route workgroup object



getNewNote
public Note getNewNote()(Code)



getWorkflowDocument
public KualiWorkflowDocument getWorkflowDocument()(Code)
FlexDoc for this form's document



hasDocumentId
public boolean hasDocumentId()(Code)
true if this form's getDocument() method returns a Document, and if that Document's getDocumentHeaderId methodreturns a non-null



isDocumentEnRoute
public boolean isDocumentEnRoute()(Code)
true if the workflowDocument associated with this form is currently enroute



isFormDocumentInitialized
final protected boolean isFormDocumentInitialized()(Code)
true if this document was properly initialized with a DocumentHeader and related KualiWorkflowDocument



isReturnToActionList
public boolean isReturnToActionList()(Code)



isSuppressAllButtons
final public boolean isSuppressAllButtons()(Code)
Gets the suppressAllButtons attribute. Returns the suppressAllButtons.



isUserDocumentInitiator
public boolean isUserDocumentInitiator()(Code)
TODO rk implemented to account for caps coming from kuali user service from workflow



populate
public void populate(HttpServletRequest request)(Code)
Setup workflow doc in the document.



populateAuthorizationFields
public void populateAuthorizationFields(DocumentAuthorizer documentAuthorizer)(Code)
Updates authorization-related form fields based on the current form contents



setAdHocRoutePersons
public void setAdHocRoutePersons(List adHocRouteRecipients)(Code)
set the ad hoc routing persons list
Parameters:
  adHocRouteRecipients -



setAdHocRouteWorkgroups
public void setAdHocRouteWorkgroups(List adHocRouteWorkgroups)(Code)
set the ad hoc routing workgroup requests
Parameters:
  adHocRouteWorkgroups -



setAdditionalScriptFile
public void setAdditionalScriptFile(int index, String scriptFile)(Code)



setAdditionalScriptFiles
public void setAdditionalScriptFiles(List<String> additionalScriptFiles)(Code)



setAnnotation
public void setAnnotation(String annotation)(Code)

Parameters:
  annotation - The annotation to set.



setAttachmentFile
public void setAttachmentFile(FormFile attachmentFile)(Code)

Parameters:
  attachmentFile - The attachmentFile to set.



setBoNotes
public void setBoNotes(List boNotes)(Code)
Sets the boNotes attribute value.
Parameters:
  boNotes - The boNotes to set.



setCommand
public void setCommand(String command)(Code)
setter for the command that was passed from workflow on the url
Parameters:
  command -



setDocId
public void setDocId(String docId)(Code)
setter for the docId that was passed from workflow on the url
Parameters:
  docId -



setDocTypeName
public void setDocTypeName(String docTypeName)(Code)
setter for the docTypeName that was passed from workflow on the url
Parameters:
  docTypeName -



setDocument
public void setDocument(Document document)(Code)

Parameters:
  document -



setDocumentActionFlags
protected void setDocumentActionFlags(DocumentActionFlags documentActionFlags)(Code)
Protected, since no external code should need to set it.



setEditingMode
public void setEditingMode(Map editingMode)(Code)
Set editingMode for this document - unfortunately necessary, since validation failures bypass the normal populateAuthorizationFields call. (Unfortunate because it makes the UI just a bit easier to hack, until we have the back-end checks of editingMode et al in place.)



setNewAdHocRoutePerson
public void setNewAdHocRoutePerson(AdHocRoutePerson newAdHocRoutePerson)(Code)
set the new ad hoc route person object
Parameters:
  newAdHocRoutePerson -



setNewAdHocRouteWorkgroup
public void setNewAdHocRouteWorkgroup(AdHocRouteWorkgroup newAdHocRouteWorkgroup)(Code)
set the new ad hoc route workgroup object
Parameters:
  newAdHocRouteWorkgroup -



setNewNote
public void setNewNote(Note newNote)(Code)



setReturnToActionList
public void setReturnToActionList(boolean returnToActionList)(Code)
Sets flag indicating whether upon completion of approve, blanketApprove, cancel, or disapprove, the user should be returned to the actionList instead of to the portal
Parameters:
  returnToActionList -



setSuppressAllButtons
final public void setSuppressAllButtons(boolean suppressAllButtons)(Code)
Sets the suppressAllButtons attribute value.
Parameters:
  suppressAllButtons - The suppressAllButtons to set.



useDocumentAuthorizer
protected void useDocumentAuthorizer(DocumentAuthorizer documentAuthorizer)(Code)
Refactored out actually calling the documentAuthorizer methods, since TransactionalDocuments call a differently-parameterized version of getEditMode
Parameters:
  documentAuthorizer -



validate
public ActionErrors validate(ActionMapping mapping, HttpServletRequest request)(Code)

See Also:   org.apache.struts.action.ActionForm.validate(org.apache.struts.action.ActionMappingjavax.servlet.http.HttpServletRequest)



Fields inherited from org.kuali.core.web.struts.form.KualiForm
protected List<ExtraButton> extraButtons(Code)(Java Doc)

Methods inherited from org.kuali.core.web.struts.form.KualiForm
public Map getActionFormUtilMap()(Code)(Java Doc)
public KeyLabelPair getAdditionalDocInfo1()(Code)(Java Doc)
public KeyLabelPair getAdditionalDocInfo2()(Code)(Java Doc)
public String getAnchor()(Code)(Java Doc)
public int getCurrentTabIndex()(Code)(Java Doc)
public Map getDisplayedErrors()(Code)(Java Doc)
public ExtraButton getExtraButton(int index)(Code)(Java Doc)
public List<ExtraButton> getExtraButtons()(Code)(Java Doc)
public HeaderNavigation[] getHeaderNavigationTabs()(Code)(Java Doc)
public String getMethodToCall()(Code)(Java Doc)
public String getNavigationCss()(Code)(Java Doc)
public int getNextArbitrarilyHighIndex()(Code)(Java Doc)
public String getRefreshCaller()(Code)(Java Doc)
public String getTabState(String key)(Code)(Java Doc)
public Map<String, String> getTabStates()(Code)(Java Doc)
public void incrementTabIndex()(Code)(Java Doc)
public boolean isFieldLevelHelpEnabled()(Code)(Java Doc)
public void populate(HttpServletRequest request)(Code)(Java Doc)
protected void populateFieldLevelHelpEnabled(HttpServletRequest request)(Code)(Java Doc)
public void setActionFormUtilMap(Map validOptionsMap)(Code)(Java Doc)
public void setAdditionalDocInfo1(KeyLabelPair additionalDocInfo1)(Code)(Java Doc)
public void setAdditionalDocInfo2(KeyLabelPair additionalDocInfo2)(Code)(Java Doc)
public void setAnchor(String anchor)(Code)(Java Doc)
public void setCurrentTabIndex(int currentTabIndex)(Code)(Java Doc)
public void setExtraButton(int index, ExtraButton extraButton)(Code)(Java Doc)
public void setExtraButtons(List<ExtraButton> extraButtons)(Code)(Java Doc)
public void setFieldLevelHelpEnabled(boolean fieldLevelHelpEnabled)(Code)(Java Doc)
public void setHeaderNavigationTabs(HeaderNavigation[] headerNavigationTabs)(Code)(Java Doc)
public void setMethodToCall(String methodToCall)(Code)(Java Doc)
public void setNavigationCss(String navigationCss)(Code)(Java Doc)
public void setRefreshCaller(String refreshCaller)(Code)(Java Doc)
public void setTabStates(Map<String, String> tabStates)(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.