本文整理汇总了Java中org.kuali.rice.kew.rule.web.WebRuleUtils.customizeSections方法的典型用法代码示例。如果您正苦于以下问题:Java WebRuleUtils.customizeSections方法的具体用法?Java WebRuleUtils.customizeSections怎么用?Java WebRuleUtils.customizeSections使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.kuali.rice.kew.rule.web.WebRuleUtils
的用法示例。
在下文中一共展示了WebRuleUtils.customizeSections方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getSections
import org.kuali.rice.kew.rule.web.WebRuleUtils; //导入方法依赖的package包/类
/**
* 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.
*/
@Override
public List getSections(MaintenanceDocument document, Maintainable oldMaintainable) {
// since the child lists are not repopulated upon loading the objects, we need to re-load them manually so the section
// generation functions.
if ( getNewRule(document) != null ) {
getNewRule(document).setRuleTemplate( getDataObjectService().find(RuleTemplateBo.class, getNewRule(document).getRuleTemplateId() ) );
}
if ( getOldRule(document) != null ) {
getOldRule(document).setRuleTemplate( getDataObjectService().find(RuleTemplateBo.class, getOldRule(document).getRuleTemplateId() ) );
}
List<Section> sections = super.getSections(document, oldMaintainable);
return WebRuleUtils.customizeSections(getThisRule(), sections, false);
}
示例2: getSections
import org.kuali.rice.kew.rule.web.WebRuleUtils; //导入方法依赖的package包/类
/**
* 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.
*/
@Override
public List getSections(MaintenanceDocument document, Maintainable oldMaintainable) {
List<Section> sections = super.getSections(document, oldMaintainable);
return WebRuleUtils.customizeSections(getThisRule(), sections, false);
}
示例3: getSections
import org.kuali.rice.kew.rule.web.WebRuleUtils; //导入方法依赖的package包/类
/**
* 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.
*/
@Override
public List getSections(MaintenanceDocument document, Maintainable oldMaintainable) {
List<Section> sections = super.getSections(document, oldMaintainable);
return WebRuleUtils.customizeSections(getThisRule(), sections, true);
}
示例4: getSections
import org.kuali.rice.kew.rule.web.WebRuleUtils; //导入方法依赖的package包/类
/**
* This overridden method ...
*
* @see org.kuali.rice.krad.inquiry.Inquirable#getSections(org.kuali.rice.krad.bo.BusinessObject)
*/
public List<Section> getSections(BusinessObject bo) {
List<Section> sections = super.getSections(bo);
return WebRuleUtils.customizeSections((RuleBaseValues)bo, sections, false);
}
示例5: getSections
import org.kuali.rice.kew.rule.web.WebRuleUtils; //导入方法依赖的package包/类
/**
* This overridden method ...
*
* @see org.kuali.rice.krad.inquiry.Inquirable#getSections(org.kuali.rice.krad.bo.BusinessObject)
*/
public List getSections(BusinessObject bo) {
List<Section> sections = super.getSections(bo);
return WebRuleUtils.customizeSections(((RuleDelegationBo)bo).getDelegationRule(), sections, true);
}