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


java.lang.Object
   org.kuali.core.maintenance.KualiMaintainableImpl

All known Subclasses:   org.kuali.module.chart.maintenance.KualiDelegateMaintainableImpl,  org.kuali.module.chart.maintenance.KualiAccountMaintainableImpl,  org.kuali.module.purap.maintenance.PurchaseOrderQuoteLanguageMaintainableImpl,  org.kuali.module.vendor.maintenance.VendorMaintainableImpl,  org.kuali.module.cg.maintenance.AwardMaintainableImpl,  org.kuali.module.purap.maintenance.PurchaseOrderContractLanguageMaintainableImpl,  org.kuali.module.cg.maintenance.ProposalMaintainableImpl,  org.kuali.module.pdp.document.maintenance.PayeeAchAccountMaintainable,  org.kuali.module.chart.maintenance.KualiOrgMaintainable,  org.kuali.core.maintenance.UniversalUserMaintainable,  org.kuali.core.maintenance.KualiGlobalMaintainableImpl,  org.kuali.module.chart.maintenance.OrganizationReversionMaintainableImpl,
KualiMaintainableImpl
public class KualiMaintainableImpl implements Maintainable,Serializable(Code)
Base Maintainable class to hold things common to all maintainables.


Field Summary
protected  ClassboClass
    
protected  PersistableBusinessObjectbusinessObject
    
protected  StringdocumentNumber
    
protected  booleangenerateBlankRequiredValues
    
protected  booleangenerateDefaultValues
    
protected  Map<String, Boolean>inactiveRecordDisplay
    
protected  StringmaintenanceAction
    
protected  Map<String, PersistableBusinessObject>newCollectionLines
    

Constructor Summary
public  KualiMaintainableImpl()
    
public  KualiMaintainableImpl(PersistableBusinessObject businessObject)
     Constructor which initializes the business object to be maintained.

Method Summary
public  voidaddMultipleValueLookupResults(MaintenanceDocument document, String collectionName, Collection<PersistableBusinessObject> rawValues)
    
public  voidaddNewLineToCollection(String collectionName)
    
protected  Collection<String>generateAllAffectedReferences(Class boClass, Map<String, String> fkToPkMappings, String nestedBOPrefix, String collectionPrefix)
    
public  List<MaintenanceLock>generateMaintenanceLocks()
     Note: as currently implemented, every key field for a given BusinessObject subclass must have a visible getter.
public  Collection<String>getAffectedReferencesFromLookup(BusinessObject baseBO, String attributeName, String collectionPrefix)
    
protected  Collection<String>getAllRefreshableReferences(Class boClass)
    
public  ClassgetBoClass()
    
public  PersistableBusinessObjectgetBusinessObject()
    
public  List<Section>getCoreSections(Maintainable oldMaintainable)
     Gets list of maintenance sections built from the data dictionary.
public  StringgetDocumentTitle(MaintenanceDocument document)
     This is a hook to allow the document to override the generic document title.
public  List<String>getDuplicateIdentifierFieldsFromDataDictionary(String docTypeName, String collectionName)
     This method is to retrieve a List of fields which are specified in the maintenance document data dictionary as the duplicateIdentificationFields.
public  Map<String, Boolean>getInactiveRecordDisplay()
    
public  StringgetMaintainableTitle()
    
public  StringgetMaintenanceAction()
    
public  List<String>getMultiValueIdentifierList(Collection maintCollection, List<String> duplicateIdentifierFields)
    
public  PersistableBusinessObjectgetNewCollectionLine(String collectionName)
    
public  ListgetSections(Maintainable oldMaintainable)
     Calls method to get all the core sections for the business object defined in the data dictionary.
public  booleangetShowInactiveRecords(String collectionName)
    
public  voidhandleRouteStatusChange(DocumentHeader documentHeader)
    
public  booleanhasBusinessObjectExisted(BusinessObject bo, List<String> existingIdentifierList, List<String> duplicateIdentifierFields)
    
public  PersistableBusinessObjectinitNewCollectionLine(String collectionName)
    
public  booleanisBoNotesEnabled()
    
public  booleanisGenerateBlankRequiredValues()
    
public  booleanisGenerateDefaultValues()
    
protected  booleanisRelationshipRefreshable(Class boClass, String relationshipName)
    
public  MappopulateBusinessObject(Map fieldValues)
    
public  MappopulateNewCollectionLines(Map fieldValues)
    
protected  MappopulateNewSubCollectionLines(MaintainableCollectionDefinition parentCollection, Map fieldValues)
    
public  voidprepareBusinessObjectForAdditionFromMultipleValueLookup(String collectionName, BusinessObject bo)
    
public  voidprepareForSave()
    
