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


Java ActionConditionEvaluator类代码示例

本文整理汇总了Java中org.alfresco.repo.action.evaluator.ActionConditionEvaluator的典型用法代码示例。如果您正苦于以下问题:Java ActionConditionEvaluator类的具体用法?Java ActionConditionEvaluator怎么用?Java ActionConditionEvaluator使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


ActionConditionEvaluator类属于org.alfresco.repo.action.evaluator包,在下文中一共展示了ActionConditionEvaluator类的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: evaluateSimpleCondition

import org.alfresco.repo.action.evaluator.ActionConditionEvaluator; //导入依赖的package包/类
private boolean evaluateSimpleCondition(ActionCondition condition, NodeRef actionedUponNodeRef)
{
    if (logger.isDebugEnabled())
    {
        logger.debug("Evaluating simple condition " + condition.getActionConditionDefinitionName());
    }
    // Evaluate the condition
    ActionConditionEvaluator evaluator = (ActionConditionEvaluator) this.applicationContext.getBean(condition
                .getActionConditionDefinitionName());
    return evaluator.evaluate(condition, actionedUponNodeRef);
}
 
开发者ID:Alfresco,项目名称:alfresco-repository,代码行数:12,代码来源:ActionServiceImpl.java

示例2: getActionConditionDefinition

import org.alfresco.repo.action.evaluator.ActionConditionEvaluator; //导入依赖的package包/类
/**
 * @see org.alfresco.repo.action.ActionServiceImpl#getActionConditionDefinition(java.lang.String)
 */
public ActionConditionDefinition getActionConditionDefinition(String name)
{
    // get direct access to action condition definition (i.e. ignoring public flag of executer)
    ActionConditionDefinition definition = null;
    Object bean = extendedApplicationContext.getBean(name);
    if (bean instanceof ActionConditionEvaluator)
    {
        ActionConditionEvaluator evaluator = (ActionConditionEvaluator) bean;
        definition = evaluator.getActionConditionDefintion();
    }
    return definition;
}
 
开发者ID:Alfresco,项目名称:records-management-old,代码行数:16,代码来源:ExtendedActionServiceImpl.java

示例3: registerActionConditionEvaluator

import org.alfresco.repo.action.evaluator.ActionConditionEvaluator; //导入依赖的package包/类
/**
 * @see org.alfresco.repo.action.RuntimeActionService#registerActionConditionEvaluator(org.alfresco.repo.action.evaluator.ActionConditionEvaluator)
 */
public void registerActionConditionEvaluator(ActionConditionEvaluator actionConditionEvaluator)
{
    ActionConditionDefinition cond = actionConditionEvaluator.getActionConditionDefintion();
    this.conditionDefinitions.put(cond.getName(), cond);
}
 
开发者ID:Alfresco,项目名称:alfresco-repository,代码行数:9,代码来源:ActionServiceImpl.java

示例4: setActionConditionEvaluator

import org.alfresco.repo.action.evaluator.ActionConditionEvaluator; //导入依赖的package包/类
/**
 * @param actionEvaluator   action evaluator
 */
public void setActionConditionEvaluator(ActionConditionEvaluator actionConditionEvaluator)
{
    this.actionConditionEvaluator = actionConditionEvaluator;
}
 
开发者ID:Alfresco,项目名称:records-management-old,代码行数:8,代码来源:DelegateActionCondition.java

示例5: registerActionConditionEvaluator

import org.alfresco.repo.action.evaluator.ActionConditionEvaluator; //导入依赖的package包/类
/**
 * Register an action condition evaluator
 * 
 * @param actionConditionEvaluator  action condition evaluator
 */
void registerActionConditionEvaluator(ActionConditionEvaluator actionConditionEvaluator);
 
开发者ID:Alfresco,项目名称:alfresco-repository,代码行数:7,代码来源:RuntimeActionService.java


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