org.chromattic.docs.reference.website
Class Content

java.lang.Object
  extended by org.chromattic.docs.reference.website.Content

public abstract class Content
extends java.lang.Object

Version:
$Revision$
Author:
Julien Viet

Constructor Summary
Content()
           
 
Method Summary
abstract  java.lang.String getContent()
          Returns the page content.
abstract  java.util.Date getLastModifiedDate()
          Returns the date of the page last modification.
abstract  java.util.Collection<Page> getPages()
          Returns all the pages associated with this content.
abstract  java.util.List<java.lang.String> getTags()
          Returns the list of the page tags.
abstract  java.lang.String getTitle()
          Returns the page title.
abstract  void setContent(java.lang.String content)
          Updates the page content.
abstract  void setLastModifiedDate(java.util.Date date)
          Updates the date of the page last modification.
abstract  void setTags(java.util.List<java.lang.String> tags)
          Update the list of the page tags.
abstract  void setTitle(java.lang.String title)
          Updates the page title.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Content

public Content()
Method Detail

getContent

public abstract java.lang.String getContent()
Returns the page content.

Returns:
the page content

setContent

public abstract void setContent(java.lang.String content)
Updates the page content.

Parameters:
content - the new page content

getTags

public abstract java.util.List<java.lang.String> getTags()
Returns the list of the page tags.

Returns:
the list of tags

setTags

public abstract void setTags(java.util.List<java.lang.String> tags)
Update the list of the page tags.

Parameters:
tags - the list of tags

getTitle

public abstract java.lang.String getTitle()
Returns the page title.

Returns:
the page title

setTitle

public abstract void setTitle(java.lang.String title)
Updates the page title.

Parameters:
title - the new page title

getLastModifiedDate

public abstract java.util.Date getLastModifiedDate()
Returns the date of the page last modification.

Returns:
the date of the last modification

setLastModifiedDate

public abstract void setLastModifiedDate(java.util.Date date)
Updates the date of the page last modification.

Parameters:
date - the date of the last modification

getPages

public abstract java.util.Collection<Page> getPages()
Returns all the pages associated with this content.

Returns:
the associated pages


Copyright © 2011 eXo Platform SAS. All Rights Reserved.