org.exoplatform.wiki.mow.core.api.wiki
Class DraftPageImpl

java.lang.Object
  extended by org.chromattic.ext.ntdef.NTHierarchyNode
      extended by org.chromattic.ext.ntdef.NTFolder
          extended by org.exoplatform.wiki.mow.core.api.wiki.PageImpl
              extended by org.exoplatform.wiki.mow.core.api.wiki.DraftPageImpl
All Implemented Interfaces:
Iterable<org.chromattic.ext.ntdef.NTHierarchyNode>, DraftPage, Page

public abstract class DraftPageImpl
extends PageImpl
implements DraftPage


Constructor Summary
DraftPageImpl()
           
 
Method Summary
 DiffResult getChanges()
           
abstract  String getTargetPage()
           
abstract  String getTargetRevision()
           
abstract  boolean isNewPage()
           
 boolean isOutDate()
           
abstract  void setNewPage(boolean isNewPage)
           
abstract  void setTargetPage(String targetPage)
           
abstract  void setTargetRevision(String targetRevision)
           
 
Methods inherited from class org.exoplatform.wiki.mow.core.api.wiki.PageImpl
addAttachment, addPage, addPublicPage, addRelatedPage, addWikiPage, checkin, checkout, createAttachment, createAttachment, createContent, createVersionableMixin, createWatchedMixin, getAttachment, getAttachmentByRootPermisison, getAttachments, getAttachmentsByChromattic, getAttachmentsExcludeContent, getAttachmentsExcludeContentByRootPermisison, getAuthor, getChildPages, getChildrenByRootPermission, getChildrenContainer, getChromatticSession, getComment, getContent, getContentByChromattic, getCreatedDate, getJCRPageNode, getJCRSession, getMovedMixin, getMOWService, getName, getOverridePermission, getOwner, getParentPage, getPath, getPermission, getReferredUUIDs, getRelatedPages, getRemovedMixin, getRenamedMixin, getSyntax, getTitle, getTitleByChromattic, getTrash, getUpdatedDate, getURL, getVersionableMixin, getVersionableMixinByChromattic, getWatchedMixin, getWiki, getWikiHome, getWikiPage, getWikiService, getWorkspace, hasPermission, hasPermission, isMinorEdit, makeVersionable, makeWatched, remove, removeAllRelatedPages, removeAttachment, removeRelatedPage, restore, setComment, setComponentManager, setContentByChromattic, setCreatedDate, setMinorEdit, setMovedMixin, setMOWService, setName, setNonePermission, setOverridePermission, setOwner, setParentPage, setPermission, setRemovedMixin, setRenamedMixin, setSyntax, setTitle, setTitleByChromattic, setTrash, setURL, setVersionableMixinByChromattic, setWatchedMixin, setWikiService
 
Methods inherited from class org.chromattic.ext.ntdef.NTFolder
addChild, addChild, createFile, createFile, createFolder, createFolder, getChild, getChildren, getFile, getFolder, iterator
 
Methods inherited from class org.chromattic.ext.ntdef.NTHierarchyNode
getCreated, getParent, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.exoplatform.wiki.mow.api.Page
addPublicPage, addWikiPage, getAttachments, getAuthor, getComment, getContent, getCreatedDate, getJCRPageNode, getName, getOwner, getParentPage, getPermission, getSyntax, getTitle, getUpdatedDate, getURL, getVersionableMixin, getWiki, hasPermission, hasPermission, isMinorEdit, remove, setComment, setMinorEdit, setName, setNonePermission, setPermission, setSyntax, setTitle, setURL
 

Constructor Detail

DraftPageImpl

public DraftPageImpl()
Method Detail

getTargetPage

public abstract String getTargetPage()
Specified by:
getTargetPage in interface DraftPage

setTargetPage

public abstract void setTargetPage(String targetPage)
Specified by:
setTargetPage in interface DraftPage

getTargetRevision

public abstract String getTargetRevision()
Specified by:
getTargetRevision in interface DraftPage

setTargetRevision

public abstract void setTargetRevision(String targetRevision)
Specified by:
setTargetRevision in interface DraftPage

isNewPage

public abstract boolean isNewPage()
Specified by:
isNewPage in interface DraftPage

setNewPage

public abstract void setNewPage(boolean isNewPage)
Specified by:
setNewPage in interface DraftPage

isOutDate

public boolean isOutDate()
                  throws Exception
Specified by:
isOutDate in interface DraftPage
Throws:
Exception

getChanges

public DiffResult getChanges()
                      throws Exception
Specified by:
getChanges in interface DraftPage
Throws:
Exception


Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.