Class DraftData
java.lang.Object
com.atlassian.confluence.tinymceplugin.rest.entities.DraftData
-
Constructor Summary
ConstructorsConstructorDescriptionA constructor taking the parameters required for retrieving a previously saved draft.DraftData(String title, String content, String type, String spaceKey, int pageVersion, Long pageId, Long draftId, Long parentPageId, PagePermissionData permissions) A constructor taking the parameters required for saving a draft. -
Method Summary
Modifier and TypeMethodDescriptionstatic DraftDataCreates a DraftData without the content filled in.getDate()intgetTitle()getType()voidvoidsetPermissions(PagePermissionData permissions)
-
Constructor Details
-
DraftData
public DraftData() -
DraftData
public DraftData(String title, String content, String type, String spaceKey, int pageVersion, Long pageId, Long draftId, Long parentPageId, PagePermissionData permissions) A constructor taking the parameters required for saving a draft.- Parameters:
title-content-type-spaceKey-pageVersion-pageId-draftId-permissions-
-
DraftData
A constructor taking the parameters required for retrieving a previously saved draft.- Parameters:
pageId-type-
-
-
Method Details
-
create
Creates a DraftData without the content filled in.- Parameters:
draft-
-
getTitle
-
getContent
-
getType
-
getSpaceKey
-
getPageVersion
public int getPageVersion() -
getPageId
-
getDraftId
-
getParentPageId
-
getPermissions
-
setPermissions
-
getDate
-
setDate
-
getSyncRev
-