com.atlassian.confluence.it
Class UserStatus

java.lang.Object
  extended by com.atlassian.confluence.it.AbstractContentEntity
      extended by com.atlassian.confluence.it.UserStatus
All Implemented Interfaces:
ContentEntity, LinkableContent, TitledContent, VersionedContent, ContentConvertible

public class UserStatus
extends AbstractContentEntity
implements LinkableContent


Field Summary
 
Fields inherited from class com.atlassian.confluence.it.AbstractContentEntity
content, id, lastModificationDate, lastModifier, version
 
Constructor Summary
UserStatus(String status, User lastModifier)
           
 
Method Summary
 String getEditUrl()
           
 Space getSpace()
           
 String getStatus()
           
 String getTitle()
           
 String getUrl()
           
 UrlBuilder getUrlBuilder()
           
 boolean shouldConvertToContent()
           
 
Methods inherited from class com.atlassian.confluence.it.AbstractContentEntity
getContent, getContentId, getContentType, getContentTypeObject, getId, getIdAsString, getLastModificationDate, getLastModifier, getVersion, isMinorEdit, setContent, setId, setId, setLastModificationDate, setLastModifier, setVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserStatus

public UserStatus(String status,
                  User lastModifier)
Method Detail

getStatus

public String getStatus()

getUrl

public String getUrl()
Specified by:
getUrl in interface LinkableContent

getUrlBuilder

public UrlBuilder getUrlBuilder()
Specified by:
getUrlBuilder in interface LinkableContent

getEditUrl

public String getEditUrl()
Specified by:
getEditUrl in interface ContentEntity
Returns:
the url where this entity can be edited.

getSpace

public Space getSpace()
Specified by:
getSpace in interface ContentEntity
Returns:
the space this content belongs to.

getTitle

public String getTitle()
Specified by:
getTitle in interface ContentEntity
Specified by:
getTitle in interface TitledContent
Returns:
the title of this entity

shouldConvertToContent

public boolean shouldConvertToContent()
Specified by:
shouldConvertToContent in interface ContentConvertible
Returns:
true if the implementer wants to be part of the core API (default value), false otherwise


Copyright © 2003–2015 Atlassian. All rights reserved.