org.kuali.rice.kns.lookup
Interface SelectiveReferenceRefresher
- All Known Subinterfaces:
- Maintainable
- All Known Implementing Classes:
- AuthorMaintainable, BookMaintainable, CampusMaintainableImpl, CampusTypeMaintainableImpl, CountryMaintainableImpl, CountyMaintainableImpl, DocumentTypeMaintainable, GenericPermissionMaintainable, KualiGlobalMaintainableImpl, KualiMaintainableImpl, NamespaceMaintainableImpl, ParameterMaintainableImpl, PostalCodeMaintainableImpl, ReviewResponsibilityMaintainable, RoutingRuleDelegationMaintainable, RoutingRuleMaintainable, StateMaintainableImpl
public interface SelectiveReferenceRefresher
Classes that implement this interface will refresh
getAffectedReferencesFromLookup
Collection<String> getAffectedReferencesFromLookup(BusinessObject baseBO,
String attributeName,
String collectionPrefix)
- Returns a list of references that must be refreshed after a lookup performed on an attribute is performed.
A lookup on an attribute may cause many attribute values to be updated upon return from lookup. Generally,
the returned attributes are the PK of the BO being looked up. For example,
a lookup on an account number attribute will cause the chart of accounts code and account code to be returned.
These returned attributes may cause other references on the page to be returned. For example, an account number lookup
may cause the chart code to change, and if there is also an ObjectCode reference in the BO, then any change in the chart code will cause the
referenced ObjectCode BO to be changed.
- Parameters:
attributeName
- the name of the attribute with a quickfinder of the maintained BO.
- Returns:
- a list of reference names that could be affected by lookup return values
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.