Class FindActivitiesRequest
Object
PagedRequest
FindActivitiesRequest
- All Implemented Interfaces:
Serializable
The search criteria for activities.
Only parameters that are specified in this request and have not null values are used for filtering.
All other parameters are ignored.
The returned activities satisfy all constraints that are specified in this search criteria.
By default a result containing 1000 activities is returned.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class PagedRequest
countLimit, limit, offset -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanThe type of the activity.The ID of the call.The set of the categories of activities that should be searched.The ID of the context which the activities should be searched for.intDeprecated.Parameter not used in the context of activities, for performance reasons they are not counted.The end date of the searched activities, expressed as a Unix timestamp in milliseconds.The list of IDs of the people that should be involved in searched activities.The list of IDs of the roles that should be involved in searched activities.The list of IDs of the roles assigned to users who performed searched activities.The ID of the user who performed searched activities.Deprecated.UseresourceDiscriminatorsinstead.The start date of the searched activities, expressed as a Unix timestamp in milliseconds.The ID of the task which contains the basic find activities request.inthashCode()booleanFlag to indicate if the number of calls standing behind the activity should be returned or not.voidsetActivityType(ActivityType activityType) The type of the activity.voidsetCallCountEnabled(boolean callCountEnabled) Flag to indicate if the number of calls standing behind the activity should be returned or not.voidThe ID of the call.voidsetCategories(Set<ActivityFilterCategory> categories) The set of the categories of activities that should be searched.voidsetContextId(UUID contextId) The ID of the context which the activities should be searched for.voidsetEndDate(Long endDate) The end date of the searched activities, expressed as a Unix timestamp in milliseconds.voidsetInvolvedPeopleIds(Set<UUID> involvedPeopleIds) The list of IDs of the people that should be involved in searched activities.voidsetInvolvedRoleIds(Set<UUID> involvedRoleIds) The list of IDs of the roles that should be involved in searched activities.voidsetPerformedByRoleIds(Set<UUID> performedByRoleIds) The list of IDs of the roles assigned to users who performed searched activities.voidsetPerformedByUserId(UUID performedByUserId) The ID of the user who performed searched activities.voidsetResourceDiscriminators(Set<String> resourceDiscriminators) voidsetResourceTypes(Set<ResourceType> resourceTypes) Deprecated.UseresourceDiscriminatorsinstead.voidsetStartDate(Long startDate) The start date of the searched activities, expressed as a Unix timestamp in milliseconds.voidThe ID of the task which contains the basic find activities request.toString()Methods inherited from class PagedRequest
getLimit, getOffset, isPagingActive, setCountLimit, setLimit, setOffset
-
Constructor Details
-
FindActivitiesRequest
public FindActivitiesRequest()
-
-
Method Details
-
getCountLimit
Deprecated.Parameter not used in the context of activities, for performance reasons they are not counted.Description copied from class:PagedRequestAllows to limit the number of elements that will be counted. -1 will count everything and 0 will cause the count to be skipped- Overrides:
getCountLimitin classPagedRequest
-
builder
-
getTaskId
The ID of the task which contains the basic find activities request. -
getContextId
The ID of the context which the activities should be searched for. -
getInvolvedPeopleIds
The list of IDs of the people that should be involved in searched activities. -
getInvolvedRoleIds
The list of IDs of the roles that should be involved in searched activities. -
getPerformedByUserId
The ID of the user who performed searched activities. -
getPerformedByRoleIds
The list of IDs of the roles assigned to users who performed searched activities. -
getActivityType
The type of the activity. -
getCallId
The ID of the call. -
getCategories
The set of the categories of activities that should be searched. One of [ATTRIBUTE, ATTACHMENT, RELATION, COMMENT, STATUS, WORKFLOW, RESPONSIBILITY, USER, USER_GROUP, ROLE, TAGS, OTHERS]. -
getResourceTypes
Deprecated.UseresourceDiscriminatorsinstead.The set of the resource types that searched activities refer to, i.e. [Community, Asset, Domain, Attribute, Relation, WorkflowInstance]. -
getResourceDiscriminators
-
getStartDate
The start date of the searched activities, expressed as a Unix timestamp in milliseconds. -
getEndDate
The end date of the searched activities, expressed as a Unix timestamp in milliseconds. -
isCallCountEnabled
public boolean isCallCountEnabled()Flag to indicate if the number of calls standing behind the activity should be returned or not. Note that by default that count will be not calculated as it brings an important performance penalty. -
setTaskId
The ID of the task which contains the basic find activities request. -
setContextId
The ID of the context which the activities should be searched for. -
setInvolvedPeopleIds
The list of IDs of the people that should be involved in searched activities. -
setInvolvedRoleIds
The list of IDs of the roles that should be involved in searched activities. -
setPerformedByUserId
The ID of the user who performed searched activities. -
setPerformedByRoleIds
The list of IDs of the roles assigned to users who performed searched activities. -
setActivityType
The type of the activity. -
setCallId
The ID of the call. -
setCategories
The set of the categories of activities that should be searched. One of [ATTRIBUTE, ATTACHMENT, RELATION, COMMENT, STATUS, WORKFLOW, RESPONSIBILITY, USER, USER_GROUP, ROLE, TAGS, OTHERS]. -
setResourceTypes
Deprecated.UseresourceDiscriminatorsinstead.The set of the resource types that searched activities refer to, i.e. [Community, Asset, Domain, Attribute, Relation, WorkflowInstance]. -
setResourceDiscriminators
-
setStartDate
The start date of the searched activities, expressed as a Unix timestamp in milliseconds. -
setEndDate
The end date of the searched activities, expressed as a Unix timestamp in milliseconds. -
setCallCountEnabled
public void setCallCountEnabled(boolean callCountEnabled) Flag to indicate if the number of calls standing behind the activity should be returned or not. Note that by default that count will be not calculated as it brings an important performance penalty. -
equals
- Overrides:
equalsin classPagedRequest
-
canEqual
- Overrides:
canEqualin classPagedRequest
-
hashCode
public int hashCode()- Overrides:
hashCodein classPagedRequest
-
toString
- Overrides:
toStringin classPagedRequest
-