public class RoutingRuleMaintainable extends KualiMaintainableImpl
RuleBaseValues
business object).businessObject, businessObjectAuthorizationService, businessObjectDictionaryService, businessObjectMetaDataService, documentHelperService, inactiveRecordDisplay, maintenanceDocumentDictionaryService, newCollectionLineNames, newCollectionLines, persistenceStructureService, personService
Constructor and Description |
---|
RoutingRuleMaintainable() |
Modifier and Type | Method and Description |
---|---|
List<MaintenanceLock> |
generateMaintenanceLocks()
Overridden implementation of maintenance locks.
|
String |
getDocumentTitle(MaintenanceDocument document) |
protected RuleBaseValues |
getNewRule(MaintenanceDocument document)
Returns the new RuleBaseValues business object.
|
protected RuleBaseValues |
getOldRule(MaintenanceDocument document)
Returns the old RuleBaseValues business object.
|
List |
getSections(MaintenanceDocument document,
Maintainable oldMaintainable)
Override the getSections method on this maintainable so that the Section Containing the various Rule Attributes
can be dynamically generated based on the RuleTemplate which is selected.
|
protected RuleBaseValues |
getThisRule()
Returns the RuleBaseValues business object associated with this Maintainable.
|
void |
prepareForSave()
This overridden method ...
|
void |
processAfterCopy(MaintenanceDocument document,
Map<String,String[]> parameters)
Set the new collection records back to true so they can be deleted (copy
should act like new)
|
void |
processAfterEdit(MaintenanceDocument document,
Map<String,String[]> parameters) |
void |
processAfterNew(MaintenanceDocument document,
Map<String,String[]> parameters)
On creation of a new rule document, we must validate that a rule template and document type are set.
|
void |
saveBusinessObject()
A complete override of the implementation for saving a Rule
|
void |
setGenerateBlankRequiredValues(String docTypeName)
This is a hack to get around the fact that when a document is first created, this value is
true which causes issues if you want to be able to initialize fields on the document using
request parameters.
|
protected void |
setNewCollectionLineDefaultValues(String collectionName,
PersistableBusinessObject addLine) |
addMultipleValueLookupResults, addNewLineToCollection, clearBusinessObjectOfRestrictedValues, clearCollectionRestrictedValues, clearFieldRestrictedValues, decryptEncryptedData, deleteBusinessObject, generateAllAffectedReferences, getAffectedReferencesFromLookup, getAllRefreshableReferences, getBoClass, getBusinessObject, getBusinessObjectAuthorizationService, getBusinessObjectDictionaryService, getBusinessObjectMetaDataService, getCoreSections, getDocumentHelperService, getDuplicateIdentifierFieldsFromDataDictionary, getInactiveRecordDisplay, getMaintainableTitle, getMaintenanceDocumentDictionaryService, getMultiValueIdentifierList, getNewCollectionLine, getPersistenceStructureService, getPersonService, getShowInactiveRecords, hasBusinessObjectExisted, initNewCollectionLine, isBoNotesEnabled, isExternalBusinessObject, isNotesEnabled, isOldBusinessObjectInDocument, isRelationshipRefreshable, performCollectionForceUpperCase, performFieldForceUpperCase, performFieldForceUpperCase, performForceUpperCase, populateBusinessObject, populateNewCollectionLines, populateNewSubCollectionLines, prepareBusinessObject, prepareBusinessObjectForAdditionFromMultipleValueLookup, processAfterAddLine, processAfterPost, processBeforeAddLine, refresh, refreshReferences, saveDataObject, setBoClass, setBusinessObject, setBusinessObjectAuthorizationService, setBusinessObjectDictionaryService, setBusinessObjectMetaDataService, setDataObject, setDocumentHelperService, setGenerateDefaultValues, setMaintenanceDocumentDictionaryService, setPersistenceStructureService, setPersonService, setShowInactiveRecords, setupNewFromExisting, shouldFieldBeEncrypted
deleteDataObject, doRouteStatusChange, getBusinessObjectService, getCustomLockDescriptor, getDataObject, getDataObjectAuthorizationService, getDataObjectClass, getDataObjectMetaDataService, getDocumentDictionaryService, getDocumentNumber, getDocumentTitle, getDocumentTypeName, getEncryptionService, getLockingDocumentId, getLookupService, getMaintenanceAction, getMaintenanceDocumentService, getPersistableBusinessObject, getWorkflowEngineDocumentIdsToLock, isLockable, isOldDataObjectInDocument, prepareExternalBusinessObject, processAfterAddLine, processAfterCopy, processAfterDeleteLine, processAfterEdit, processAfterNew, processAfterPost, processAfterRetrieve, retrieveObjectForEditOrCopy, setBusinessObjectService, setDataObjectAuthorizationService, setDataObjectClass, setDataObjectMetaDataService, setDocumentDictionaryService, setDocumentNumber, setEncryptionService, setLookupService, setMaintenanceAction, setMaintenanceDocumentService, setupNewFromExisting, useCustomLockDescriptors
addClientSideStateForComponent, addCustomContainerComponents, addLine, applyAuthorizationAndPresentationLogic, applyDefaultValues, applyDefaultValuesForCollectionLine, buildClientSideStateScript, buildInquiryLink, cleanViewAfterRender, findNestedDictionaryAttribute, getCommonContext, getDataDictionaryService, getExpressionEvaluatorService, getPreModelContext, getViewDictionaryService, initializeDataFieldFromDataDictionary, invokeMethodFinalizer, logAndThrowRuntime, performAddLineValidation, performApplyModel, performComponentApplyModel, performComponentFinalize, performComponentInitialization, performComponentLifecycle, performCustomApplyModel, performCustomFinalize, performCustomInitialization, performDeleteLineValidation, performFinalize, performInitialization, populateDefaultValueForField, populateViewFromRequestParameters, processAnyRemoteFieldsHolder, processBeforeAddLine, processCollectionAddLine, processCollectionDeleteLine, processMultipleValueLookupResults, retrieveEditModesAndActionFlags, runComponentModifiers, setDataDictionaryService, setExpressionEvaluatorService, setViewContext, setViewDictionaryService, syncClientSideStateForComponent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
deleteDataObject, doRouteStatusChange, getCustomLockDescriptor, getDataObject, getDataObjectClass, getDocumentTitle, getLockingDocumentId, getMaintenanceAction, getPersistableBusinessObject, getWorkflowEngineDocumentIdsToLock, isLockable, isOldDataObjectInDocument, prepareExternalBusinessObject, processAfterCopy, processAfterEdit, processAfterNew, processAfterPost, processAfterRetrieve, retrieveObjectForEditOrCopy, setDataObjectClass, setDocumentNumber, setMaintenanceAction, setupNewFromExisting, useCustomLockDescriptors
applyDefaultValuesForCollectionLine, buildInquiryLink, cleanViewAfterRender, performApplyModel, performComponentInitialization, performComponentLifecycle, performFinalize, performInitialization, populateViewFromRequestParameters, processCollectionAddLine, processCollectionDeleteLine, processMultipleValueLookupResults
public RoutingRuleMaintainable()
public List getSections(MaintenanceDocument document, Maintainable oldMaintainable)
getSections
in class KualiMaintainableImpl
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 inpublic void processAfterNew(MaintenanceDocument document, Map<String,String[]> parameters)
processAfterNew
in class KualiMaintainableImpl
public void setGenerateBlankRequiredValues(String docTypeName)
setGenerateBlankRequiredValues
in class KualiMaintainableImpl
Maintainable#setGenerateBlankRequiredValues()
public void saveBusinessObject()
saveBusinessObject
in class KualiMaintainableImpl
Maintainable.saveBusinessObject()
public void processAfterCopy(MaintenanceDocument document, Map<String,String[]> parameters)
KualiMaintainableImpl
processAfterCopy
in class KualiMaintainableImpl
KualiMaintainableImpl#processAfterCopy()
public void processAfterEdit(MaintenanceDocument document, Map<String,String[]> parameters)
processAfterEdit
in class KualiMaintainableImpl
protected RuleBaseValues getNewRule(MaintenanceDocument document)
protected RuleBaseValues getOldRule(MaintenanceDocument document)
protected RuleBaseValues getThisRule()
public List<MaintenanceLock> generateMaintenanceLocks()
generateMaintenanceLocks
in interface Maintainable
generateMaintenanceLocks
in class MaintainableImpl
Maintainable.generateMaintenanceLocks()
public String getDocumentTitle(MaintenanceDocument document)
getDocumentTitle
in class KualiMaintainableImpl
public void prepareForSave()
prepareForSave
in interface Maintainable
prepareForSave
in class MaintainableImpl
org.kuali.rice.krad.maintenance.KualiMaintainableImpl#prepareForSave()
protected void setNewCollectionLineDefaultValues(String collectionName, PersistableBusinessObject addLine)
setNewCollectionLineDefaultValues
in class KualiMaintainableImpl
org.kuali.rice.krad.maintenance.KualiMaintainableImpl#setNewCollectionLineDefaultValues(java.lang.String, org.kuali.rice.krad.bo.PersistableBusinessObject)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.