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


java.lang.Object
   org.kuali.core.maintenance.KualiMaintainableImpl
      org.kuali.module.vendor.maintenance.VendorMaintainableImpl

VendorMaintainableImpl
public class VendorMaintainableImpl extends KualiMaintainableImpl (Code)




Method Summary
public  List<MaintenanceLock>generateMaintenanceLocks()
     Returns the locking representation of the vendor.
public  StringgetDocumentTitle(MaintenanceDocument document)
    
public  ListgetSections(Maintainable oldMaintainable)
     Overrides the section implementation to turn off the include add line property unless the user is in the vendor contract workgroup. Also, unless this is a vendor parent, don't show the vendor diversity add line.
protected  booleanisRelationshipRefreshable(Class boClass, String relationshipName)
    
public  voidprocessAfterEdit()
    
public  voidrefresh(String refreshCaller, Map fieldValues, MaintenanceDocument document)
     Refreshes the vendorDetail.
public  voidrefreshBusinessObject()
    
public  voidsaveBusinessObject()
     Checks whether the vendor has already had a vendor detail assigned id.
public  voidsetBusinessObject(PersistableBusinessObject bo)
     If the vendorFirstLastNameIndicator is true, this method will set the vendor first name and vendor last name fields from the vendorName field, then set the vendorName field to null.
public  voidsetGenerateDefaultValues(boolean generateDefaultValues)
    
public  voidsetupNewFromExisting()
     Create a new division vendor if the user clicks on the "Create a new division" link.



Method Detail
generateMaintenanceLocks
public List<MaintenanceLock> generateMaintenanceLocks()(Code)
Returns the locking representation of the vendor. If the vendor detail id is not null, call the super class implementation of generateMaintenanceLocks which will set the locking key to be the header and detail ids. However, if the detail id is null, that means this is a new vendor (parent or division) and we should ignore locking.
See Also:   org.kuali.core.maintenance.Maintainable.generateMaintenanceLocks



getDocumentTitle
public String getDocumentTitle(MaintenanceDocument document)(Code)
Overrides the kuali default documents title with a Vendor-specific document title style
See Also:   org.kuali.core.maintenance.KualiMaintainableImpl.getDocumentTitle(org.kuali.core.document.MaintenanceDocument)



getSections
public List getSections(Maintainable oldMaintainable)(Code)
Overrides the section implementation to turn off the include add line property unless the user is in the vendor contract workgroup. Also, unless this is a vendor parent, don't show the vendor diversity add line.
See Also:   org.kuali.core.maintenance.KualiMaintainableImpl.getSections(org.kuali.core.maintenance.Maintainable)



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

See Also:   org.kuali.core.maintenance.KualiMaintainableImpl.isRelationshipRefreshable(java.lang.Classjava.lang.String)



processAfterEdit
public void processAfterEdit()(Code)

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



refresh
public void refresh(String refreshCaller, Map fieldValues, MaintenanceDocument document)(Code)
Refreshes the vendorDetail. Currently we need this mainly for refreshing the soldToVendor object after returning from the lookup for a sold to vendor.
See Also:   org.kuali.core.maintenance.KualiMaintainableImpl.refresh(java.lang.Stringjava.util.Maporg.kuali.core.document.MaintenanceDocument)



refreshBusinessObject
public void refreshBusinessObject()(Code)
Temporarily saves vendorHeader into a temp object, then put back the vendorHeader into the VendorDetail after the refresh, so that we don't lose the values



saveBusinessObject
public void saveBusinessObject()(Code)
Checks whether the vendor has already had a vendor detail assigned id. If not, it will call the private method to set the detail assigned id. The method will also call the vendorService to determine whether it should save the vendor header (i.e. if this is a parent) and will save the vendor header accordingly. This is because we are not going to save vendor header automatically along with the saving of vendor detail, so if the vendor is a parent, we have to save the vendor header separately. Restriction-related information will be changed based on whether the Vendor Restricted Indicator was changed. If the Tax Number or Tax Type code have changed, the fact will be recorded with a new record in the Tax Change table. Finally the method will call the saveBusinessObject( ) of the super class to save the vendor detail.
See Also:   org.kuali.core.maintenance.KualiMaintainableImpl.saveBusinessObject



setBusinessObject
public void setBusinessObject(PersistableBusinessObject bo)(Code)
If the vendorFirstLastNameIndicator is true, this method will set the vendor first name and vendor last name fields from the vendorName field, then set the vendorName field to null. Then it sets the businessObject of this maintainable to the VendorDetail object that contains our modification to the name fields.
See Also:   org.kuali.core.maintenance.Maintainable.saveBusinessObject



setGenerateDefaultValues
public void setGenerateDefaultValues(boolean generateDefaultValues)(Code)

See Also:   org.kuali.core.maintenance.KualiMaintainableImpl.setGenerateDefaultValues(boolean)



setupNewFromExisting
public void setupNewFromExisting()(Code)
Create a new division vendor if the user clicks on the "Create a new division" link. By default, the vendorParentIndicator is set to true in the constructor of VendorDetail, but if we're creating a new division, it's not a parent, so we need to set the vendorParentIndicator to false in this case.
See Also:   org.kuali.core.maintenance.Maintainable.setupNewFromExisting



