Not attached to any space
@Deprecated public class UserStatus extends SpaceContentEntityObject
| Modifier and Type | Field and Description | 
|---|---|
| static String | CONTENT_TYPEDeprecated.  | 
COLLABORATIVE_EDITING_UUID, CONFLUENCE_RECOVERY, CONFLUENCE_RECOVERY_WITH_EXTERNAL_CHANGE, CONTENT_RESTORED_SYNC_REV_SOURCE, CREATED, CURRENT, DELETED, DRAFT, DUMMY_SYNC_REV, LIMITED_MODE_SYNC_REV_SOURCE, MODIFIED, SHARE_ID, SYNC_REV, SYNC_REV_SOURCE, SYNCHRONY_ACK_SYNC_REV_SOURCE, SYNCHRONY_RECOVERY, SYNCHRONY_RECOVERY_WITH_EXTERNAL_CHANGE, SYNCHRONY_SYNC_REV_SOURCEINITIAL_VERSION| Constructor and Description | 
|---|
| UserStatus()Deprecated.  Creates an empty status object | 
| UserStatus(ConfluenceUser user,
          String status,
          Space targetSpace)Deprecated.  | 
| UserStatus(String username,
          String statusText)Deprecated. 
 since 5.2. See  UserStatus(ConfluenceUser, String, Space) | 
| UserStatus(String username,
          String statusText,
          Space targetSpace)Deprecated. 
 since 5.2. See  UserStatus(ConfluenceUser, String, Space) | 
| UserStatus(com.atlassian.user.User user,
          String status)Deprecated. 
 since 5.2. See  UserStatus(ConfluenceUser, String, Space) | 
| UserStatus(com.atlassian.user.User user,
          String status,
          Space targetSpace)Deprecated. 
 since 5.2. See  UserStatus(ConfluenceUser, String, Space) | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getClearPath()Deprecated.  | 
| String | getDeletePath()Deprecated.  | 
| String | getFullName()Deprecated. 
 since 5.2. Use  ConfluenceEntityObject.getCreator()instead. | 
| String | getNameForComparison()Deprecated.  Subclasses should implement this method, giving a String back so
 that the content can be alphabetically sorted in a mixed-type list
 of content-entities. | 
| String | getStatus()Deprecated.  | 
| String | getType()Deprecated.  An easy name for the type of this content: makes it easy for
 things like the #contentLink macro to work out what to draw. | 
| String | getUrlPath()Deprecated.  | 
| boolean | isCurrent()Deprecated.  Does this content have "current" status? (non-trashed and non-draft) | 
| boolean | isIndexable()Deprecated.  pages, blogs etc that aren't not associated with a space (either because they are historical or corrupt) should not be indexed
 if they are indexed, and returned in search results, they are broken and are therefore useless | 
| void | setStatus(String status)Deprecated.  | 
convertToHistoricalVersion, getSpace, getSpaceKey, hashCode, isInSpace, setSpaceaddAttachment, addComment, addCustomContent, addOutgoingLink, addPermission, addReferralLink, addTrackbackLink, applyChildVersioningPolicy, clone, compareTo, ensureAttachmentBelongsToContent, equals, getAttachmentNamed, getAttachments, getAttachmentsUrlPath, getAttachmentUrlPath, getBodyAsString, getBodyAsStringWithoutMarkup, getBodyContent, getBodyContent, getBodyContents, getCollaborativeEditingUuid, getComments, getContainerContent, getContentEntityObject, getContentId, getContentPermission, getContentPermissionSet, getContentStatus, getContentStatusObject, getDefaultBodyType, getDisplayTitle, getEntity, getExcerpt, getIdAsString, getLatestVersionId, getLatestVersionsOfAttachments, getLowerTitle, getOriginalVersionId, getOutgoingLinks, getPermissions, getProperties, getReferralLinks, getRenderedVersionComment, getSearchableDependants, getSelector, getShareId, getSynchronyRevision, getSynchronyRevisionSource, getTitle, getTrackbackLinks, getTypeEnum, getUserAccessor, getVersionComment, hasContentPermissions, hasPermissions, isDeleted, isDraft, isRecentlyUpdatedFor, isUnpublished, isVersionCommentAvailable, removeAttachment, removeComment, removeContentPermissionSet, removeCustomContent, removeOutgoingLink, removeReferralLink, removeTrackbackLink, replaceContentProperties, restore, restoreDependents, setAttachments, setBodyAsString, setBodyContent, setBodyContents, setCollaborativeEditingUuid, setComments, setContainerContent, setContentPropertiesFrom, setContentStatus, setOriginalVersion, setOriginalVersionId, setOutgoingLinks, setReferralLinks, setShareId, setSynchronyRevision, setSynchronyRevisionSource, setTitle, setTrackbackLinks, setUserAccessor, setVersionComment, sharedAccessAllowed, sharedAccessAllowed, toPageContext, toString, trash, trashDependents, wasCreatedByaddLabelling, getGlobalLabels, getLabelCount, getLabellings, getLabels, getLabelsForDisplay, getLabelUtil, getPersonalLabels, getTeamLabels, getVisibleLabels, isFavourite, isFavourite, removeLabelling, setLabellingsgetConfluenceRevision, getLatestVersion, getOriginalVersion, getVersion, getVersionChildPolicy, isLatestVersion, isNew, setVersiongetCreator, getCreatorName, getLastModifier, getLastModifierName, getRealClass, isPersistent, setCreator, setCreatorName, setLastModifier, setLastModifierNamegetCreationDate, getCurrentDate, getId, getLastModificationDate, setClock, setCreationDate, setId, setLastModificationDatefinalize, getClass, notify, notifyAll, wait, wait, waitgetIdgetId, isPersistentpublic static final String CONTENT_TYPE
public UserStatus()
@Deprecated public UserStatus(String username, String statusText, Space targetSpace)
UserStatus(ConfluenceUser, String, Space)@Deprecated public UserStatus(String username, String statusText)
UserStatus(ConfluenceUser, String, Space)@Deprecated public UserStatus(com.atlassian.user.User user, String status, Space targetSpace)
UserStatus(ConfluenceUser, String, Space)@Deprecated public UserStatus(com.atlassian.user.User user, String status)
UserStatus(ConfluenceUser, String, Space)public UserStatus(ConfluenceUser user, String status, Space targetSpace)
public String getStatus()
public void setStatus(String status)
@Deprecated public String getFullName()
ConfluenceEntityObject.getCreator() instead.public boolean isCurrent()
ContentEntityObject
 This method does NOT distinguish current and historical versions. Both will return true.
 See AbstractVersionedEntityObject.isLatestVersion() to distinguish them.
 
isCurrent in class ContentEntityObjectAbstractVersionedEntityObject.isLatestVersion()public String getType()
ContentEntityObjectThis is a bit of a hack, but it saves heaps of code elsewhere, especially since we tend to get back these objects wrapped in all sorts of Hibernate CGLIB stuff.
getType in interface ContentTypeAwaregetType in class ContentEntityObjectpublic String getUrlPath()
getUrlPath in interface AddressablegetUrlPath in class ContentEntityObjectpublic String getDeletePath()
public String getClearPath()
public String getNameForComparison()
ContentEntityObjectgetNameForComparison in class SpaceContentEntityObjectpublic boolean isIndexable()
SpaceContentEntityObjectisIndexable in interface com.atlassian.bonnie.SearchableisIndexable in class SpaceContentEntityObjectCopyright © 2003–2019 Atlassian. All rights reserved.