@Deprecated public class HibernateUserStatusDao extends ContentEntityObjectHibernateDao implements UserStatusDao
HibernateObjectDao.CacheabilityONE_DAYcacheFactory, confluenceUserDaoNON_CACHEABLE| Constructor and Description |
|---|
HibernateUserStatusDao()
Deprecated.
|
| 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.
|
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.
|
Class |
getPersistentClass()
Deprecated.
|
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, findContentBySpaceIdAndStatus, findContentBySpaceIdAndStatus, findDraftFor, findHistoricalVersionsAfterVersion, findPreviousVersions, findUnpublishedContentWithUserContributions, getAllCurrentEntities, getByClassId, getContentAuthoredByUser, getFirstVersionAfter, getFirstVersionBefore, getLastEditedVersionsOf, getLockedContentBySpace, getObjectType, getOldestPageCreationDate, getPageAndBlogPostsVersionsLastEditedByUser, getRecentlyAddedEntities, getRecentlyModifiedEntities, getRecentlyModifiedEntities, getRecentlyModifiedEntitiesForUser, getRecentlyModifiedForChangeDigest, getTrashedContent, getVersion, getVersionEditContributors, getVersionHistorySummary, getVersionHistorySummary, getVersionsLastEditedByUserfindAllSorted, findLatestVersionsCount, findLatestVersionsCount, findLatestVersionsIterator, findLatestVersionsIterator, findNamedQueryStringParams, findNamedQueryStringParams, save, setCacheFactory, setConfluenceUserDao, updateModificationDatafindAll, findAllSorted, findByClassIds, findNamedQuery, findNamedQuery, findNamedQuery, findNamedQuery, findNamedQuery, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findSingleObject, getCountResult, index, refresh, reIndex, remove, replicate, save, saveRaw, setIndexer, unIndex, uniqueResultcheckDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcountContentBySpaceIdAndStatus, findContentBySpaceIdAndStatus, findContentBySpaceIdAndStatus, findDraftFor, findHistoricalVersionsAfterVersion, findPreviousVersions, findUnpublishedContentWithUserContributions, getAllCurrentEntities, getContentAuthoredByUser, getFirstVersionAfter, getFirstVersionBefore, getLastEditedVersionsOf, getLockedContentBySpace, getObjectType, getOldestPageCreationDate, getPageAndBlogPostsVersionsLastEditedByUser, getRecentlyAddedEntities, getRecentlyModifiedEntities, getRecentlyModifiedEntities, getRecentlyModifiedEntitiesForUser, getRecentlyModifiedForChangeDigest, getTrashedContent, getVersion, getVersionEditContributors, getVersionHistorySummary, getVersionHistorySummary, getVersionsLastEditedByUserfindLatestVersionsCount, findLatestVersionsIterator, savefindAll, findAllSorted, findAllSorted, findByClassIds, refresh, remove, replicate, save, saveRawpublic Class getPersistentClass()
getPersistentClass in interface ObjectDaogetPersistentClass in class ContentEntityObjectHibernateDao@Deprecated public List<UserStatus> getAllByUser(String username)
UserStatusDaogetAllByUser in interface UserStatusDaousername - the username of user to find status updates forpublic List<UserStatus> getAllByUser(String username, int maxResults)
UserStatusDaogetAllByUser in interface UserStatusDaousername - the user to find status updates formaxResults - the maximum number of results to returnpublic List<UserStatus> getAllByUser(com.atlassian.user.User user)
UserStatusDaogetAllByUser in interface UserStatusDaouser - the user to find status updates forpublic List<UserStatus> getAllByUser(com.atlassian.user.User user, int maxResults)
UserStatusDaogetAllByUser in interface UserStatusDaouser - the user to find status updates formaxResults - the maximum number of results to returnpublic UserStatus getByUser(String username)
UserStatusDaogetByUser in interface UserStatusDaousername - the specified user namepublic UserStatus getByUser(com.atlassian.user.User user)
UserStatusDaogetByUser in interface UserStatusDaouser - the user objectIllegalArgumentException - if user is nullpublic UserStatus getById(long id)
UserStatusDaogetById in interface ContentEntityObjectDaogetById in interface UserStatusDaogetById in class ContentEntityObjectHibernateDaoid - the status idpublic int getUserStatusCount(String username)
UserStatusDaogetUserStatusCount in interface UserStatusDaousername - the user to count the statuses forpublic int getUserStatusCount(com.atlassian.user.User user)
UserStatusDaogetUserStatusCount in interface UserStatusDaouser - the user to count the statuses forpublic void clearCurrentUserStatus(com.atlassian.user.User user)
UserStatusDaoclearCurrentUserStatus in interface UserStatusDaouser - - the user to clear the status forpublic void clearCurrentUserStatus(String username)
UserStatusDaoclearCurrentUserStatus in interface UserStatusDaousername - - the user to clear the status forpublic void clearUserStatus(UserStatus status)
UserStatusDaoclearUserStatus in interface UserStatusDaostatus - - the status to clearpublic void removeAllStatusesForUser(com.atlassian.user.User user)
UserStatusDaoremoveAllStatusesForUser in interface UserStatusDaouser - - the specified userpublic void removeAllStatusesForUser(String username)
UserStatusDaoremoveAllStatusesForUser in interface UserStatusDaousername - - name of the specified userCopyright © 2003–2016 Atlassian. All rights reserved.