@Deprecated @ParametersAreNonnullByDefault public interface UserStatusManager extends ContentEntityManager
ITERATE_ALL| Modifier and Type | Method and Description |
|---|---|
void |
clearCurrentUserStatus(String username)
Deprecated.
Clears the current status of the specified user
|
void |
clearCurrentUserStatus(com.atlassian.user.User user)
Deprecated.
Clears the current status of the specified user
|
UserStatus |
getUserStatus(long id)
Deprecated.
Retrieve the user status for the given status id
|
UserStatus |
getUserStatus(String username)
Deprecated.
Retrieve the current user status for the given user
|
UserStatus |
getUserStatus(com.atlassian.user.User user)
Deprecated.
Retrieve the current user status for the given user
|
int |
getUserStatusCount(String username)
Deprecated.
Returns the total number of statuses set against the specified user
|
int |
getUserStatusCount(com.atlassian.user.User user)
Deprecated.
Returns the total number of statuses set against the specified user
|
List<UserStatus> |
getUserStatusList(String username)
Deprecated.
Retrieve a list of user status items for the specified user
|
List<UserStatus> |
getUserStatusList(String username,
int maxResults)
Deprecated.
Retrieve a list of user status items for the specified user
|
List<UserStatus> |
getUserStatusList(com.atlassian.user.User user)
Deprecated.
Retrieve a list of user status items for the specified user
|
List<UserStatus> |
getUserStatusList(com.atlassian.user.User user,
int maxResults)
Deprecated.
Retrieve a list of user status items for the specified user
|
void |
removeAllStatusForUser(com.atlassian.user.User user)
Deprecated.
Deletes all user status' for the specified user
|
UserStatus |
saveUserStatus(ConfluenceUser user,
String statusText)
Deprecated.
Saves a new status.
|
UserStatus |
saveUserStatus(ConfluenceUser user,
String statusText,
Space targetSpace)
Deprecated.
Saves a new status, targeted to a specific space.
|
UserStatus |
saveUserStatus(String username,
String statusText)
Deprecated.
since 5.2. See
saveUserStatus(ConfluenceUser, String) |
UserStatus |
saveUserStatus(String username,
String statusText,
Space targetSpace)
Deprecated.
since 5.2. See
saveUserStatus(ConfluenceUser, String, Space) |
UserStatus |
saveUserStatus(UserStatus status)
Deprecated.
Saves a status
|
getById, getContributionStatusByUser, getNextVersion, getOtherVersion, getPageAndBlogPostsVersionsLastEditedByUser, getPageAndBlogPostsVersionsLastEditedByUserIncludingDrafts, getPreviousVersion, getRecentlyAddedEntities, getRecentlyModifiedEntities, getRecentlyModifiedEntitiesForUser, getRecentlyModifiedForChangeDigest, getVersionHistorySummaries, getVersionsLastEditedByUser, refreshContentEntity, removeContentEntity, removeHistoricalVersion, revertContentEntityBackToVersion, saveContentEntity, saveContentEntity, saveNewVersion, saveNewVersion, updateContentLinkingTo, updateOutgoingLinksInContent, updateSingleContentLinkinTo, updateSingleContentLinkinTo@Nonnull List<UserStatus> getUserStatusList(String username)
username - the username of the user to find status updates for@Nonnull List<UserStatus> getUserStatusList(com.atlassian.user.User user)
user - the user to find status updates for@Nonnull List<UserStatus> getUserStatusList(String username, int maxResults)
username - the username of the user to find status updates formaxResults - the maximum number of statuses to return@Nonnull List<UserStatus> getUserStatusList(com.atlassian.user.User user, int maxResults)
user - the user to find status updates formaxResults - the maximum number of statuses to return@Nullable UserStatus getUserStatus(String username)
username - the username of the user to get the status for@Nullable UserStatus getUserStatus(com.atlassian.user.User user)
user - the user to get the status for@Deprecated @Nonnull UserStatus saveUserStatus(String username, String statusText)
saveUserStatus(ConfluenceUser, String)username - The user to save the status againststatusText - Text for the new status@Deprecated @Nonnull UserStatus saveUserStatus(String username, String statusText, @Nullable Space targetSpace)
saveUserStatus(ConfluenceUser, String, Space)username - The user to save the status againststatusText - Text for the new statustargetSpace - The space to target the status to@Nonnull UserStatus saveUserStatus(ConfluenceUser user, String statusText)
user - The user to save the status againststatusText - Text for the new status@Nonnull UserStatus saveUserStatus(ConfluenceUser user, String statusText, @Nullable Space targetSpace)
user - The user to save the status againststatusText - Text for the new statustargetSpace - The space to target the status to@Nullable UserStatus saveUserStatus(@Nullable UserStatus status)
status - the status to be savedvoid clearCurrentUserStatus(com.atlassian.user.User user)
user - - the user to clear the status forvoid clearCurrentUserStatus(String username)
username - - the user to clear the status for@Nullable UserStatus getUserStatus(long id)
id - the id of the user status objectint getUserStatusCount(String username)
username - the user to count statuses forint getUserStatusCount(com.atlassian.user.User user)
user - the user to count statuses forvoid removeAllStatusForUser(@Nullable com.atlassian.user.User user)
user - the user to clear the statuses forIllegalArgumentException - if user is nullCopyright © 2003–2018 Atlassian. All rights reserved.