com.atlassian.confluence.it
Class UserInformation

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

public class UserInformation
extends AbstractContentEntity


Field Summary
 
Fields inherited from class com.atlassian.confluence.it.AbstractContentEntity
lastModifier
 
Constructor Summary
UserInformation(String username, String content, String creatorName, String lastModifierName, int version, long id, Date creationDate, Date lastModificationDate)
           
 
Method Summary
 String getContent()
           
 Date getCreationDate()
           
 String getCreatorName()
           
 String getEditUrl()
           
 long getId()
           
 Date getLastModificationDate()
           
 String getLastModifierName()
           
 Space getSpace()
           
 String getTitle()
           
 String getUsername()
           
 int getVersion()
           
 boolean shouldConvertToContent()
           
 
Methods inherited from class com.atlassian.confluence.it.AbstractContentEntity
getContentId, getContentType, getContentTypeObject, getIdAsString, getLastModifier, 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

UserInformation

public UserInformation(String username,
                       String content,
                       String creatorName,
                       String lastModifierName,
                       int version,
                       long id,
                       Date creationDate,
                       Date lastModificationDate)
Method Detail

getUsername

public String getUsername()

getContent

public String getContent()
Specified by:
getContent in interface ContentEntity
Overrides:
getContent in class AbstractContentEntity
Returns:
the content of this entity.

getCreatorName

public String getCreatorName()

getLastModifierName

public String getLastModifierName()

getVersion

public int getVersion()
Specified by:
getVersion in interface VersionedContent
Overrides:
getVersion in class AbstractContentEntity

getCreationDate

public Date getCreationDate()

getId

public long getId()
Specified by:
getId in interface ContentEntity
Overrides:
getId in class AbstractContentEntity
Returns:
the id used for persistence of this entity.

getLastModificationDate

public Date getLastModificationDate()
Specified by:
getLastModificationDate in interface ContentEntity
Overrides:
getLastModificationDate in class AbstractContentEntity

getEditUrl

public String getEditUrl()
Returns:
the url where this entity can be edited.

getSpace

public Space getSpace()
Returns:
the space this content belongs to.

getTitle

public String getTitle()
Returns:
the title of this entity

shouldConvertToContent

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


Copyright © 2003–2015 Atlassian. All rights reserved.