public class RoutingRuleDelegationMaintainable extends KualiMaintainableImpl
RuleBaseValues
business object).businessObject, businessObjectAuthorizationService, businessObjectDictionaryService, businessObjectMetaDataService, documentHelperService, inactiveRecordDisplay, maintenanceDocumentDictionaryService, newCollectionLineNames, newCollectionLines, personService
Constructor and Description |
---|
RoutingRuleDelegationMaintainable() |
Modifier and Type | Method and Description |
---|---|
List<MaintenanceLock> |
generateMaintenanceLocks()
Note: as currently implemented, every key field for a given
data object class must have a visible getter
|
String |
getDocumentTitle(MaintenanceDocument document) |
protected RuleBaseValues |
getNewRule(MaintenanceDocument document) |
protected RuleDelegationBo |
getNewRuleDelegation(MaintenanceDocument document) |
protected RuleBaseValues |
getOldRule(MaintenanceDocument document) |
protected RuleDelegationBo |
getOldRuleDelegation(MaintenanceDocument document) |
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() |
protected RuleDelegationBo |
getThisRuleDelegation() |
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 |
setGenerateDefaultValues(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.
|
addMultipleValueLookupResults, addNewLineToCollection, clearBusinessObjectOfRestrictedValues, clearCollectionRestrictedValues, clearFieldRestrictedValues, decryptEncryptedData, deleteBusinessObject, generateAllAffectedReferences, getAffectedReferencesFromLookup, getAllRefreshableReferences, getBoClass, getBusinessObject, getBusinessObjectAuthorizationService, getBusinessObjectDictionaryService, getBusinessObjectMetaDataService, getCoreSections, getDocumentHelperService, getDuplicateIdentifierFieldsFromDataDictionary, getInactiveRecordDisplay, getMaintainableTitle, getMaintenanceDocumentDictionaryService, getMultiValueIdentifierList, getNewCollectionLine, 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, setGenerateBlankRequiredValues, setMaintenanceDocumentDictionaryService, setNewCollectionLineDefaultValues, setPersonService, setShowInactiveRecords, setupNewFromExisting, shouldFieldBeEncrypted
deleteDataObject, doRouteStatusChange, 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, setDataObjectAuthorizationService, setDataObjectClass, setDataObjectMetaDataService, setDocumentDictionaryService, setDocumentNumber, setEncryptionService, setLookupService, setMaintenanceAction, setMaintenanceDocumentService, setupNewFromExisting, useCustomLockDescriptors
addCustomContainerComponents, addLine, adjustIdIfNecessary, applyAuthorizationAndPresentationLogic, applyDefaultValues, applyDefaultValuesForCollectionLine, buildClientSideStateScript, buildExportTableData, buildExportTableRow, buildGrowlScript, buildInquiryLink, cleanViewAfterRender, findNestedDictionaryAttribute, getBusinessObjectService, getCommonContext, getConfigurationService, getDataDictionaryService, getExportTableFormatOptions, getExpressionEvaluator, getPersistenceService, getPersistenceStructureService, getPreModelContext, getViewDictionaryService, initializeDataFieldFromDataDictionary, invokeMethodFinalizer, logAndThrowRuntime, performAddLineValidation, performApplyModel, performComponentApplyModel, performComponentFinalize, performComponentInitialization, performComponentLifecycle, performCustomApplyModel, performCustomFinalize, performCustomInitialization, performDeleteLineValidation, performFinalize, performInitialization, populateDefaultValueForField, populateViewFromRequestParameters, processAfterSaveLine, processAnyRemoteFieldsHolder, processBeforeAddLine, processBeforeSaveLine, processCollectionAddBlankLine, processCollectionAddLine, processCollectionDeleteLine, processCollectionSaveLine, processMultipleValueLookupResults, refreshReferences, retrieveEditModesAndActionFlags, runComponentModifiers, setBusinessObjectService, setConfigurationService, setDataDictionaryService, setExpressionEvaluator, setPersistenceService, setPersistenceStructureService, setViewContext, setViewDictionaryService, spawnSubLifecyle, 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, buildExportTableData, buildInquiryLink, cleanViewAfterRender, getCommonContext, getExpressionEvaluator, performApplyModel, performComponentInitialization, performComponentLifecycle, performFinalize, performInitialization, populateViewFromRequestParameters, processCollectionAddBlankLine, processCollectionAddLine, processCollectionDeleteLine, processCollectionSaveLine, processMultipleValueLookupResults, refreshReferences, spawnSubLifecyle
public RoutingRuleDelegationMaintainable()
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 setGenerateDefaultValues(String docTypeName)
setGenerateDefaultValues
in class KualiMaintainableImpl
Maintainable#setGenerateDefaultValues()
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
public List<MaintenanceLock> generateMaintenanceLocks()
MaintainableImpl
generateMaintenanceLocks
in interface Maintainable
generateMaintenanceLocks
in class MaintainableImpl
Maintainable.generateMaintenanceLocks()
public String getDocumentTitle(MaintenanceDocument document)
getDocumentTitle
in class KualiMaintainableImpl
protected RuleDelegationBo getNewRuleDelegation(MaintenanceDocument document)
protected RuleDelegationBo getOldRuleDelegation(MaintenanceDocument document)
protected RuleDelegationBo getThisRuleDelegation()
protected RuleBaseValues getNewRule(MaintenanceDocument document)
protected RuleBaseValues getOldRule(MaintenanceDocument document)
protected RuleBaseValues getThisRule()
public void prepareForSave()
prepareForSave
in interface Maintainable
prepareForSave
in class MaintainableImpl
org.kuali.rice.krad.maintenance.KualiMaintainableImpl#prepareForSave()
Copyright © 2005-2015 The Kuali Foundation. All Rights Reserved.