public  voidprocessAfterAddLine(String colName, Class colClass)
    
public  voidprocessAfterCopy()
    
public  voidprocessAfterEdit()
    
public  voidprocessAfterRetrieve()
    
public  voidrefresh(String refreshCaller, Map fieldValues, MaintenanceDocument document)
    
protected  voidrefreshReferences(String referencesToRefresh)
    
public  voidsaveBusinessObject()
    
public  voidsetBoClass(Class boClass)
    
public  voidsetBusinessObject(PersistableBusinessObject businessObject)
    
final public  voidsetDocumentNumber(String documentNumber)
     Sets the documentNumber attribute value.
public  voidsetGenerateBlankRequiredValues(boolean generateBlankRequiredValues)
    
public  voidsetGenerateDefaultValues(boolean generateDefaultValues)
    
public  voidsetMaintenanceAction(String maintenanceAction)
    
public  voidsetShowInactiveRecords(String collectionName, boolean showInactive)
    
public  voidsetupNewFromExisting()
    

Field Detail
boClass
protected Class boClass(Code)



businessObject
protected PersistableBusinessObject businessObject(Code)



documentNumber
protected String documentNumber(Code)



generateBlankRequiredValues
protected boolean generateBlankRequiredValues(Code)



generateDefaultValues
protected boolean generateDefaultValues(Code)



inactiveRecordDisplay
protected Map<String, Boolean> inactiveRecordDisplay(Code)



maintenanceAction
protected String maintenanceAction(Code)



newCollectionLines
protected Map<String, PersistableBusinessObject> newCollectionLines(Code)




Constructor Detail
KualiMaintainableImpl
public KualiMaintainableImpl()(Code)
Default empty constructor



KualiMaintainableImpl
public KualiMaintainableImpl(PersistableBusinessObject businessObject)(Code)
Constructor which initializes the business object to be maintained.
Parameters:
  businessObject -




Method Detail
addMultipleValueLookupResults
public void addMultipleValueLookupResults(MaintenanceDocument document, String collectionName, Collection<PersistableBusinessObject> rawValues)(Code)



addNewLineToCollection
public void addNewLineToCollection(String collectionName)(Code)



generateAllAffectedReferences
protected Collection<String> generateAllAffectedReferences(Class boClass, Map<String, String> fkToPkMappings, String nestedBOPrefix, String collectionPrefix)(Code)



generateMaintenanceLocks
public List<MaintenanceLock> generateMaintenanceLocks()(Code)
Note: as currently implemented, every key field for a given BusinessObject subclass must have a visible getter. String containing the business object class and key value pairs of the current instance that can be used as a uniquelocking representation.



getAffectedReferencesFromLookup
public Collection<String> getAffectedReferencesFromLookup(BusinessObject baseBO, String attributeName, String collectionPrefix)(Code)



getAllRefreshableReferences
protected Collection<String> getAllRefreshableReferences(Class boClass)(Code)



getBoClass
public Class getBoClass()(Code)
Returns the boClass.



getBusinessObject
public PersistableBusinessObject getBusinessObject()(Code)
Returns the instance of the business object being maintained.



getCoreSections
public List<Section> getCoreSections(Maintainable oldMaintainable)(Code)
Gets list of maintenance sections built from the data dictionary. If the section contains maintenance fields, construct Row/Field UI objects and place under Section UI. If section contains a maintenance collection, call method to build a Section UI which contains rows of Container Fields. List of org.kuali.ui.Section objects



getDocumentTitle
public String getDocumentTitle(MaintenanceDocument document)(Code)
This is a hook to allow the document to override the generic document title. String document title



getDuplicateIdentifierFieldsFromDataDictionary
public List<String> getDuplicateIdentifierFieldsFromDataDictionary(String docTypeName, String collectionName)(Code)
This method is to retrieve a List of fields which are specified in the maintenance document data dictionary as the duplicateIdentificationFields. This List is used to determine whether the new entry being added to the collection is a duplicate entry and if so, we should not add the new entry to the existing collection
Parameters:
  docTypeName -
Parameters:
  collectionName -



getInactiveRecordDisplay
public Map<String, Boolean> getInactiveRecordDisplay()(Code)
the inactiveRecordDisplay



getMaintainableTitle
public String getMaintainableTitle()(Code)
Retrieves title for maintenance document from data dictionary



getMaintenanceAction
public String getMaintenanceAction()(Code)
Returns the maintenanceAction.



getMultiValueIdentifierList
public List<String> getMultiValueIdentifierList(Collection maintCollection, List<String> duplicateIdentifierFields)(Code)



getNewCollectionLine
public PersistableBusinessObject getNewCollectionLine(String collectionName)(Code)



