com.atlassian.confluence.tinymceplugin.rest
Class DraftData

java.lang.Object
  extended by com.atlassian.confluence.tinymceplugin.rest.DraftData

@Immutable
public class DraftData
extends Object


Constructor Summary
DraftData()
           
DraftData(String pageId, String type)
          A constructor taking the parameters required for retrieving a previously saved draft.
DraftData(String title, String content, String type, String spaceKey, int pageVersion, String pageId)
          A constructor taking the parameters required for saving a draft.
 
Method Summary
 String getContent()
           
 String getPageId()
           
 int getPageVersion()
           
 String getSpaceKey()
           
 String getTitle()
           
 String getType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DraftData

public DraftData()

DraftData

public DraftData(String title,
                 String content,
                 String type,
                 String spaceKey,
                 int pageVersion,
                 String pageId)
A constructor taking the parameters required for saving a draft.

Parameters:
title -
content -
type -
spaceKey -
pageVersion -
pageId -

DraftData

public DraftData(String pageId,
                 String type)
A constructor taking the parameters required for retrieving a previously saved draft.

Parameters:
pageId -
type -
Method Detail

getTitle

public String getTitle()

getContent

public String getContent()

getType

public String getType()

getSpaceKey

public String getSpaceKey()

getPageVersion

public int getPageVersion()

getPageId

public String getPageId()


Copyright © 2003-2012 Atlassian. All Rights Reserved.