Coalevo Logo

net.coalevo.discussion.model
Interface EditableEntry

All Superinterfaces:
EntryDescriptor, Identifiable, Tagable

public interface EditableEntry
extends EntryDescriptor, Tagable

Defines an editable entry to be added to the discussion.

Version:
1.0.0 (10/02/2009)
Author:
Dieter Wimberger (wimpi)

Method Summary
 EditableContent getContent()
          Returns the editable content of this EditableEntry.
 void setAncestor(java.lang.String id)
          Sets the ancestor of this post.
 void setApproved(boolean b)
          Sets the flag that determines if the entry is approved.
 void setCaption(java.lang.String str)
          Sets the caption of the entry.
 void setContentFormat(java.lang.String str)
          Sets the format of the content.
 void setDescendantAllowed(boolean b)
          Sets the flag for allowing or disallowing descendants.
 
Methods inherited from interface net.coalevo.discussion.model.EntryDescriptor
getAncestor, getApproved, getAuthor, getCaption, getContentFormat, getCreated, getForumIdentifier, getTags, isApproved, isArchived, isDescendant, isDescendantAllowed, isOfficial
 
Methods inherited from interface net.coalevo.foundation.model.Identifiable
getIdentifier
 
Methods inherited from interface net.coalevo.discussion.model.Tagable
addTag, removeTag, setTags
 

Method Detail

setAncestor

void setAncestor(java.lang.String id)
Sets the ancestor of this post.

Parameters:
id - the identifier of the ancestor.

setCaption

void setCaption(java.lang.String str)
Sets the caption of the entry.

Parameters:
str - the subject of the entry.

setContentFormat

void setContentFormat(java.lang.String str)
Sets the format of the content.

Parameters:
str - a string identifying the content format.

setDescendantAllowed

void setDescendantAllowed(boolean b)
Sets the flag for allowing or disallowing descendants.

Parameters:
b - true if descendants are allowed, false otherwise.

setApproved

void setApproved(boolean b)
Sets the flag that determines if the entry is approved.

Parameters:
b - true if approved, false otherwise.

getContent

EditableContent getContent()
Returns the editable content of this EditableEntry.

Returns:
the EditableContent.

Coalevo Logo

(c) 2004-2009 VFI (http://www.vfi.or.at)