Not attached to any space
@Deprecated public class UserStatus extends SpaceContentEntityObject
Modifier and Type | Field and Description |
---|---|
static String |
CONTENT_TYPE
Deprecated.
|
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_SOURCE
INITIAL_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, setSpace
addAttachment, 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, wasCreatedBy
addLabelling, getGlobalLabels, getLabelCount, getLabellings, getLabels, getLabelsForDisplay, getLabelUtil, getPersonalLabels, getTeamLabels, getVisibleLabels, isFavourite, isFavourite, removeLabelling, setLabellings
getConfluenceRevision, getLatestVersion, getOriginalVersion, getVersion, getVersionChildPolicy, isLatestVersion, isNew, setVersion
getCreator, getCreatorName, getLastModifier, getLastModifierName, getRealClass, isPersistent, setCreator, setCreatorName, setLastModifier, setLastModifierName
getCreationDate, getCurrentDate, getId, getLastModificationDate, setClock, setCreationDate, setId, setLastModificationDate
finalize, getClass, notify, notifyAll, wait, wait, wait
getId
getId, isPersistent
public 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 ContentEntityObject
AbstractVersionedEntityObject.isLatestVersion()
public String getType()
ContentEntityObject
This 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 ContentTypeAware
getType
in class ContentEntityObject
public String getUrlPath()
getUrlPath
in interface Addressable
getUrlPath
in class ContentEntityObject
public String getDeletePath()
public String getClearPath()
public String getNameForComparison()
ContentEntityObject
getNameForComparison
in class SpaceContentEntityObject
public boolean isIndexable()
SpaceContentEntityObject
isIndexable
in interface com.atlassian.bonnie.Searchable
isIndexable
in class SpaceContentEntityObject
Copyright © 2003–2018 Atlassian. All rights reserved.