@Deprecated public class HibernateUserStatusDao extends AbstractContentEntityObjectHibernateDao<UserStatus> implements UserStatusDao
HibernateObjectDao.CacheabilitycacheFactory, 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 |
getByUser(String username)
Deprecated.
Gets the current user status.
|
UserStatus |
getByUser(com.atlassian.user.User user)
Deprecated.
Gets the current user status.
|
Class<UserStatus> |
getPersistentClass()
Deprecated.
Gets the type of
EntityObject this Dao works with. |
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, getByClassId, getById, getContentAuthoredByUser, getContributionStatusByUser, getFirstVersionAfter, getFirstVersionBefore, getLastEditedVersionsOf, getObjectType, getOldestPageCreationDate, getPageAndBlogPostsVersionsLastEditedByUser, getPageAndBlogPostsVersionsLastEditedByUserIncludingDrafts, getRecentlyAddedEntities, getRecentlyModifiedEntities, getRecentlyModifiedEntities, getRecentlyModifiedEntitiesForUser, getRecentlyModifiedForChangeDigest, getTrashedContent, getTrashedContents, getVersion, getVersionEditContributors, getVersionHistorySummary, getVersionHistorySummary, getVersionsLastEditedByUser, getVersionsLastEditedByUserNewfindAllSorted, findLatestVersionsCount, findLatestVersionsCount, findLatestVersionsIterator, findLatestVersionsIterator, findNamedQueryStringParams, findNamedQueryStringParams, save, saveEntity, setCacheFactory, setConfluenceUserDao, updateEntityModificationData, updateModificationDataapplyTransactionTimeout, applyTransactionTimeout, checkDaoConfig, createHibernateTemplate, findAll, findAllSorted, findByClassIds, findByClassIdsFiltered, 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, getHibernateTemplate, getSession, getSessionFactory, index, indexEntity, refresh, refreshEntity, reIndex, reIndexEntity, remove, removeEntity, replicate, replicateEntity, save, saveEntity, saveRaw, saveRawEntity, setHibernateTemplate, setIndexer, setSessionFactory, unIndex, unIndexEntity, uniqueResultclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetByIdcountContentBySpaceIdAndStatus, findAllDraftsFor, findContentBySpaceIdAndStatus, findContentBySpaceIdAndStatus, findDraftFor, findHistoricalVersionsAfterVersion, findPreviousVersions, findUnpublishedContentWithUserContributions, getAllCurrentEntities, getContentAuthoredByUser, getContributionStatusByUser, getFirstVersionAfter, getFirstVersionBefore, getLastEditedVersionsOf, getObjectType, getOldestPageCreationDate, getPageAndBlogPostsVersionsLastEditedByUser, getPageAndBlogPostsVersionsLastEditedByUserIncludingDrafts, getRecentlyAddedEntities, getRecentlyModifiedEntities, getRecentlyModifiedEntities, getRecentlyModifiedEntitiesForUser, getRecentlyModifiedForChangeDigest, getTrashedContent, getTrashedContents, getVersion, getVersionEditContributors, getVersionHistorySummary, getVersionHistorySummary, getVersionsLastEditedByUser, getVersionsLastEditedByUserNewfindLatestVersionsCount, findLatestVersionsIterator, savefindAll, findAllSorted, findAllSorted, findByClassIds, refresh, remove, replicate, save, saveRawsaveEntityfindAll, findAllSorted, findAllSorted, findByClassIds, findByClassIdsFiltered, refresh, refreshEntity, remove, removeEntity, replicate, replicateEntity, save, saveEntity, saveRaw, saveRawEntitypublic Class<UserStatus> getPersistentClass()
ObjectDaoInternalEntityObject this Dao works with.getPersistentClass in interface ObjectDaogetPersistentClass in interface ObjectDaoInternal<UserStatus>@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 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–2019 Atlassian. All rights reserved.