com.wewebu.ow.server.field
Class OwPriorityRuleBase

java.lang.Object
  extended by 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


Field Summary
protected static String ATTRIBUTE_NAME_CONTAINER
           
protected static String ATTRIBUTE_NAME_RESOURCE
           
protected  String m_scontainer
           
protected  String m_sresource
           
protected  String m_sStyleClass
           
protected static String NODE_NAME_COLOR
           
 
Constructor Summary
OwPriorityRuleBase()
           
OwPriorityRuleBase(String scontainer_p, String sresource_p, String styleClass_p)
          Constructor
 
Method Summary
 String getContainer()
          Gets the container ID the rule applies to.
 String getStylClass()
          Gets the style class the item should be highlighted if rule applies.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.wewebu.ow.server.field.OwPriorityRule
appliesTo
 

Field Detail

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
Constructor Detail

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 to
sresource_p - the resource ID the rule applies to
styleClass_p -
Method Detail

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.