public class ObjectCodePreRules extends org.kuali.rice.kns.rules.PromptBeforeValidationBase
ObjectCode
that needs to occur while still in the Struts processing. This includes defaults, confirmations,
etc.Modifier and Type | Field and Description |
---|---|
protected static ChartService |
chartService |
protected static org.apache.log4j.Logger |
LOG |
protected static ObjectLevelService |
objectLevelService |
protected Map |
reportsTo |
Constructor and Description |
---|
ObjectCodePreRules()
Constructs a ObjectCodePreRules
Pseudo-injects services and populates the reportsTo hierarchy
|
Modifier and Type | Method and Description |
---|---|
boolean |
doPrompts(org.kuali.rice.krad.document.Document document)
This method forces the reports to chart on the object code to be the correct one based on the
reports to hierarchy
|
protected static org.apache.log4j.Logger LOG
protected static ChartService chartService
protected static ObjectLevelService objectLevelService
public ObjectCodePreRules()
public boolean doPrompts(org.kuali.rice.krad.document.Document document)
Additionally if the object level is null or inactive it confirms with the user that this is actually the object level code they wish to use
doPrompts
in class org.kuali.rice.kns.rules.PromptBeforeValidationBase
org.kuali.rice.kns.rules.PromptBeforeValidationBase#doRules(org.kuali.rice.krad.document.Document)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.