| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl
org.kuali.rice.krad.maintenance.MaintainableImpl
org.kuali.rice.kns.maintenance.KualiMaintainableImpl
org.kuali.rice.kew.document.RoutingRuleDelegationMaintainable
public class RoutingRuleDelegationMaintainable
This class is the maintainable implementation for Routing Rules 
 in KEW (represented by the RuleBaseValues business object).
| Field Summary | 
|---|
| Fields inherited from class org.kuali.rice.kns.maintenance.KualiMaintainableImpl | 
|---|
| businessObject, businessObjectAuthorizationService, businessObjectDictionaryService, businessObjectMetaDataService, documentHelperService, inactiveRecordDisplay, maintenanceDocumentDictionaryService, newCollectionLineNames, newCollectionLines, persistenceStructureService, personService | 
| Constructor Summary | |
|---|---|
| RoutingRuleDelegationMaintainable() | |
| Method Summary | |
|---|---|
|  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 | saveDataObject()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. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Methods inherited from interface org.kuali.rice.krad.uif.service.ViewHelperService | 
|---|
| applyDefaultValuesForCollectionLine, buildInquiryLink, cleanViewAfterRender, performApplyModel, performComponentInitialization, performComponentLifecycle, performFinalize, performInitialization, populateViewFromRequestParameters, processCollectionAddLine, processCollectionDeleteLine, processMultipleValueLookupResults | 
| Constructor Detail | 
|---|
public RoutingRuleDelegationMaintainable()
| Method Detail | 
|---|
public List getSections(MaintenanceDocument document,
                        Maintainable oldMaintainable)
getSections in class KualiMaintainableImploldMaintainable - - 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
public void processAfterNew(MaintenanceDocument document,
                            Map<String,String[]> parameters)
processAfterNew in class KualiMaintainableImplpublic void setGenerateDefaultValues(String docTypeName)
setGenerateDefaultValues in class KualiMaintainableImplMaintainable#setGenerateDefaultValues()public void saveBusinessObject()
saveBusinessObject in class KualiMaintainableImplMaintainable.saveBusinessObject()public void saveDataObject()
saveDataObject in interface MaintainablesaveDataObject in class MaintainableImplMaintainable.saveDataObject()
public void processAfterCopy(MaintenanceDocument document,
                             Map<String,String[]> parameters)
KualiMaintainableImpl
processAfterCopy in class KualiMaintainableImplKualiMaintainableImpl#processAfterCopy()
public void processAfterEdit(MaintenanceDocument document,
                             Map<String,String[]> parameters)
processAfterEdit in class KualiMaintainableImplpublic List<MaintenanceLock> generateMaintenanceLocks()
MaintainableImpl
generateMaintenanceLocks in interface MaintainablegenerateMaintenanceLocks in class MaintainableImplMaintainable.generateMaintenanceLocks()public String getDocumentTitle(MaintenanceDocument document)
getDocumentTitle in class KualiMaintainableImplprotected 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 MaintainableprepareForSave in class MaintainableImplorg.kuali.rice.krad.maintenance.KualiMaintainableImpl#prepareForSave()| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||