Package org.kuali.rice.kns.maintenance
Class KualiMaintainableImpl
java.lang.Object
org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl
org.kuali.rice.krad.maintenance.MaintainableImpl
org.kuali.rice.kns.maintenance.KualiMaintainableImpl
- All Implemented Interfaces:
Serializable,SelectiveReferenceRefresher,Maintainable,org.kuali.rice.krad.maintenance.Maintainable,org.kuali.rice.krad.uif.service.ViewHelperService
- Direct Known Subclasses:
KualiGlobalMaintainableImpl
@Deprecated
public class KualiMaintainableImpl
extends org.kuali.rice.krad.maintenance.MaintainableImpl
implements Maintainable
Deprecated.
Base Maintainable class to hold things common to all maintainables.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected PersistableBusinessObjectDeprecated.protected BusinessObjectAuthorizationServiceDeprecated.protected BusinessObjectDictionaryServiceDeprecated.protected BusinessObjectMetaDataServiceDeprecated.protected DocumentHelperServiceDeprecated.Deprecated.protected MaintenanceDocumentDictionaryServiceDeprecated.Deprecated.protected Map<String, PersistableBusinessObject> Deprecated.protected org.kuali.rice.kim.api.identity.PersonServiceDeprecated. -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.KualiMaintainableImpl(PersistableBusinessObject businessObject) Deprecated.Constructor which initializes the business object to be maintained. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMultipleValueLookupResults(MaintenanceDocument document, String collectionName, Collection<PersistableBusinessObject> rawValues, boolean needsBlank, PersistableBusinessObject bo) Deprecated.voidaddNewLineToCollection(String collectionName) Deprecated.Adds the new line for the given collection to the business object's collection.voidclearBusinessObjectOfRestrictedValues(MaintenanceDocumentRestrictions maintenanceDocumentRestrictions) Deprecated.Blanks out or sets the default of any value specified as restricted within theMaintenanceDocumentRestrictionsinstance.protected voidclearCollectionRestrictedValues(String fieldNamePrefix, org.kuali.rice.krad.bo.BusinessObject businessObject, MaintainableCollectionDefinition collectionDefinition, MaintenanceDocumentRestrictions maintenanceDocumentRestrictions) Deprecated.protected voidclearFieldRestrictedValues(String fieldNamePrefix, org.kuali.rice.krad.bo.BusinessObject businessObject, MaintainableFieldDefinition fieldDefinition, MaintenanceDocumentRestrictions maintenanceDocumentRestrictions) Deprecated.decryptEncryptedData(Map<String, String> fieldValues, MaintenanceDocument maintenanceDocument, String methodToCall) Deprecated.Special hidden parameters are set on the maintenance jsp starting with a prefix that tells us which fields have been encrypted.voidDeprecated.protected Collection<String> generateAllAffectedReferences(Class boClass, Map<String, String> fkToPkMappings, String nestedBOPrefix, String collectionPrefix) Deprecated.getAffectedReferencesFromLookup(org.kuali.rice.krad.bo.BusinessObject baseBO, String attributeName, String collectionPrefix) Deprecated.Returns a list of references that must be refreshed after a lookup performed on an attribute is performed.protected Collection<String> getAllRefreshableReferences(Class boClass) Deprecated.Deprecated.Deprecated.Returns instance of the business object that is being maintained.protected BusinessObjectAuthorizationServiceDeprecated.protected BusinessObjectDictionaryServiceDeprecated.protected BusinessObjectMetaDataServiceDeprecated.getCoreSections(MaintenanceDocument document, Maintainable oldMaintainable) Deprecated.Gets list of maintenance sections built from the data dictionary.protected DataObjectMetaDataServiceDeprecated.protected DocumentHelperServiceDeprecated.getDocumentTitle(MaintenanceDocument document) Deprecated.getDuplicateIdentifierFieldsFromDataDictionary(String docTypeName, String collectionName) Deprecated.This method is to retrieve a List of fields which are specified in the maintenance document data dictionary as the duplicateIdentificationFields.Deprecated.Returns the Map used to control the state of inactive record collection display.Deprecated.Retrieves title for maintenance document from data dictionaryDeprecated.getMultiValueIdentifierList(Collection maintCollection, List<String> duplicateIdentifierFields) Deprecated.getNewCollectionLine(String collectionName) Deprecated.Gets the holder for the "add line" for a collection on the business objectDeprecated.protected org.kuali.rice.kim.api.identity.PersonServiceDeprecated.getSections(MaintenanceDocument document, Maintainable oldMaintainable) Deprecated.Calls method to get all the core sections for the business object defined in the data dictionary.booleangetShowInactiveRecords(String collectionName) Deprecated.Indicates whether inactive records for the given collection should be display.booleanhasBusinessObjectExisted(org.kuali.rice.krad.bo.BusinessObject bo, List<String> existingIdentifierList, List<String> duplicateIdentifierFields) Deprecated.initNewCollectionLine(String collectionName) Deprecated.booleanDeprecated.booleanDeprecated.By default a maintainable is not externalbooleanDeprecated.Overriding to call old (KNS) name of the methodbooleanDeprecated.protected booleanisRelationshipRefreshable(Class boClass, String relationshipName) Deprecated.protected voidperformCollectionForceUpperCase(String fieldNamePrefix, org.kuali.rice.krad.bo.BusinessObject bo, MaintainableCollectionDefinition collectionDefinition, Map fieldValues) Deprecated.protected voidperformFieldForceUpperCase(String fieldNamePrefix, org.kuali.rice.krad.bo.BusinessObject bo, MaintainableFieldDefinition fieldDefinition, Map fieldValues) Deprecated.protected voidperformFieldForceUpperCase(org.kuali.rice.krad.bo.BusinessObject bo, Map fieldValues) Deprecated.protected voidperformForceUpperCase(Map fieldValues) Deprecated.populateBusinessObject(Map<String, String> fieldValues, MaintenanceDocument maintenanceDocument, String methodToCall) Deprecated.This method populates the business object based on key/value pairs.populateNewCollectionLines(Map<String, String> fieldValues, MaintenanceDocument maintenanceDocument, String methodToCall) Deprecated.Populates the new collection lines based on key/value pairs.protected MappopulateNewSubCollectionLines(MaintainableCollectionDefinition parentCollection, Map fieldValues) Deprecated.voidprepareBusinessObject(org.kuali.rice.krad.bo.BusinessObject businessObject) Deprecated.Gives chance to a maintainable object to prepare and return a maintainable object which might be external to the systemvoidprepareBusinessObjectForAdditionFromMultipleValueLookup(String collectionName, org.kuali.rice.krad.bo.BusinessObject bo) Deprecated.voidprocessAfterAddLine(String colName, Class colClass) Deprecated.voidprocessAfterCopy(MaintenanceDocument document, Map<String, String[]> parameters) Deprecated.Set the new collection records back to true so they can be deleted (copy should act like new)voidprocessAfterEdit(MaintenanceDocument document, Map<String, String[]> requestParameters) Deprecated.voidprocessAfterNew(MaintenanceDocument document, Map<String, String[]> requestParameters) Deprecated.voidprocessAfterPost(MaintenanceDocument document, Map<String, String[]> requestParameters) Deprecated.voidprocessBeforeAddLine(String colName, Class colClass, org.kuali.rice.krad.bo.BusinessObject addBO) Deprecated.KULRICE-4264 - a hook to change the state of the business object, which is the "new line" of a collection, before it is validatedvoidrefresh(String refreshCaller, Map fieldValues, MaintenanceDocument document) Deprecated.Impls will be needed if custom action is needed on refresh.voidrefreshReferences(String referencesToRefresh) Deprecated.retrieveObjectForEditOrCopy(MaintenanceDocument document, Map<String, String> businessObjectKeys) Deprecated.voidDeprecated.This method will cause the Maintainable implementation to save/store the relevant business object(s).voidDeprecated.delegate this call to KNS'Maintainable.saveBusinessObject()in order to support KNS maintainables.voidsetBoClass(Class boClass) Deprecated.voidsetBusinessObject(PersistableBusinessObject businessObject) Deprecated.Sets an instance of a business object to be maintained.voidsetBusinessObjectAuthorizationService(BusinessObjectAuthorizationService businessObjectAuthorizationService) Deprecated.voidsetBusinessObjectDictionaryService(BusinessObjectDictionaryService businessObjectDictionaryService) Deprecated.voidsetBusinessObjectMetaDataService(BusinessObjectMetaDataService businessObjectMetaDataService) Deprecated.voidsetDataObject(Object object) Deprecated.voidsetDataObjectMetaDataService(DataObjectMetaDataService dataObjectMetaDataService) Deprecated.voidsetDocumentHelperService(DocumentHelperService documentHelperService) Deprecated.voidsetGenerateBlankRequiredValues(String docTypeName) Deprecated.Set default values for blank required fields.voidsetGenerateDefaultValues(String docTypeName) Deprecated.Set default values.voidsetMaintenanceDocumentDictionaryService(MaintenanceDocumentDictionaryService maintenanceDocumentDictionaryService) Deprecated.protected voidsetNewCollectionLineDefaultValues(String collectionName, PersistableBusinessObject addLine) Deprecated.voidsetPersonService(org.kuali.rice.kim.api.identity.PersonService personService) Deprecated.voidsetShowInactiveRecords(String collectionName, boolean showInactive) Deprecated.Indicates to maintainble whether or not inactive records should be displayed for the given collection name.voidsetupNewFromExisting(MaintenanceDocument document, Map<String, String[]> parameters) Deprecated.protected booleanshouldFieldBeEncrypted(MaintenanceDocument maintenanceDocument, String fieldName, MaintenanceDocumentRestrictions auths, String methodToCall) Deprecated.Determines whether the field in a request should be encrypted.Methods inherited from class org.kuali.rice.krad.maintenance.MaintainableImpl
deleteDataObject, doRouteStatusChange, generateMaintenanceLocks, generateMaintenanceLocks, getCustomLockDescriptor, getDataObject, getDataObjectAuthorizationService, getDataObjectClass, getDataObjectService, getDocumentDictionaryService, getDocumentNumber, getDocumentTitle, getDocumentTypeName, getEncryptionService, getKualiRuleService, getLegacyDataAdapter, getLockingDocumentId, getMaintenanceAction, getMaintenanceDocumentService, getPersistableBusinessObject, getWorkflowEngineDocumentIdsToLock, isLockable, isOldDataObjectInDocument, performAddLineValidation, performCustomApplyModel, performCustomFinalize, performCustomViewFinalize, prepareExternalBusinessObject, prepareForSave, processAfterAddLine, processAfterCopy, processAfterDeleteLine, processAfterEdit, processAfterNew, processAfterPost, processAfterRetrieve, retrieveObjectForEditOrCopy, setDataObjectAuthorizationService, setDataObjectClass, setDocumentDictionaryService, setDocumentNumber, setEncryptionService, setKualiRuleService, setLegacyDataAdapter, setMaintenanceAction, setMaintenanceDocumentService, setupNewFromExisting, useCustomLockDescriptorsMethods inherited from class org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl
addCustomContainerComponents, addLine, applyDefaultValues, applyDefaultValuesForCollectionLine, buildGrowlScript, buildInquiryLink, containsDuplicateLine, extractNewValuesAndAssign, extractSingleValue, filterByReturnedFieldConversions, getConfigurationService, getCurrentPersonContactId, getDataDictionaryService, getDefaultValueForField, getExpressionEvaluatorFactory, getViewDictionaryService, isDuplicateLine, linkAddedLine, logAndThrowRuntime, performCustomInitialization, performCustomViewInitialization, performDeleteLineValidation, populateDefaultValueForField, populateViewFromRequestParameters, processAfterEditLine, processAfterSaveLine, processAndAddLineObject, processBeforeAddLine, processBeforeEditLine, processBeforeSaveLine, processCollectionAddBlankLine, processCollectionAddLine, processCollectionCloseEditLineDialog, processCollectionDeleteLine, processCollectionEditLine, processCollectionRetrieveEditLineDialog, processCollectionSaveLine, processMultipleValueLookupResults, refreshReference, retrieveEditModesAndActionFlags, setConfigurationService, setDataDictionaryService, setDataObjectService, setElementContext, setExpressionEvaluatorFactory, setViewContext, setViewDictionaryServiceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.kuali.rice.krad.maintenance.Maintainable
deleteDataObject, doRouteStatusChange, generateMaintenanceLocks, getCustomLockDescriptor, getDataObject, getDataObjectClass, getDocumentTitle, getLockingDocumentId, getMaintenanceAction, getPersistableBusinessObject, getWorkflowEngineDocumentIdsToLock, isLockable, isOldDataObjectInDocument, prepareExternalBusinessObject, prepareForSave, processAfterCopy, processAfterEdit, processAfterNew, processAfterPost, processAfterRetrieve, retrieveObjectForEditOrCopy, setDataObjectClass, setDocumentNumber, setMaintenanceAction, setupNewFromExisting, useCustomLockDescriptorsMethods inherited from interface org.kuali.rice.krad.uif.service.ViewHelperService
addCustomContainerComponents, applyDefaultValues, applyDefaultValuesForCollectionLine, buildGrowlScript, buildInquiryLink, getDefaultValueForField, getExpressionEvaluatorFactory, performCustomApplyModel, performCustomFinalize, performCustomInitialization, performCustomViewFinalize, performCustomViewInitialization, populateDefaultValueForField, populateViewFromRequestParameters, processAfterAddLine, processAfterDeleteLine, processAfterEditLine, processAfterSaveLine, processAndAddLineObject, processBeforeAddLine, processBeforeEditLine, processBeforeSaveLine, processCollectionAddBlankLine, processCollectionAddLine, processCollectionCloseEditLineDialog, processCollectionDeleteLine, processCollectionEditLine, processCollectionRetrieveEditLineDialog, processCollectionSaveLine, processMultipleValueLookupResults, refreshReference, retrieveEditModesAndActionFlags, setElementContext, setViewContext
-
Field Details
-
businessObject
Deprecated. -
newCollectionLines
Deprecated. -
inactiveRecordDisplay
Deprecated. -
newCollectionLineNames
Deprecated. -
businessObjectDictionaryService
Deprecated. -
personService
protected transient org.kuali.rice.kim.api.identity.PersonService personServiceDeprecated. -
businessObjectMetaDataService
Deprecated. -
businessObjectAuthorizationService
@Deprecated protected transient BusinessObjectAuthorizationService businessObjectAuthorizationServiceDeprecated. -
documentHelperService
Deprecated. -
maintenanceDocumentDictionaryService
Deprecated.
-
-
Constructor Details
-
KualiMaintainableImpl
public KualiMaintainableImpl()Deprecated. -
KualiMaintainableImpl
Deprecated.Constructor which initializes the business object to be maintained.
-
-
Method Details
-
populateBusinessObject
public Map populateBusinessObject(Map<String, String> fieldValues, MaintenanceDocument maintenanceDocument, String methodToCall) Deprecated.Description copied from interface:MaintainableThis method populates the business object based on key/value pairs.- Specified by:
populateBusinessObjectin interfaceMaintainable
-
decryptEncryptedData
protected Map<String,String> decryptEncryptedData(Map<String, String> fieldValues, MaintenanceDocument maintenanceDocument, String methodToCall) Deprecated.Special hidden parameters are set on the maintenance jsp starting with a prefix that tells us which fields have been encrypted. This field finds the those parameters in the map, whose value gives us the property name that has an encrypted value. We then need to decrypt the value in the Map before the business object is populated.- Parameters:
fieldValues- - possibly with encrypted values- Returns:
- Map fieldValues - with no encrypted values
-
shouldFieldBeEncrypted
protected boolean shouldFieldBeEncrypted(MaintenanceDocument maintenanceDocument, String fieldName, MaintenanceDocumentRestrictions auths, String methodToCall) Deprecated.Determines whether the field in a request should be encrypted. This base implementation does not work for properties of collection elements. This base implementation will only return true if the maintenance document is being refreshed after a lookup (i.e. methodToCall is "refresh") and the data dictionary-based attribute security definition has any restriction defined, whether the user would be authorized to view the field. This assumes that only fields returned from a lookup should be encrypted in a request. If the user otherwise has no permissions to view/edit the field, then a request parameter will not be sent back to the server for population. -
getSections
Deprecated.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.- Specified by:
getSectionsin interfaceMaintainable- Parameters:
oldMaintainable- - If this is the new maintainable, the old is passed in for reference. If it is the old maintainable, then null will be passed in- Returns:
- List of org.kuali.ui.Section objects
-
getCoreSections
Deprecated.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.- Returns:
- List of org.kuali.ui.Section objects
-
saveBusinessObject
public void saveBusinessObject()Deprecated.Description copied from interface:MaintainableThis method will cause the Maintainable implementation to save/store the relevant business object(s). This typically is called only after the maint document has gone through state to final.- Specified by:
saveBusinessObjectin interfaceMaintainable
-
saveDataObject
public void saveDataObject()Deprecated.delegate this call to KNS'Maintainable.saveBusinessObject()in order to support KNS maintainables.- Specified by:
saveDataObjectin interfaceorg.kuali.rice.krad.maintenance.Maintainable- Overrides:
saveDataObjectin classorg.kuali.rice.krad.maintenance.MaintainableImpl
-
getMaintainableTitle
Deprecated.Retrieves title for maintenance document from data dictionary- Specified by:
getMaintainableTitlein interfaceMaintainable
-
setupNewFromExisting
Deprecated.- Specified by:
setupNewFromExistingin interfaceMaintainable
-
isBoNotesEnabled
public boolean isBoNotesEnabled()Deprecated.- Specified by:
isBoNotesEnabledin interfaceMaintainable
-
retrieveObjectForEditOrCopy
public PersistableBusinessObject retrieveObjectForEditOrCopy(MaintenanceDocument document, Map<String, String> businessObjectKeys) Deprecated.- Specified by:
retrieveObjectForEditOrCopyin interfaceMaintainable
-
isNotesEnabled
public boolean isNotesEnabled()Deprecated.Overriding to call old (KNS) name of the method- Specified by:
isNotesEnabledin interfaceorg.kuali.rice.krad.maintenance.Maintainable- Overrides:
isNotesEnabledin classorg.kuali.rice.krad.maintenance.MaintainableImpl
-
refresh
Deprecated.Impls will be needed if custom action is needed on refresh.- Specified by:
refreshin interfaceMaintainable
-
refreshReferences
Deprecated.- Specified by:
refreshReferencesin interfaceorg.kuali.rice.krad.uif.service.ViewHelperService- Overrides:
refreshReferencesin classorg.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl
-
addMultipleValueLookupResults
public void addMultipleValueLookupResults(MaintenanceDocument document, String collectionName, Collection<PersistableBusinessObject> rawValues, boolean needsBlank, PersistableBusinessObject bo) Deprecated.- Specified by:
addMultipleValueLookupResultsin interfaceMaintainable
-
getDuplicateIdentifierFieldsFromDataDictionary
public List<String> getDuplicateIdentifierFieldsFromDataDictionary(String docTypeName, String collectionName) Deprecated.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- Specified by:
getDuplicateIdentifierFieldsFromDataDictionaryin interfaceMaintainable
-
getMultiValueIdentifierList
public List<String> getMultiValueIdentifierList(Collection maintCollection, List<String> duplicateIdentifierFields) Deprecated.- Specified by:
getMultiValueIdentifierListin interfaceMaintainable
-
hasBusinessObjectExisted
public boolean hasBusinessObjectExisted(org.kuali.rice.krad.bo.BusinessObject bo, List<String> existingIdentifierList, List<String> duplicateIdentifierFields) Deprecated.- Specified by:
hasBusinessObjectExistedin interfaceMaintainable
-
prepareBusinessObjectForAdditionFromMultipleValueLookup
public void prepareBusinessObjectForAdditionFromMultipleValueLookup(String collectionName, org.kuali.rice.krad.bo.BusinessObject bo) Deprecated. -
processAfterCopy
Deprecated.Set the new collection records back to true so they can be deleted (copy should act like new)- Specified by:
processAfterCopyin interfaceMaintainable
-
processAfterEdit
Deprecated.- Specified by:
processAfterEditin interfaceMaintainable
-
processAfterNew
Deprecated.- Specified by:
processAfterNewin interfaceMaintainable
-
processAfterPost
Deprecated.- Specified by:
processAfterPostin interfaceMaintainable
-
setDataObject
Deprecated.- Specified by:
setDataObjectin interfaceorg.kuali.rice.krad.maintenance.Maintainable- Overrides:
setDataObjectin classorg.kuali.rice.krad.maintenance.MaintainableImpl
-
getDocumentTitle
Deprecated.- Specified by:
getDocumentTitlein interfaceMaintainable
-
getBusinessObject
Deprecated.Description copied from interface:MaintainableReturns instance of the business object that is being maintained.- Specified by:
getBusinessObjectin interfaceMaintainable- Returns:
- Returns the instance of the business object being maintained.
-
setBusinessObject
Deprecated.Description copied from interface:MaintainableSets an instance of a business object to be maintained.- Specified by:
setBusinessObjectin interfaceMaintainable- Parameters:
businessObject- Sets the instance of a business object that will be maintained.
-
getBoClass
Deprecated.- Specified by:
getBoClassin interfaceMaintainable
-
setBoClass
Deprecated.- Specified by:
setBoClassin interfaceMaintainable
-
setGenerateDefaultValues
Deprecated.Description copied from interface:MaintainableSet default values.- Specified by:
setGenerateDefaultValuesin interfaceMaintainable
-
setGenerateBlankRequiredValues
Deprecated.Description copied from interface:MaintainableSet default values for blank required fields.- Specified by:
setGenerateBlankRequiredValuesin interfaceMaintainable
-
processAfterAddLine
Deprecated. -
processBeforeAddLine
public void processBeforeAddLine(String colName, Class colClass, org.kuali.rice.krad.bo.BusinessObject addBO) Deprecated.Description copied from interface:MaintainableKULRICE-4264 - a hook to change the state of the business object, which is the "new line" of a collection, before it is validated- Specified by:
processBeforeAddLinein interfaceMaintainable
-
getShowInactiveRecords
Deprecated.Description copied from interface:MaintainableIndicates whether inactive records for the given collection should be display.- Specified by:
getShowInactiveRecordsin interfaceMaintainable- Parameters:
collectionName- - name of the collection (or sub-collection) to check inactive record display setting- Returns:
- true if inactive records should be displayed, false otherwise
-
setShowInactiveRecords
Deprecated.Description copied from interface:MaintainableIndicates to maintainble whether or not inactive records should be displayed for the given collection name.- Specified by:
setShowInactiveRecordsin interfaceMaintainable- Parameters:
collectionName- - name of the collection (or sub-collection) to set inactive record display settingshowInactive- - true to display inactive, false to not display inactive records
-
getInactiveRecordDisplay
Deprecated.Description copied from interface:MaintainableReturns the Map used to control the state of inactive record collection display. Exposed for setting from the maintenance jsp.- Specified by:
getInactiveRecordDisplayin interfaceMaintainable
-
addNewLineToCollection
Deprecated.Description copied from interface:MaintainableAdds the new line for the given collection to the business object's collection.- Specified by:
addNewLineToCollectionin interfaceMaintainable
-
getNewCollectionLine
Deprecated.Description copied from interface:MaintainableGets the holder for the "add line" for a collection on the business object- Specified by:
getNewCollectionLinein interfaceMaintainable
-
initNewCollectionLine
Deprecated. -
populateNewCollectionLines
public Map<String,String> populateNewCollectionLines(Map<String, String> fieldValues, MaintenanceDocument maintenanceDocument, String methodToCall) Deprecated.Description copied from interface:MaintainablePopulates the new collection lines based on key/value pairs.- Specified by:
populateNewCollectionLinesin interfaceMaintainable
-
populateNewSubCollectionLines
protected Map populateNewSubCollectionLines(MaintainableCollectionDefinition parentCollection, Map fieldValues) Deprecated. -
getAffectedReferencesFromLookup
public Collection<String> getAffectedReferencesFromLookup(org.kuali.rice.krad.bo.BusinessObject baseBO, String attributeName, String collectionPrefix) Deprecated.Description copied from interface:SelectiveReferenceRefresherReturns 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.- Specified by:
getAffectedReferencesFromLookupin interfaceSelectiveReferenceRefresher- 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
-
isRelationshipRefreshable
Deprecated. -
generateAllAffectedReferences
protected Collection<String> generateAllAffectedReferences(Class boClass, Map<String, String> fkToPkMappings, String nestedBOPrefix, String collectionPrefix) Deprecated. -
getAllRefreshableReferences
Deprecated. -
setNewCollectionLineDefaultValues
protected void setNewCollectionLineDefaultValues(String collectionName, PersistableBusinessObject addLine) Deprecated. -
clearBusinessObjectOfRestrictedValues
public void clearBusinessObjectOfRestrictedValues(MaintenanceDocumentRestrictions maintenanceDocumentRestrictions) Deprecated.Description copied from interface:MaintainableBlanks out or sets the default of any value specified as restricted within theMaintenanceDocumentRestrictionsinstance. This method should only be called if this maintainable represents the new maintainable of the maintenance document.- Specified by:
clearBusinessObjectOfRestrictedValuesin interfaceMaintainable
-
clearCollectionRestrictedValues
protected void clearCollectionRestrictedValues(String fieldNamePrefix, org.kuali.rice.krad.bo.BusinessObject businessObject, MaintainableCollectionDefinition collectionDefinition, MaintenanceDocumentRestrictions maintenanceDocumentRestrictions) Deprecated. -
clearFieldRestrictedValues
protected void clearFieldRestrictedValues(String fieldNamePrefix, org.kuali.rice.krad.bo.BusinessObject businessObject, MaintainableFieldDefinition fieldDefinition, MaintenanceDocumentRestrictions maintenanceDocumentRestrictions) Deprecated. -
performForceUpperCase
Deprecated. -
performFieldForceUpperCase
protected void performFieldForceUpperCase(String fieldNamePrefix, org.kuali.rice.krad.bo.BusinessObject bo, MaintainableFieldDefinition fieldDefinition, Map fieldValues) Deprecated. -
performCollectionForceUpperCase
protected void performCollectionForceUpperCase(String fieldNamePrefix, org.kuali.rice.krad.bo.BusinessObject bo, MaintainableCollectionDefinition collectionDefinition, Map fieldValues) Deprecated. -
performFieldForceUpperCase
protected void performFieldForceUpperCase(org.kuali.rice.krad.bo.BusinessObject bo, Map fieldValues) Deprecated. -
isExternalBusinessObject
public boolean isExternalBusinessObject()Deprecated.By default a maintainable is not external- Specified by:
isExternalBusinessObjectin interfaceorg.kuali.rice.krad.maintenance.Maintainable- Overrides:
isExternalBusinessObjectin classorg.kuali.rice.krad.maintenance.MaintainableImpl
-
prepareBusinessObject
public void prepareBusinessObject(org.kuali.rice.krad.bo.BusinessObject businessObject) Deprecated.Description copied from interface:MaintainableGives chance to a maintainable object to prepare and return a maintainable object which might be external to the system- Specified by:
prepareBusinessObjectin interfaceMaintainable
-
deleteBusinessObject
public void deleteBusinessObject()Deprecated.- Specified by:
deleteBusinessObjectin interfaceMaintainable
-
isOldBusinessObjectInDocument
public boolean isOldBusinessObjectInDocument()Deprecated.- Specified by:
isOldBusinessObjectInDocumentin interfaceMaintainable
-
getBusinessObjectDictionaryService
Deprecated. -
getPersonService
protected org.kuali.rice.kim.api.identity.PersonService getPersonService()Deprecated. -
getBusinessObjectMetaDataService
Deprecated. -
getBusinessObjectAuthorizationService
Deprecated. -
getDocumentHelperService
Deprecated. -
setBusinessObjectDictionaryService
public void setBusinessObjectDictionaryService(BusinessObjectDictionaryService businessObjectDictionaryService) Deprecated. -
setPersonService
public void setPersonService(org.kuali.rice.kim.api.identity.PersonService personService) Deprecated. -
setBusinessObjectMetaDataService
@Deprecated public void setBusinessObjectMetaDataService(BusinessObjectMetaDataService businessObjectMetaDataService) Deprecated. -
setBusinessObjectAuthorizationService
public void setBusinessObjectAuthorizationService(BusinessObjectAuthorizationService businessObjectAuthorizationService) Deprecated. -
setDocumentHelperService
Deprecated. -
getMaintenanceDocumentDictionaryService
Deprecated. -
setMaintenanceDocumentDictionaryService
public void setMaintenanceDocumentDictionaryService(MaintenanceDocumentDictionaryService maintenanceDocumentDictionaryService) Deprecated. -
getDataObjectMetaDataService
Deprecated. -
setDataObjectMetaDataService
@Deprecated public void setDataObjectMetaDataService(DataObjectMetaDataService dataObjectMetaDataService) Deprecated. -
getPersistenceStructureService
Deprecated.
-
MaintainableImpl.