com.atlassian.confluence.tinymceplugin.rest.entities
Class DraftData
java.lang.Object
com.atlassian.confluence.tinymceplugin.rest.entities.DraftData
public class DraftData
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DraftData
public DraftData()
DraftData
public DraftData(String title,
String content,
String type,
String spaceKey,
int pageVersion,
Long pageId,
Long draftId,
PagePermissionData permissions)
- A constructor taking the parameters required for saving a draft.
- Parameters:
title
- content
- type
- spaceKey
- pageVersion
- pageId
-
DraftData
public DraftData(Long pageId,
String type)
- A constructor taking the parameters required for retrieving a previously saved draft.
- Parameters:
pageId
- type
-
create
public static DraftData create(Draft draft)
- Creates a DraftData without the content filled in.
- Parameters:
draft
-
getTitle
public String getTitle()
getContent
public String getContent()
getType
public String getType()
getSpaceKey
public String getSpaceKey()
getPageVersion
public int getPageVersion()
getPageId
public Long getPageId()
getDraftId
public Long getDraftId()
getPermissions
public PagePermissionData getPermissions()
setPermissions
public void setPermissions(PagePermissionData permissions)
Copyright © 2003–2015 Atlassian. All rights reserved.