com.atlassian.confluence.it
Class AbstractContentEntity

java.lang.Object
  extended by com.atlassian.confluence.it.AbstractContentEntity
All Implemented Interfaces:
ContentEntity
Direct Known Subclasses:
BlogPost, Comment, Draft, Page, UserInformation, UserStatus

public abstract class AbstractContentEntity
extends Object
implements ContentEntity


Field Summary
protected  String content
           
protected  long id
           
protected  Date lastModificationDate
           
protected  User lastModifier
           
protected  int version
           
 
Constructor Summary
protected AbstractContentEntity()
           
protected AbstractContentEntity(AbstractContentEntity that)
           
 
Method Summary
 String getContent()
           
 long getId()
           
 String getIdAsString()
           
 Date getLastModificationDate()
           
 User getLastModifier()
           
 int getVersion()
           
 void setContent(String content)
           
 void setId(long id)
          Set the id used for persistence of this entity.
 void setLastModificationDate(Date lastModificationDate)
           
 void setLastModifier(User lastModifier)
           
 void setVersion(int version)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.confluence.it.ContentEntity
getEditUrl, getSpace, getTitle
 

Field Detail

lastModificationDate

protected Date lastModificationDate

lastModifier

protected User lastModifier

content

protected String content

id

protected long id

version

protected int version
Constructor Detail

AbstractContentEntity

protected AbstractContentEntity()

AbstractContentEntity

protected AbstractContentEntity(AbstractContentEntity that)
Method Detail

getLastModificationDate

public Date getLastModificationDate()
Specified by:
getLastModificationDate in interface ContentEntity

setLastModificationDate

public void setLastModificationDate(Date lastModificationDate)

getLastModifier

public User getLastModifier()
Specified by:
getLastModifier in interface ContentEntity
Returns:
the last modifier

setLastModifier

public void setLastModifier(User lastModifier)

getContent

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

setContent

public void setContent(String content)

setId

public void setId(long id)
Description copied from interface: ContentEntity
Set the id used for persistence of this entity.

Specified by:
setId in interface ContentEntity

getId

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

getIdAsString

public String getIdAsString()

getVersion

public int getVersion()

setVersion

public void setVersion(int version)


Copyright © 2003-2011 Atlassian. All Rights Reserved.