getSections
public List getSections(Maintainable oldMaintainable)(Code)
Calls method to get all the core sections for the business object defined in the data dictionary. Then determines if the bo has custom attributes, if so builds a custom attribute section and adds to the section list. List of org.kuali.ui.Section objects



getShowInactiveRecords
public boolean getShowInactiveRecords(String collectionName)(Code)

See Also:   org.kuali.core.maintenance.Maintainable.getShowInactiveRecords(java.lang.String)



handleRouteStatusChange
public void handleRouteStatusChange(DocumentHeader documentHeader)(Code)



hasBusinessObjectExisted
public boolean hasBusinessObjectExisted(BusinessObject bo, List<String> existingIdentifierList, List<String> duplicateIdentifierFields)(Code)



initNewCollectionLine
public PersistableBusinessObject initNewCollectionLine(String collectionName)(Code)



isBoNotesEnabled
public boolean isBoNotesEnabled()(Code)
Retrieves the status of the boNotesEnabled



isGenerateBlankRequiredValues
public boolean isGenerateBlankRequiredValues()(Code)
Returns the generateDefaultValues.



isGenerateDefaultValues
public boolean isGenerateDefaultValues()(Code)
Returns the generateDefaultValues.



isRelationshipRefreshable
protected boolean isRelationshipRefreshable(Class boClass, String relationshipName)(Code)



populateBusinessObject
public Map populateBusinessObject(Map fieldValues)(Code)

See Also:   org.kuali.core.maintenance.Maintainable.populateBusinessObject(java.util.Map)



populateNewCollectionLines
public Map populateNewCollectionLines(Map fieldValues)(Code)

See Also:   org.kuali.core.maintenance.Maintainable.populateNewCollectionLines(java.util.Map)



populateNewSubCollectionLines
protected Map populateNewSubCollectionLines(MaintainableCollectionDefinition parentCollection, Map fieldValues)(Code)



prepareBusinessObjectForAdditionFromMultipleValueLookup
public void prepareBusinessObjectForAdditionFromMultipleValueLookup(String collectionName, BusinessObject bo)(Code)



prepareForSave
public void prepareForSave()(Code)

See Also:   org.kuali.core.maintenance.Maintainable.prepareForSave



processAfterAddLine
public void processAfterAddLine(String colName, Class colClass)(Code)



processAfterCopy
public void processAfterCopy()(Code)
Set the new collection records back to true so they can be deleted (copy should act like new)
See Also:   org.kuali.core.maintenance.KualiMaintainableImpl.processAfterCopy



processAfterEdit
public void processAfterEdit()(Code)

See Also:   org.kuali.core.maintenance.Maintainable.processAfterEdit



processAfterRetrieve
public void processAfterRetrieve()(Code)

See Also:   org.kuali.core.maintenance.Maintainable.processAfterRetrieve



refresh
public void refresh(String refreshCaller, Map fieldValues, MaintenanceDocument document)(Code)

See Also:   org.kuali.core.maintenance.Maintainable.refresh(java.lang.Stringjava.util.Map)
See Also:    Impls will be needed if custom action
See Also:   is needed on refresh.



refreshReferences
protected void refreshReferences(String referencesToRefresh)(Code)



saveBusinessObject
public void saveBusinessObject()(Code)

See Also:   org.kuali.core.maintenance.Maintainable.saveBusinessObject



setBoClass
public void setBoClass(Class boClass)(Code)

Parameters:
  boClass - The boClass to set.



setBusinessObject
public void setBusinessObject(PersistableBusinessObject businessObject)(Code)

Parameters:
  businessObject - Sets the instance of a business object that will be maintained.



setDocumentNumber
final public void setDocumentNumber(String documentNumber)(Code)
Sets the documentNumber attribute value.
Parameters:
  documentNumber - The documentNumber to set.



setGenerateBlankRequiredValues
public void setGenerateBlankRequiredValues(boolean generateBlankRequiredValues)(Code)

Parameters:
  generateDefaultValues - The generateDefaultValues to set.



setGenerateDefaultValues
public void setGenerateDefaultValues(boolean generateDefaultValues)(Code)

Parameters:
  generateDefaultValues - The generateDefaultValues to set.



setMaintenanceAction
public void setMaintenanceAction(String maintenanceAction)(Code)

Parameters:
  maintenanceAction - The maintenanceAction to set.



setShowInactiveRecords
public void setShowInactiveRecords(String collectionName, boolean showInactive)(Code)

See Also:   org.kuali.core.maintenance.Maintainable.setShowInactiveRecords(java.lang.Stringboolean)



setupNewFromExisting
public void setupNewFromExisting()(Code)



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.