com.wewebu.ow.server.field
Class OwStandardPriorityRule
java.lang.Object
com.wewebu.ow.server.field.OwPriorityRuleBase
com.wewebu.ow.server.field.OwStandardPriorityRule
- All Implemented Interfaces:
- OwPriorityRule
public class OwStandardPriorityRule
- extends OwPriorityRuleBase
Priority rule definition standard implementation (XML Search Node 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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NODE_NAME_SEARCHNODE
public static final String NODE_NAME_SEARCHNODE
- See Also:
- Constant Field Values
OwStandardPriorityRule
public OwStandardPriorityRule()
init
public void init(Node configNode_p,
OwFieldDefinitionProvider fieldefinitionprovider_p)
throws Exception
- init from config node
- Parameters:
configNode_p
- priority rule DOM nodefieldefinitionprovider_p
- OwFieldDefinitionProvider
- Throws:
Exception
getRule
public OwSearchNode getRule()
- get the OwSearchNode with criteria that make up the rule
- Returns:
- OwSearchNode
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
Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.