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(java.lang.String username, java.lang.String content, java.lang.String creatorName, java.lang.String lastModifierName, int version, long id, java.util.Date creationDate, java.util.Date lastModificationDate)
           
 
Method Summary
 java.lang.String getContent()
           
 java.util.Date getCreationDate()
           
 java.lang.String getCreatorName()
           
 java.lang.String getEditUrl()
           
 long getId()
           
 java.util.Date getLastModificationDate()
           
 java.lang.String getLastModifierName()
           
 Space getSpace()
           
 java.lang.String getTitle()
           
 java.lang.String getUsername()
           
 int getVersion()
           
 
Methods inherited from class com.atlassian.confluence.it.AbstractContentEntity
getContentId, getContentType, 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(java.lang.String username,
                       java.lang.String content,
                       java.lang.String creatorName,
                       java.lang.String lastModifierName,
                       int version,
                       long id,
                       java.util.Date creationDate,
                       java.util.Date lastModificationDate)
Method Detail

getUsername

public java.lang.String getUsername()

getContent

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

getCreatorName

public java.lang.String getCreatorName()

getLastModifierName

public java.lang.String getLastModifierName()

getVersion

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

getCreationDate

public java.util.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 java.util.Date getLastModificationDate()
Specified by:
getLastModificationDate in interface ContentEntity
Overrides:
getLastModificationDate in class AbstractContentEntity

getEditUrl

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

getSpace

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

getTitle

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


Copyright © 2003-2014 Atlassian. All Rights Reserved.