|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.core.bean.EntityObject com.atlassian.confluence.core.ConfluenceEntityObject com.atlassian.confluence.core.AbstractVersionedEntityObject com.atlassian.confluence.core.AbstractLabelableEntityObject com.atlassian.confluence.core.ContentEntityObject com.atlassian.confluence.core.SpaceContentEntityObject com.atlassian.confluence.userstatus.UserStatus
public class UserStatus
Stores a short message representing a status from a User. Not attached to any space
Field Summary | |
---|---|
static java.lang.String |
CONTENT_TYPE
|
Fields inherited from class com.atlassian.confluence.core.ContentEntityObject |
---|
CREATED, CURRENT, DELETED, MODIFIED |
Fields inherited from class com.atlassian.confluence.core.AbstractVersionedEntityObject |
---|
INITIAL_VERSION |
Constructor Summary | |
---|---|
UserStatus()
Creates an empty status object |
|
UserStatus(ConfluenceUser user,
java.lang.String status,
Space targetSpace)
|
|
UserStatus(java.lang.String username,
java.lang.String statusText)
Deprecated. since 5.2. See UserStatus(ConfluenceUser, String, Space) |
|
UserStatus(java.lang.String username,
java.lang.String statusText,
Space targetSpace)
Deprecated. since 5.2. See UserStatus(ConfluenceUser, String, Space) |
|
UserStatus(com.atlassian.user.User user,
java.lang.String status)
Deprecated. since 5.2. See UserStatus(ConfluenceUser, String, Space) |
|
UserStatus(com.atlassian.user.User user,
java.lang.String status,
Space targetSpace)
Deprecated. since 5.2. See UserStatus(ConfluenceUser, String, Space) |
Method Summary | |
---|---|
java.lang.String |
getClearPath()
|
ContentEntityObject |
getContentEntityObject()
|
java.lang.String |
getDeletePath()
|
java.lang.String |
getFullName()
Deprecated. since 5.2. Use ConfluenceEntityObject.getCreator() instead. |
java.lang.String |
getNameForComparison()
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. |
java.lang.String |
getStatus()
|
java.lang.String |
getType()
An easy name for the type of this content: makes it easy for things like the #contentLink macro to work out what to draw. |
java.lang.String |
getUrlPath()
|
boolean |
isCurrent()
|
boolean |
isIndexable()
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(java.lang.String status)
|
Methods inherited from class com.atlassian.confluence.core.SpaceContentEntityObject |
---|
addTrackbackLink, convertToHistoricalVersion, getSpace, getSpaceKey, hashCode, isInSpace, setSpace |
Methods inherited from class com.atlassian.confluence.core.AbstractLabelableEntityObject |
---|
addLabelling, getGlobalLabels, getLabelCount, getLabellings, getLabels, getLabelsForDisplay, getLabelUtil, getPersonalLabels, getTeamLabels, getVisibleLabels, isFavourite, isFavourite, removeLabelling, setLabellings |
Methods inherited from class com.atlassian.confluence.core.AbstractVersionedEntityObject |
---|
getLatestVersion, getOriginalVersion, getVersion, isLatestVersion, isNew, setOriginalVersion, setVersion |
Methods inherited from class com.atlassian.confluence.core.ConfluenceEntityObject |
---|
getCreator, getCreatorName, getLastModifier, getLastModifierName, getRealClass, isPersistent, setCreator, setCreatorName, setLastModifier, setLastModifierName |
Methods inherited from class com.atlassian.core.bean.EntityObject |
---|
getCreationDate, getCurrentDate, getId, getLastModificationDate, setClock, setCreationDate, setId, setLastModificationDate |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.atlassian.bonnie.Searchable |
---|
getId |
Methods inherited from interface com.atlassian.confluence.core.Addressable |
---|
getId |
Methods inherited from interface com.atlassian.confluence.labels.EditableLabelable |
---|
getId, isPersistent |
Field Detail |
---|
public static final java.lang.String CONTENT_TYPE
Constructor Detail |
---|
public UserStatus()
@Deprecated public UserStatus(java.lang.String username, java.lang.String statusText, Space targetSpace)
UserStatus(ConfluenceUser, String, Space)
@Deprecated public UserStatus(java.lang.String username, java.lang.String statusText)
UserStatus(ConfluenceUser, String, Space)
@Deprecated public UserStatus(com.atlassian.user.User user, java.lang.String status, Space targetSpace)
UserStatus(ConfluenceUser, String, Space)
@Deprecated public UserStatus(com.atlassian.user.User user, java.lang.String status)
UserStatus(ConfluenceUser, String, Space)
public UserStatus(ConfluenceUser user, java.lang.String status, Space targetSpace)
Method Detail |
---|
public ContentEntityObject getContentEntityObject()
public java.lang.String getStatus()
public void setStatus(java.lang.String status)
@Deprecated public java.lang.String getFullName()
ConfluenceEntityObject.getCreator()
instead.
public boolean isCurrent()
isCurrent
in class ContentEntityObject
public java.lang.String getType()
ContentEntityObject
getType
in interface ContentTypeAware
getType
in class ContentEntityObject
public java.lang.String getUrlPath()
getUrlPath
in interface Addressable
getUrlPath
in class ContentEntityObject
public java.lang.String getDeletePath()
public java.lang.String getClearPath()
public java.lang.String getNameForComparison()
ContentEntityObject
getNameForComparison
in class SpaceContentEntityObject
public boolean isIndexable()
SpaceContentEntityObject
isIndexable
in interface com.atlassian.bonnie.Searchable
isIndexable
in class SpaceContentEntityObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |