|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 |
|---|
| Constructor Summary | |
|---|---|
RoutingRuleMaintainable()
|
|
| Method Summary | |
|---|---|
List<MaintenanceLock> |
generateMaintenanceLocks()
Overridden implementation of maintenance locks. |
String |
getDocumentTitle(MaintenanceDocument document)
This is a hook to allow the document to override the generic document title. |
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)
This method is a hook to do any necessary post-edit processing, which is to say that it is called when a document is about to be edited; this is therefore a hook to write any code to modify the business object before it is displayed to the end user to edit. |
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RoutingRuleMaintainable()
| Method Detail |
|---|
public List getSections(MaintenanceDocument document,
Maintainable oldMaintainable)
getSections in interface MaintainablegetSections 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 interface MaintainableprocessAfterNew in class KualiMaintainableImplorg.kuali.rice.kns.maintenance.Maintainable#processAfterNew()public void setGenerateBlankRequiredValues(String docTypeName)
setGenerateBlankRequiredValues in interface MaintainablesetGenerateBlankRequiredValues in class KualiMaintainableImplorg.kuali.rice.kns.maintenance.Maintainable#setGenerateBlankRequiredValues()public void saveBusinessObject()
saveBusinessObject in interface MaintainablesaveBusinessObject in class KualiMaintainableImplMaintainable.saveBusinessObject()
public void processAfterCopy(MaintenanceDocument document,
Map<String,String[]> parameters)
KualiMaintainableImpl
processAfterCopy in interface MaintainableprocessAfterCopy in class KualiMaintainableImplorg.kuali.rice.kns.maintenance.KualiMaintainableImpl#processAfterCopy()
public void processAfterEdit(MaintenanceDocument document,
Map<String,String[]> parameters)
Maintainable
processAfterEdit in interface MaintainableprocessAfterEdit in class KualiMaintainableImplorg.kuali.rice.kns.maintenance.Maintainable#processAfterEdit()protected RuleBaseValues getNewRule(MaintenanceDocument document)
protected RuleBaseValues getOldRule(MaintenanceDocument document)
protected RuleBaseValues getThisRule()
public List<MaintenanceLock> generateMaintenanceLocks()
generateMaintenanceLocks in interface MaintainablegenerateMaintenanceLocks in class KualiMaintainableImplpublic String getDocumentTitle(MaintenanceDocument document)
KualiMaintainableImpl
getDocumentTitle in interface MaintainablegetDocumentTitle in class KualiMaintainableImplpublic void prepareForSave()
prepareForSave in interface MaintainableprepareForSave in class KualiMaintainableImplKualiMaintainableImpl.prepareForSave()
protected void setNewCollectionLineDefaultValues(String collectionName,
PersistableBusinessObject addLine)
setNewCollectionLineDefaultValues in class KualiMaintainableImplKualiMaintainableImpl.setNewCollectionLineDefaultValues(java.lang.String, org.kuali.rice.kns.bo.PersistableBusinessObject)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||