@Component public class RuleConditions extends Renderable
| Modifier and Type | Class and Description |
|---|---|
static class |
RuleConditions.Operations
enum used to find operation names options by their value attribute
|
static class |
RuleConditions.PropertiesNamesByRel
enum used to find criteria names options by their rel attribute
|
static class |
RuleConditions.PropertiesNamesByValue
enum used to find criteria names options by their value
|
static class |
RuleConditions.WhenCondition
enum used to find the when condition names options by their value
|
renderableParent, webDriver| Constructor and Description |
|---|
RuleConditions() |
| Modifier and Type | Method and Description |
|---|---|
RuleConditions |
addNewCriteria()
Adds a new criteria in the list
|
RuleConditions |
checkIfAllCriteriaAreMet(boolean checked)
Checks the "If all criteria are met" checkbox
|
RuleConditions |
removeCriteriaAtIndex(int index)
Removes the criteria found as specified index
|
RuleConditions |
selectAction(RuleConditions.WhenCondition condition)
Select when condition by condition value.
|
RuleConditions |
selectCriteriaNameByRel(String rel)
Selects a criteria name using the rel attribute
|
RuleConditions |
selectCriteriaNameByValue(String value)
Selects a criteria name using the value attribute
|
RuleConditions |
selectOperation(String operationValue)
Can be used with Operations
|
ShowMoreDialog |
selectShowMore()
Selects the Show more option
|
RuleConditions |
setOperationValue(String value)
Sets the operation value
|
as, getAllFields, getLastRendered, render, renderChildrenpublic RuleConditions selectAction(RuleConditions.WhenCondition condition)
condition - Action to select.public RuleConditions checkIfAllCriteriaAreMet(boolean checked)
checked - if it needs to be checked or uncheckedpublic RuleConditions addNewCriteria()
public RuleConditions removeCriteriaAtIndex(int index)
index - of the criteria in the listpublic RuleConditions selectCriteriaNameByValue(String value)
value - can be used with PropertiesNamesByValuepublic RuleConditions selectCriteriaNameByRel(String rel)
rel - can be used with PropertiesNamesByRelpublic RuleConditions selectOperation(String operationValue)
operationValue - to be selectedpublic RuleConditions setOperationValue(String value)
value - to be given to the operationpublic ShowMoreDialog selectShowMore()
Copyright © 2005–2016 Alfresco Software. All rights reserved.