Package lumis.portal.activitystream
Interface ActivityDocument.IActivityDocumentPriority
-
- Enclosing class:
- ActivityDocument
@StableMinor(version="14.2", sinceVersion="8.2") public static interface ActivityDocument.IActivityDocumentPriority
Contains information about a priority to be applied to different principals, stored in aActivityDocument
.- Since:
- 8.2.0
- Version:
- $Revision: 24985 $ $Date: 2022-05-02 23:04:30 -0300 (Mon, 02 May 2022) $
- See Also:
ActivityPriority
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addExcludedPrincipalIds(String... principalIds)
Adds principals this priority must not be applied to.void
addExcludedPrincipalIds(Collection<String> principalIds)
Adds principals this priority must not be applied to.ActivityDocument.IActivityDocumentPriorityIncludedEntry
addIncludedEntry()
Adds an entry for specifying the principals this priority applies to.Collection<String>
getExcludedPrincipalIds()
Returns the identifiers of principals this priority must not be applied to.Collection<ActivityDocument.IActivityDocumentPriorityIncludedEntry>
getIncludedEntries()
Returns the entries specifying the principals this priority applies to.double
getPriority()
The priority value.void
setPriority(double priority)
Sets the priority value.
-
-
-
Method Detail
-
getPriority
double getPriority()
The priority value.- Returns:
- the priority value.
- Since:
- 8.2.0
-
setPriority
void setPriority(double priority)
Sets the priority value.- Parameters:
priority
- the priority value.- Since:
- 8.2.0
-
getExcludedPrincipalIds
Collection<String> getExcludedPrincipalIds()
Returns the identifiers of principals this priority must not be applied to.- Returns:
- the identifiers of principals this priority must not be applied to.
- Since:
- 8.2.0
- See Also:
ActivityPriority.getExcludedPrincipalIds()
-
addExcludedPrincipalIds
void addExcludedPrincipalIds(String... principalIds)
Adds principals this priority must not be applied to.- Parameters:
principalIds
- identifiers of the principals.- Since:
- 8.2.0
- See Also:
ActivityPriority.getExcludedPrincipalIds()
-
addExcludedPrincipalIds
void addExcludedPrincipalIds(Collection<String> principalIds)
Adds principals this priority must not be applied to.- Parameters:
principalIds
- identifiers of the principals.- Since:
- 8.2.0
- See Also:
ActivityPriority.getExcludedPrincipalIds()
-
getIncludedEntries
Collection<ActivityDocument.IActivityDocumentPriorityIncludedEntry> getIncludedEntries()
Returns the entries specifying the principals this priority applies to.- Returns:
- the included entries for this priority.
- Since:
- 8.2.0
-
addIncludedEntry
ActivityDocument.IActivityDocumentPriorityIncludedEntry addIncludedEntry()
Adds an entry for specifying the principals this priority applies to.- Returns:
- the added included entry.
- Since:
- 8.2.0
-
-