| 
 | ||||||||||
| 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.RoutingRuleMaintainable
public class RoutingRuleMaintainable
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 | |
|---|---|
| RoutingRuleMaintainable() | |
| Method Summary | |
|---|---|
|  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 | saveDataObject()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) | 
| 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, performApplyModel, performComponentInitialization, performComponentLifecycle, performFinalize, performInitialization, populateViewFromRequestParameters, processCollectionAddLine, processCollectionDeleteLine, processMultipleValueLookupResults | 
| Constructor Detail | 
|---|
public RoutingRuleMaintainable()
| 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 setGenerateBlankRequiredValues(String docTypeName)
setGenerateBlankRequiredValues in class KualiMaintainableImplMaintainable#setGenerateBlankRequiredValues()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 KualiMaintainableImplprotected RuleBaseValues getNewRule(MaintenanceDocument document)
protected RuleBaseValues getOldRule(MaintenanceDocument document)
protected RuleBaseValues getThisRule()
public List<MaintenanceLock> generateMaintenanceLocks()
generateMaintenanceLocks in interface MaintainablegenerateMaintenanceLocks in class MaintainableImplMaintainable.generateMaintenanceLocks()public String getDocumentTitle(MaintenanceDocument document)
getDocumentTitle in class KualiMaintainableImplpublic void prepareForSave()
prepareForSave in interface MaintainableprepareForSave in class MaintainableImplorg.kuali.rice.krad.maintenance.KualiMaintainableImpl#prepareForSave()
protected void setNewCollectionLineDefaultValues(String collectionName,
                                                 PersistableBusinessObject addLine)
setNewCollectionLineDefaultValues in class KualiMaintainableImplorg.kuali.rice.krad.maintenance.KualiMaintainableImpl#setNewCollectionLineDefaultValues(java.lang.String, org.kuali.rice.krad.bo.PersistableBusinessObject)| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||