com.wewebu.ow.server.field
Class OwExpressionPriorityRule
java.lang.Object
com.wewebu.ow.server.field.OwPriorityRuleBase
com.wewebu.ow.server.field.OwExpressionPriorityRule
- All Implemented Interfaces:
- OwPriorityRule
public class OwExpressionPriorityRule
- extends OwPriorityRuleBase
Priority rule definition standard implementation (Expression Language based).
Rules Engine for Highlighting in Hit List.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
NODE_NAME_EXPRESSION
public static final String NODE_NAME_EXPRESSION
- See Also:
- Constant Field Values
newPiorityRule
public static OwExpressionPriorityRule newPiorityRule(Node configNode_p,
OwFieldDefinitionProvider fieldefinitionprovider_p)
throws Exception
- Instance creation helper.
Creates a new
OwExpressionPriorityRule
instance based on a configuration node
- Parameters:
configNode_p
- the priority rule configuration node (must contain exactly one CDATA defined expressions)fieldefinitionprovider_p
-
- Returns:
- the new
OwExpressionPriorityRule
instance
- Throws:
Exception
- if the instance creation failed (no CDATA definitions, more than one CDATA definitions,the WFLan expression failed at parse time)
appliesTo
public final boolean appliesTo(OwObject object_p)
throws OwInvalidOperationException
- Description copied from interface:
OwPriorityRule
- Checks if this rule applies to an
OwObject
- Returns:
true
if this rule applies to the specified object, false
otherwise.
- Throws:
OwInvalidOperationException
- if the rule checking process failed- See Also:
OwPriorityRule.appliesTo(OwObject)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.