|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.kns.uif.service.impl.ViewHelperServiceImpl 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 | |
---|---|
private static long |
serialVersionUID
|
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 |
Methods inherited from interface org.kuali.rice.kns.uif.service.ViewHelperService |
---|
applyDefaultValues, applyDefaultValuesForCollectionLine, buildInquiryLink, performApplyModel, performComponentInitialization, performComponentLifecycle, performFinalize, performInitialization, populateViewFromRequestParameters, processCollectionAddLine, processCollectionDeleteLine |
Field Detail |
---|
private static final long serialVersionUID
Constructor Detail |
---|
public RoutingRuleMaintainable()
Method Detail |
---|
public List getSections(MaintenanceDocument document, Maintainable oldMaintainable)
getSections
in interface Maintainable
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 in
public void processAfterNew(MaintenanceDocument document, Map<String,String[]> parameters)
processAfterNew
in interface Maintainable
processAfterNew
in class KualiMaintainableImpl
org.kuali.rice.kns.maintenance.Maintainable#processAfterNew()
public void setGenerateBlankRequiredValues(String docTypeName)
setGenerateBlankRequiredValues
in interface Maintainable
setGenerateBlankRequiredValues
in class KualiMaintainableImpl
org.kuali.rice.kns.maintenance.Maintainable#setGenerateBlankRequiredValues()
public void saveBusinessObject()
saveBusinessObject
in interface Maintainable
saveBusinessObject
in class KualiMaintainableImpl
Maintainable.saveBusinessObject()
public void processAfterCopy(MaintenanceDocument document, Map<String,String[]> parameters)
KualiMaintainableImpl
processAfterCopy
in interface Maintainable
processAfterCopy
in class KualiMaintainableImpl
org.kuali.rice.kns.maintenance.KualiMaintainableImpl#processAfterCopy()
public void processAfterEdit(MaintenanceDocument document, Map<String,String[]> parameters)
Maintainable
processAfterEdit
in interface Maintainable
processAfterEdit
in class KualiMaintainableImpl
org.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 Maintainable
generateMaintenanceLocks
in class KualiMaintainableImpl
public String getDocumentTitle(MaintenanceDocument document)
KualiMaintainableImpl
getDocumentTitle
in interface Maintainable
getDocumentTitle
in class KualiMaintainableImpl
public void prepareForSave()
prepareForSave
in interface Maintainable
prepareForSave
in class KualiMaintainableImpl
KualiMaintainableImpl.prepareForSave()
protected void setNewCollectionLineDefaultValues(String collectionName, PersistableBusinessObject addLine)
setNewCollectionLineDefaultValues
in class KualiMaintainableImpl
KualiMaintainableImpl.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 |