Class SimpleCondition
java.lang.Object
org.alfresco.rest.api.model.rules.SimpleCondition
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SimpleCondition.Builder
builder()
boolean
static SimpleCondition
from
(ActionCondition actionCondition, RestModelMapper<SimpleCondition, ActionCondition> simpleConditionMapper) Creates simple condition REST model instance from service POJO action condition.getField()
int
hashCode()
static List<SimpleCondition>
listOf
(List<ActionCondition> actionConditions, RestModelMapper<SimpleCondition, ActionCondition> simpleConditionMapper) Converts list of service POJO action conditions to list of REST model simple conditions.void
setComparator
(String comparator) void
void
setParameter
(String parameter) toServiceModel
(boolean inverted, RestModelMapper<SimpleCondition, ActionCondition> mapper) toString()
-
Field Details
-
CATEGORY_INVALID_MSG
- See Also:
-
PARAM_CATEGORY
- See Also:
-
PARAM_MIMETYPE
- See Also:
-
-
Constructor Details
-
SimpleCondition
public SimpleCondition()
-
-
Method Details
-
listOf
public static List<SimpleCondition> listOf(List<ActionCondition> actionConditions, RestModelMapper<SimpleCondition, ActionCondition> simpleConditionMapper) Converts list of service POJO action conditions to list of REST model simple conditions.- Parameters:
actionConditions
- - list ofActionCondition
service POJOs- Returns:
- list of
SimpleCondition
REST models
-
from
public static SimpleCondition from(ActionCondition actionCondition, RestModelMapper<SimpleCondition, ActionCondition> simpleConditionMapper) Creates simple condition REST model instance from service POJO action condition.- Parameters:
actionCondition
- -ActionCondition
service POJO- Returns:
SimpleCondition
REST model
-
toServiceModel
public ActionCondition toServiceModel(boolean inverted, RestModelMapper<SimpleCondition, ActionCondition> mapper) -
getField
-
setField
-
getComparator
-
setComparator
-
getParameter
-
setParameter
-
toString
-
equals
-
hashCode
public int hashCode() -
builder
-