Class Conditions
java.lang.Object
org.exoplatform.task.dao.condition.Conditions
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic Stringstatic Stringstatic Stringstatic final Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic final Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic Stringstatic final Stringstatic Stringstatic Stringstatic Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AggregateConditionstatic SingleCondition<String> static <T> SingleCondition<T> static <T> SingleCondition<T> static <T> SingleCondition<T> static <T> SingleCondition<List<T>> static <T> SingleCondition<T> static <T> SingleCondition<T> static <T> SingleCondition<T> static <T> SingleCondition<T> static <T> SingleCondition<T> static SingleCondition<LoggedSince> loggedSince(List<String> actionNames, Date since) Selects the tasks with a change log entry of one of the given actions at or after the given date, the same entry meeting both.static <T> SingleCondition<T> static <T> SingleCondition<T> static <T> SingleCondition<T> static AggregateCondition
-
Field Details
-
ID
-
TASK_TITLE
-
TASK_DES
-
TASK_PRIORITY
-
TASK_ASSIGNEE
-
TASK_COWORKER
-
TASK_WATCHER
-
TASK_CREATOR
-
TASK_STATUS
-
TASK_STATUS_NAME
-
TASK_STATUS_ID
- See Also:
-
TASK_CREATED_TIME
- See Also:
-
TASK_DUEDATE
-
TASK_PROJECT
-
TASK_LABEL_USERNAME
-
TASK_LABEL_ID
-
TASK_COMPLETED
-
TASK_START_DATE
-
TASK_END_DATE
-
TASK_MANAGER
-
TASK_PARTICIPATOR
-
TASK_MENTIONED_USERS
-
TASK_LOGS
- See Also:
-
MANAGER
- See Also:
-
PARTICIPATOR
- See Also:
-
NAME
- See Also:
-
PARENT
- See Also:
-
PARENT_ID
- See Also:
-
USERNAME
- See Also:
-
LABEL_TASK_ID
- See Also:
-
-
Constructor Details
-
Conditions
public Conditions()
-
-
Method Details
-
eq
-
like
-
contains
- Parameters:
fieldName- a text fieldvalue- the text the field contains, taken literally: its%and_are characters, not wildcards- Returns:
- the condition that the field contains the text, ignoring case
-
gt
-
lt
-
gte
-
lte
-
isNull
-
isEmpty
-
notNull
-
in
-
isTrue
-
isFalse
-
loggedSince
Selects the tasks with a change log entry of one of the given actions at or after the given date, the same entry meeting both.- Parameters:
actionNames- the change log action names, such asedit_statussince- the earliest date of the entry, included- Returns:
- the condition
-
and
-
or
-