com.intland.codebeamer.persistence.dto
Class ForumPostDto
java.lang.Object
com.intland.codebeamer.persistence.dto.base.IdentifiableDto
com.intland.codebeamer.persistence.dto.base.NamedDto
com.intland.codebeamer.persistence.dto.base.DescribeableDto
com.intland.codebeamer.persistence.dto.base.AbstractCommentDto
com.intland.codebeamer.persistence.dto.ForumPostDto
- All Implemented Interfaces:
- BaseDto, IndexableDto, ProjectAwareDto, ReferableDto, WriteControlledDto, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable
public class ForumPostDto
- extends AbstractCommentDto
- implements ProjectAwareDto, ReferableDto, IndexableDto, WriteControlledDto
Wraps a forum post.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
INTERWIKI_LINK_TYPE
public static final java.lang.String INTERWIKI_LINK_TYPE
- See Also:
- Constant Field Values
ForumPostDto
public ForumPostDto()
getProject
public ProjectDto getProject()
- Specified by:
getProject
in interface ProjectAwareDto
setProject
public void setProject(ProjectDto project)
- Specified by:
setProject
in interface ProjectAwareDto
getForum
public ForumDto getForum()
setForum
public void setForum(ForumDto forum)
getThreadId
public java.lang.Integer getThreadId()
setThreadId
public void setThreadId(java.lang.Integer threadId)
getSubmitterEmail
public java.lang.String getSubmitterEmail()
setSubmitterEmail
public void setSubmitterEmail(java.lang.String submitterEmail)
getSubject
public java.lang.String getSubject()
- Get the name/subject of this forum post. This is equivalent to
NamedDto.getName()
- Returns:
- the name/subject of this forum post
setSubject
public void setSubject(java.lang.String subject)
- Set the name/subject of this forum post. This is equivalent to
NamedDto.setName(String)
- Parameters:
subject
- is the name/subject of this forum post
getShortDescription
public java.lang.String getShortDescription()
- Get the name/subject of this forum post. This is equivalent to
NamedDto.getName()
and getSubject()
- Specified by:
getShortDescription
in interface ReferableDto
- Returns:
- the name/subject of this forum post
getAttachmentFileName
public java.lang.String getAttachmentFileName()
setAttachmentFileName
public void setAttachmentFileName(java.lang.String attachmentFileName)
getAttachmentIndexed
public java.lang.String getAttachmentIndexed()
setAttachmentIndexed
public void setAttachmentIndexed(java.lang.String attachmentIndexed)
getAttachmentMimeType
public java.lang.String getAttachmentMimeType()
setAttachmentMimeType
public void setAttachmentMimeType(java.lang.String attachmentMimeType)
getAttachmentLength
public java.lang.Integer getAttachmentLength()
setAttachmentLength
public void setAttachmentLength(java.lang.Integer attachmentLength)
getReplyToId
public java.lang.Integer getReplyToId()
setReplyToId
public void setReplyToId(java.lang.Integer replyToId)
getThreadIsWatched
public java.lang.Boolean getThreadIsWatched()
setThreadIsWatched
public void setThreadIsWatched(java.lang.Boolean watchedThread)
isWritable
public boolean isWritable()
- Specified by:
isWritable
in interface WriteControlledDto
setWritable
public void setWritable(boolean editable)
- Specified by:
setWritable
in interface WriteControlledDto
getUrlLink
public java.lang.String getUrlLink()
- Description copied from interface:
ReferableDto
- Returns the local URL that points to the web page
where this DTO is managed.
- Specified by:
getUrlLink
in interface ReferableDto
getInterwikiLink
public java.lang.String getInterwikiLink()
- Description copied from interface:
ReferableDto
- Returns the interwiki link that points to the web page
where this DTO is managed.
- Specified by:
getInterwikiLink
in interface ReferableDto
getIconUrl
public java.lang.String getIconUrl()
- Description copied from interface:
ReferableDto
- Returns the URL of the (small) icon image that represents
this DTO type.
- Specified by:
getIconUrl
in interface ReferableDto
compareTo
public int compareTo(java.lang.Object obj)
- Description copied from class:
NamedDto
- Caution: NamedDto compareTo violates the rule that
a.equals(b)
is equivalent to a.compareTo(b) == 0
, because only the names are compared
- Specified by:
compareTo
in interface java.lang.Comparable
- Overrides:
compareTo
in class AbstractCommentDto
Copyright © 2006-2009 Intland Software. All rights reserved.