| java.lang.Object org.kuali.core.maintenance.KualiMaintainableImpl org.kuali.module.vendor.maintenance.VendorMaintainableImpl
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 |
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 |
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 |
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)
|
|
|