Fields inherited from org.kuali.core.maintenance.KualiMaintainableImpl
protected Class boClass(Code)(Java Doc)
protected PersistableBusinessObject businessObject(Code)(Java Doc)
protected String documentNumber(Code)(Java Doc)
protected boolean generateBlankRequiredValues(Code)(Java Doc)
protected boolean generateDefaultValues(Code)(Java Doc)
protected Map<String, Boolean> inactiveRecordDisplay(Code)(Java Doc)
protected String maintenanceAction(Code)(Java Doc)
protected Map<String, PersistableBusinessObject> newCollectionLines(Code)(Java Doc)

Methods inherited from org.kuali.core.maintenance.KualiMaintainableImpl
public void addMultipleValueLookupResults(MaintenanceDocument document, String collectionName, Collection<PersistableBusinessObject> rawValues)(Code)(Java Doc)
public void addNewLineToCollection(String collectionName)(Code)(Java Doc)
protected Collection<String> generateAllAffectedReferences(Class boClass, Map<String, String> fkToPkMappings, String nestedBOPrefix, String collectionPrefix)(Code)(Java Doc)
public List<MaintenanceLock> generateMaintenanceLocks()(Code)(Java Doc)
public Collection<String> getAffectedReferencesFromLookup(BusinessObject baseBO, String attributeName, String collectionPrefix)(Code)(Java Doc)
protected Collection<String> getAllRefreshableReferences(Class boClass)(Code)(Java Doc)
public Class getBoClass()(Code)(Java Doc)
public PersistableBusinessObject getBusinessObject()(Code)(Java Doc)
public List<Section> getCoreSections(Maintainable oldMaintainable)(Code)(Java Doc)
public String getDocumentTitle(MaintenanceDocument document)(Code)(Java Doc)
public List<String> getDuplicateIdentifierFieldsFromDataDictionary(String docTypeName, String collectionName)(Code)(Java Doc)
public Map<String, Boolean> getInactiveRecordDisplay()(Code)(Java Doc)
public String getMaintainableTitle()(Code)(Java Doc)
public String getMaintenanceAction()(Code)(Java Doc)
public List<String> getMultiValueIdentifierList(Collection maintCollection, List<String> duplicateIdentifierFields)(Code)(Java Doc)
public PersistableBusinessObject getNewCollectionLine(String collectionName)(Code)(Java Doc)
public List getSections(Maintainable oldMaintainable)(Code)(Java Doc)
public boolean getShowInactiveRecords(String collectionName)(Code)(Java Doc)
public void handleRouteStatusChange(DocumentHeader documentHeader)(Code)(Java Doc)
public boolean hasBusinessObjectExisted(BusinessObject bo, List<String> existingIdentifierList, List<String> duplicateIdentifierFields)(Code)(Java Doc)
public PersistableBusinessObject initNewCollectionLine(String collectionName)(Code)(Java Doc)
public boolean isBoNotesEnabled()(Code)(Java Doc)
public boolean isGenerateBlankRequiredValues()(Code)(Java Doc)
public boolean isGenerateDefaultValues()(Code)(Java Doc)
protected boolean isRelationshipRefreshable(Class boClass, String relationshipName)(Code)(Java Doc)
public Map populateBusinessObject(Map fieldValues)(Code)(Java Doc)
public Map populateNewCollectionLines(Map fieldValues)(Code)(Java Doc)
protected Map populateNewSubCollectionLines(MaintainableCollectionDefinition parentCollection, Map fieldValues)(Code)(Java Doc)
public void prepareBusinessObjectForAdditionFromMultipleValueLookup(String collectionName, BusinessObject bo)(Code)(Java Doc)
public void prepareForSave()(Code)(Java Doc)
public void processAfterAddLine(String colName, Class colClass)(Code)(Java Doc)
public void processAfterCopy()(Code)(Java Doc)
public void processAfterEdit()(Code)(Java Doc)
public void processAfterRetrieve()(Code)(Java Doc)
public void refresh(String refreshCaller, Map fieldValues, MaintenanceDocument document)(Code)(Java Doc)
protected void refreshReferences(String referencesToRefresh)(Code)(Java Doc)
public void saveBusinessObject()(Code)(Java Doc)
public void setBoClass(Class boClass)(Code)(Java Doc)
public void setBusinessObject(PersistableBusinessObject businessObject)(Code)(Java Doc)
final public void setDocumentNumber(String documentNumber)(Code)(Java Doc)
public void setGenerateBlankRequiredValues(boolean generateBlankRequiredValues)(Code)(Java Doc)
public void setGenerateDefaultValues(boolean generateDefaultValues)(Code)(Java Doc)
public void setMaintenanceAction(String maintenanceAction)(Code)(Java Doc)
public void setShowInactiveRecords(String collectionName, boolean showInactive)(Code)(Java Doc)
public void setupNewFromExisting()(Code)(Java Doc)

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.