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 Object
- implements ContentEntity
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
lastModificationDate
protected Date lastModificationDate
lastModifier
protected User lastModifier
content
protected String content
id
protected long id
version
protected int version
AbstractContentEntity
protected AbstractContentEntity()
AbstractContentEntity
protected AbstractContentEntity(AbstractContentEntity that)
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-2012 Atlassian. All Rights Reserved.