Package org.kuali.rice.kns.maintenance
Interface Maintainable
- All Superinterfaces:
org.kuali.rice.krad.maintenance.Maintainable,SelectiveReferenceRefresher,Serializable,org.kuali.rice.krad.uif.service.ViewHelperService
- All Known Implementing Classes:
KualiGlobalMaintainableImpl,KualiMaintainableImpl
@Deprecated
public interface Maintainable
extends org.kuali.rice.krad.maintenance.Maintainable, SelectiveReferenceRefresher
Deprecated.
Defines basic methods that all maintainable objects must provide
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddMultipleValueLookupResults(MaintenanceDocument document, String collectionName, Collection<PersistableBusinessObject> rawValues, boolean needsBlank, PersistableBusinessObject bo) Deprecated.voidaddNewLineToCollection(String collectionName) Deprecated.voidclearBusinessObjectOfRestrictedValues(MaintenanceDocumentRestrictions maintenanceDocumentRestrictions) Deprecated.voidDeprecated.Deprecated.Deprecated.getDocumentTitle(MaintenanceDocument document) Deprecated.getDuplicateIdentifierFieldsFromDataDictionary(String docTypeName, String collectionName) Deprecated.Deprecated.Deprecated.getMultiValueIdentifierList(Collection maintCollection, List<String> duplicateIdentifierFields) Deprecated.getNewCollectionLine(String collectionName) Deprecated.getSections(MaintenanceDocument maintenanceDocument, Maintainable oldMaintainable) Deprecated.booleangetShowInactiveRecords(String collectionName) Deprecated.booleanhasBusinessObjectExisted(org.kuali.rice.krad.bo.BusinessObject bo, List<String> existingIdentifierList, List<String> duplicateIdentifierFields) Deprecated.booleanDeprecated.booleanDeprecated.populateBusinessObject(Map<String, String> fieldValues, MaintenanceDocument maintenanceDocument, String methodToCall) Deprecated.populateNewCollectionLines(Map<String, String> fieldValues, MaintenanceDocument maintenanceDocument, String methodToCall) Deprecated.voidprepareBusinessObject(org.kuali.rice.krad.bo.BusinessObject businessObject) Deprecated.voidprocessAfterCopy(MaintenanceDocument document, Map<String, String[]> requestParameters) Deprecated.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.voidrefresh(String refreshCaller, Map fieldValues, MaintenanceDocument document) Deprecated.retrieveObjectForEditOrCopy(MaintenanceDocument document, Map<String, String> businessObjectKeys) Deprecated.voidDeprecated.voidsetBoClass(Class boClass) Deprecated.voidDeprecated.voidsetGenerateBlankRequiredValues(String docTypeName) Deprecated.voidsetGenerateDefaultValues(String docTypeName) Deprecated.voidsetShowInactiveRecords(String collectionName, boolean showInactive) Deprecated.voidsetupNewFromExisting(MaintenanceDocument document, Map<String, String[]> parameters) Deprecated.Methods inherited from interface org.kuali.rice.krad.maintenance.Maintainable
deleteDataObject, doRouteStatusChange, generateMaintenanceLocks, getCustomLockDescriptor, getDataObject, getDataObjectClass, getDocumentTitle, getLockingDocumentId, getMaintenanceAction, getPersistableBusinessObject, getWorkflowEngineDocumentIdsToLock, isExternalBusinessObject, isLockable, isNotesEnabled, isOldDataObjectInDocument, prepareExternalBusinessObject, prepareForSave, processAfterCopy, processAfterEdit, processAfterNew, processAfterPost, processAfterRetrieve, retrieveObjectForEditOrCopy, saveDataObject, setDataObject, setDataObjectClass, setDocumentNumber, setMaintenanceAction, setupNewFromExisting, useCustomLockDescriptorsMethods inherited from interface org.kuali.rice.kns.lookup.SelectiveReferenceRefresher
getAffectedReferencesFromLookupMethods 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, refreshReferences, retrieveEditModesAndActionFlags, setElementContext, setViewContext
-
Method Details
-
getDocumentTitle
Deprecated. -
getBusinessObject
Deprecated.Returns instance of the business object that is being maintained. -
refresh
Deprecated.Called from a lookup return by the maintenance action. -
setBusinessObject
Deprecated.Sets an instance of a business object to be maintained. -
getBoClass
Deprecated. -
setBoClass
Deprecated. -
saveBusinessObject
Deprecated.This 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. -
addMultipleValueLookupResults
@Deprecated void addMultipleValueLookupResults(MaintenanceDocument document, String collectionName, Collection<PersistableBusinessObject> rawValues, boolean needsBlank, PersistableBusinessObject bo) Deprecated. -
getDuplicateIdentifierFieldsFromDataDictionary
@Deprecated List<String> getDuplicateIdentifierFieldsFromDataDictionary(String docTypeName, String collectionName) Deprecated. -
getMultiValueIdentifierList
@Deprecated List<String> getMultiValueIdentifierList(Collection maintCollection, List<String> duplicateIdentifierFields) Deprecated. -
hasBusinessObjectExisted
@Deprecated boolean hasBusinessObjectExisted(org.kuali.rice.krad.bo.BusinessObject bo, List<String> existingIdentifierList, List<String> duplicateIdentifierFields) Deprecated. -
clearBusinessObjectOfRestrictedValues
@Deprecated void clearBusinessObjectOfRestrictedValues(MaintenanceDocumentRestrictions maintenanceDocumentRestrictions) Deprecated.Blanks 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. -
isBoNotesEnabled
boolean isBoNotesEnabled()Deprecated. -
retrieveObjectForEditOrCopy
PersistableBusinessObject retrieveObjectForEditOrCopy(MaintenanceDocument document, Map<String, String> businessObjectKeys) Deprecated. -
prepareBusinessObject
Deprecated.Gives chance to a maintainable object to prepare and return a maintainable object which might be external to the system -
deleteBusinessObject
Deprecated. -
isOldBusinessObjectInDocument
Deprecated. -
getShowInactiveRecords
Deprecated.Indicates whether inactive records for the given collection should be display.- 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
-
getInactiveRecordDisplay
Deprecated.Returns the Map used to control the state of inactive record collection display. Exposed for setting from the maintenance jsp. -
setShowInactiveRecords
Deprecated.Indicates to maintainble whether or not inactive records should be displayed for the given collection name.- 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
-
populateNewCollectionLines
@Deprecated Map<String,String> populateNewCollectionLines(Map<String, String> fieldValues, MaintenanceDocument maintenanceDocument, String methodToCall) Deprecated.Populates the new collection lines based on key/value pairs. -
getNewCollectionLine
Deprecated.Gets the holder for the "add line" for a collection on the business object -
addNewLineToCollection
Deprecated.Adds the new line for the given collection to the business object's collection. -
processBeforeAddLine
@Deprecated void processBeforeAddLine(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 validated -
setGenerateDefaultValues
Deprecated.Set default values. -
setGenerateBlankRequiredValues
Deprecated.Set default values for blank required fields. -
getSections
Deprecated.Returns a list of Section objects that specify how to render the view for the maintenance object.- 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
-
populateBusinessObject
@Deprecated Map populateBusinessObject(Map<String, String> fieldValues, MaintenanceDocument maintenanceDocument, String methodToCall) Deprecated.This method populates the business object based on key/value pairs. -
getMaintainableTitle
Deprecated.Returns a string that will be displayed as title on the maintenance screen. -
setupNewFromExisting
Deprecated. -
processAfterCopy
Deprecated. -
processAfterEdit
Deprecated. -
processAfterNew
Deprecated. -
processAfterPost
Deprecated.
-
Maintainable.