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
Modifier and Type | Field and Description |
---|---|
static String |
NODE_NAME_SEARCHNODE |
ATTRIBUTE_NAME_CONTAINER, ATTRIBUTE_NAME_RESOURCE, m_scontainer, m_sresource, m_sStyleClass, NODE_NAME_COLOR
Constructor and Description |
---|
OwStandardPriorityRule() |
Modifier and Type | Method and Description |
---|---|
boolean |
appliesTo(OwObject object_p)
Checks if this rule applies to an
OwObject |
OwSearchNode |
getRule()
get the OwSearchNode with criteria that make up the rule
|
void |
init(Node configNode_p,
OwFieldDefinitionProvider fieldefinitionprovider_p)
init from config node
|
getContainer, getStylClass
public static final String NODE_NAME_SEARCHNODE
public void init(Node configNode_p, OwFieldDefinitionProvider fieldefinitionprovider_p) throws Exception
configNode_p
- priority rule DOM nodefieldefinitionprovider_p
- OwFieldDefinitionProviderException
public OwSearchNode getRule()
public final boolean appliesTo(OwObject object_p) throws OwInvalidOperationException
OwPriorityRule
OwObject
true
if this rule applies to the specified object, false
otherwise.OwInvalidOperationException
- if the rule checking process failedCopyright © 2014 Alfresco Business Solutions. All Rights Reserved.