当前位置: 首页>>代码示例>>Java>>正文


Java WebRuleUtils.customizeSections方法代码示例

本文整理汇总了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);
}
 
开发者ID:kuali,项目名称:kc-rice,代码行数:20,代码来源:RoutingRuleMaintainable.java

示例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);
	
}
 
开发者ID:aapotts,项目名称:kuali_rice,代码行数:11,代码来源:RoutingRuleMaintainable.java

示例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);
}
 
开发者ID:kuali,项目名称:kc-rice,代码行数:10,代码来源:RoutingRuleDelegationMaintainable.java

示例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);

}
 
开发者ID:kuali,项目名称:kc-rice,代码行数:12,代码来源:RuleBaseValuesInquirableImpl.java

示例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);
	
}
 
开发者ID:kuali,项目名称:kc-rice,代码行数:12,代码来源:RuleDelegationInquirableImpl.java


注:本文中的org.kuali.rice.kew.rule.web.WebRuleUtils.customizeSections方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。