com.wewebu.ow.server.field
Class OwPriorityRuleBase
java.lang.Object
com.wewebu.ow.server.field.OwPriorityRuleBase
- All Implemented Interfaces:
- OwPriorityRule
- Direct Known Subclasses:
- OwExpressionPriorityRule, OwStandardPriorityRule
public abstract class OwPriorityRuleBase
- extends Object
- implements OwPriorityRule
Base class for priority rules implementation.
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 |
ATTRIBUTE_NAME_CONTAINER
protected static final String ATTRIBUTE_NAME_CONTAINER
- See Also:
- Constant Field Values
ATTRIBUTE_NAME_RESOURCE
protected static final String ATTRIBUTE_NAME_RESOURCE
- See Also:
- Constant Field Values
NODE_NAME_COLOR
protected static final String NODE_NAME_COLOR
- See Also:
- Constant Field Values
m_scontainer
protected String m_scontainer
m_sresource
protected String m_sresource
m_sStyleClass
protected String m_sStyleClass
OwPriorityRuleBase
public OwPriorityRuleBase()
OwPriorityRuleBase
public OwPriorityRuleBase(String scontainer_p,
String sresource_p,
String styleClass_p)
- Constructor
- Parameters:
scontainer_p
- the container ID the rule applies tosresource_p
- the resource ID the rule applies tostyleClass_p
-
getContainer
public String getContainer()
- Gets the container ID the rule applies to.
- Specified by:
getContainer
in interface OwPriorityRule
- Returns:
- String
getStylClass
public String getStylClass()
- Gets the style class the item should be highlighted if rule applies.
- Specified by:
getStylClass
in interface OwPriorityRule
- Returns:
- String style class string e.g. myStyle
Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.