ccc.domain
Class PageRevision

java.lang.Object
  extended by ccc.domain.Entity
      extended by ccc.domain.RevisionEntity<Page>
          extended by ccc.domain.PageRevision
All Implemented Interfaces:
Jsonable, java.io.Serializable

public class PageRevision
extends RevisionEntity<Page>

The contents of a page at a specific point in time.

Author:
Civic Computing Ltd.
See Also:
Serialized Form

Constructor Summary
protected PageRevision()
          Constructor: for persistence only.
 
Method Summary
protected  Page delta()
          Retrieve the revision's state.
 Paragraph getParagraph(java.lang.String name)
          
 java.util.Set<Paragraph> getParagraphs()
          
 
Methods inherited from class ccc.domain.RevisionEntity
getActor, getComment, getTimestamp, isMajorChange, mapRevision, mapRevisions
 
Methods inherited from class ccc.domain.Entity
equals, getId, getVersion, hashCode, setId, toJson, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PageRevision

protected PageRevision()
Constructor: for persistence only.

Method Detail

getParagraphs

public java.util.Set<Paragraph> getParagraphs()


getParagraph

public Paragraph getParagraph(java.lang.String name)


delta

protected Page delta()
Retrieve the revision's state.

Specified by:
delta in class RevisionEntity<Page>
Returns:
A delta describing this revision's state.


Copyright © 2010. All Rights Reserved.