com.atlassian.confluence.it
Class AbstractContentEntity
java.lang.Object
com.atlassian.confluence.it.AbstractContentEntity
- All Implemented Interfaces:
- ContentEntity
- Direct Known Subclasses:
- BlogPost, Comment, Draft, Page, UserInformation, UserStatus
public abstract class AbstractContentEntity
- extends java.lang.Object
- implements ContentEntity
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
lastModificationDate
protected java.util.Date lastModificationDate
lastModifier
protected User lastModifier
content
protected java.lang.String content
id
protected long id
version
protected int version
AbstractContentEntity
protected AbstractContentEntity()
AbstractContentEntity
protected AbstractContentEntity(AbstractContentEntity that)
getLastModificationDate
public java.util.Date getLastModificationDate()
- Specified by:
getLastModificationDate
in interface ContentEntity
setLastModificationDate
public void setLastModificationDate(java.util.Date lastModificationDate)
getLastModifier
public User getLastModifier()
- Specified by:
getLastModifier
in interface ContentEntity
- Returns:
- the last modifier
setLastModifier
public void setLastModifier(User lastModifier)
getContent
public java.lang.String getContent()
- Specified by:
getContent
in interface ContentEntity
- Returns:
- the content of this entity.
setContent
public void setContent(java.lang.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.
getVersion
public int getVersion()
setVersion
public void setVersion(int version)
Copyright © 2003-2011 Atlassian. All Rights Reserved.