Package org.opencms.newsletter
Class CmsNewsletterContent
java.lang.Object
org.opencms.newsletter.CmsNewsletterContent
- All Implemented Interfaces:
Comparable<I_CmsNewsletterContent>
,I_CmsNewsletterContent
Content for newsletters.
-
Constructor Summary
ConstructorDescriptionCmsNewsletterContent
(int order, String content, CmsNewsletterContentType type) Creates a new CmsNewsletterContent instance. -
Method Summary
-
Constructor Details
-
CmsNewsletterContent
Creates a new CmsNewsletterContent instance.- Parameters:
order
- the order of the newsletter contentcontent
- the contenttype
- the newsletter contents' type
-
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfaceComparable<I_CmsNewsletterContent>
- See Also:
-
equals
-
hashCode
-
getChannel
Description copied from interface:I_CmsNewsletterContent
Returns the channel.- Specified by:
getChannel
in interfaceI_CmsNewsletterContent
- Returns:
- the channel
- See Also:
-
getContent
Description copied from interface:I_CmsNewsletterContent
Returns the content.- Specified by:
getContent
in interfaceI_CmsNewsletterContent
- Returns:
- the content
- See Also:
-
getOrder
Description copied from interface:I_CmsNewsletterContent
Returns the order of this content in it's channel.- Specified by:
getOrder
in interfaceI_CmsNewsletterContent
- Returns:
- the order of this content in it's channel
- See Also:
-
getType
Description copied from interface:I_CmsNewsletterContent
Returns the type.- Specified by:
getType
in interfaceI_CmsNewsletterContent
- Returns:
- the type
- See Also:
-