org.opencms.newsletter
Interface I_CmsNewsletterContent

All Superinterfaces:
java.lang.Comparable
All Known Implementing Classes:
CmsNewsletterContent

public interface I_CmsNewsletterContent
extends java.lang.Comparable

Every I_CmsNewsletter contains a list of I_CmsNewsletterContent objects.

These objects have an order, by which the newsletter content is sorted, the type either CmsNewsletterContentType.TYPE_HTML or CmsNewsletterContentType.TYPE_TEXT.


Method Summary
 java.lang.String getChannel()
          Returns the channel.
 java.lang.String getContent()
          Returns the content.
 int getOrder()
          Returns the order of this content in it's channel.
 CmsNewsletterContentType getType()
          Returns the type.
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

getChannel

java.lang.String getChannel()
Returns the channel.

Returns:
the channel

getContent

java.lang.String getContent()
Returns the content.

Returns:
the content

getOrder

int getOrder()
Returns the order of this content in it's channel.

Returns:
the order of this content in it's channel

getType

CmsNewsletterContentType getType()
Returns the type.

Returns:
the type