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, 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 |
lastModifier
protected User lastModifier
content
protected java.lang.String content
id
protected long id
version
protected int version
AbstractContentEntity
protected AbstractContentEntity()
AbstractContentEntity
protected AbstractContentEntity(long id,
java.lang.String content,
User lastModifier,
int version)
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()
- Description copied from interface:
ContentEntity
- Return the content of this entity.
- Specified by:
getContent
in interface ContentEntity
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()
- Description copied from interface:
ContentEntity
- Return the id used for persistence of this entity.
- Specified by:
getId
in interface ContentEntity
getVersion
public int getVersion()
setVersion
public void setVersion(int version)
Copyright © 2003-2010 Atlassian. All Rights Reserved.