@Deprecated public interface UserStatusDao extends ContentEntityObjectDao
NON_CACHEABLE
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
|
void |
clearUserStatus(UserStatus status)
Deprecated.
Clears the specified status if it is current
|
List<UserStatus> |
getAllByUser(String username)
Deprecated.
since 5.3. Use
getAllByUser(com.atlassian.user.User) instead. |
List<UserStatus> |
getAllByUser(String username,
int maxResults)
Deprecated.
Returns a list of user status updates from a specified user with
a specified number of results.
|
List<UserStatus> |
getAllByUser(com.atlassian.user.User user)
Deprecated.
Return a list of all user status updates from the specified user.
|
List<UserStatus> |
getAllByUser(com.atlassian.user.User user,
int maxResults)
Deprecated.
Returns a list of user status updates from a specified user with
a specified number of results.
|
UserStatus |
getById(long id)
Deprecated.
Gets a user status by its id
|
UserStatus |
getByUser(String username)
Deprecated.
Gets the current user status.
|
UserStatus |
getByUser(com.atlassian.user.User user)
Deprecated.
Gets the current user status.
|
int |
getUserStatusCount(String username)
Deprecated.
Returns the total number of user statuses stored against
the specified user.
|
int |
getUserStatusCount(com.atlassian.user.User user)
Deprecated.
Returns the total number of user statuses stored against
the specified user.
|
void |
removeAllStatusesForUser(String username)
Deprecated.
Remove all user statuses for a particular user
|
void |
removeAllStatusesForUser(com.atlassian.user.User user)
Deprecated.
Remove all user statuses for a particular user
|
countContentBySpaceIdAndStatus, findAllDraftsFor, findContentBySpaceIdAndStatus, findContentBySpaceIdAndStatus, findDraftFor, findHistoricalVersionsAfterVersion, findPreviousVersions, findUnpublishedContentWithUserContributions, getAllCurrentEntities, getContentAuthoredByUser, getContributionStatusByUser, getFirstVersionAfter, getFirstVersionBefore, getLastEditedVersionsOf, getObjectType, getOldestPageCreationDate, getPageAndBlogPostsVersionsLastEditedByUser, getPageAndBlogPostsVersionsLastEditedByUserIncludingDrafts, getRecentlyAddedEntities, getRecentlyModifiedEntities, getRecentlyModifiedEntities, getRecentlyModifiedEntitiesForUser, getRecentlyModifiedForChangeDigest, getTrashedContent, getVersion, getVersionEditContributors, getVersionHistorySummary, getVersionHistorySummary, getVersionsLastEditedByUser, getVersionsLastEditedByUserNew
findLatestVersionsCount, findLatestVersionsIterator, save
findAll, findAllSorted, findAllSorted, findByClassIds, getPersistentClass, refresh, remove, replicate, save, saveRaw
UserStatus getByUser(String username)
username
- the specified user nameUserStatus getByUser(com.atlassian.user.User user)
user
- the user objectUserStatus getById(long id)
getById
in interface ContentEntityObjectDao
id
- the status id@Deprecated List<UserStatus> getAllByUser(String username)
getAllByUser(com.atlassian.user.User)
instead.username
- the username of user to find status updates forList<UserStatus> getAllByUser(com.atlassian.user.User user)
user
- the user to find status updates forList<UserStatus> getAllByUser(com.atlassian.user.User user, int maxResults)
user
- the user to find status updates formaxResults
- the maximum number of results to returnList<UserStatus> getAllByUser(String username, int maxResults)
username
- the user to find status updates formaxResults
- the maximum number of results to returnint getUserStatusCount(String username)
username
- the user to count the statuses forint getUserStatusCount(com.atlassian.user.User user)
user
- the user to count the statuses forvoid clearCurrentUserStatus(com.atlassian.user.User user)
user
- - the user to clear the status forvoid clearCurrentUserStatus(String username)
username
- - the user to clear the status forvoid clearUserStatus(UserStatus status)
status
- - the status to clearvoid removeAllStatusesForUser(String username)
username
- - name of the specified uservoid removeAllStatusesForUser(com.atlassian.user.User user)
user
- - the specified userCopyright © 2003–2018 Atlassian. All rights reserved.