com.atlassian.confluence.it
Class Draft
java.lang.Object
com.atlassian.confluence.it.AbstractContentEntity
com.atlassian.confluence.it.Draft
- All Implemented Interfaces:
- ContentEntity
public class Draft
- extends AbstractContentEntity
Representation of a Draft
for use in tests
Constructor Summary |
Draft(User owner,
ContentType type,
String title)
|
Draft(User owner,
ContentType type,
String title,
String content,
Space space)
|
Draft(User owner,
String type,
String title,
String content)
|
Draft(User owner,
String type,
String title,
String content,
Page page)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Draft
public Draft(User owner,
String type,
String title,
String content)
Draft
public Draft(User owner,
ContentType type,
String title)
Draft
public Draft(User owner,
ContentType type,
String title,
String content,
Space space)
Draft
public Draft(User owner,
String type,
String title,
String content,
Page page)
getPage
public Page getPage()
getOwner
public User getOwner()
getTypeAsString
public String getTypeAsString()
getTitle
public String getTitle()
- Returns:
- the title of this entity
getContent
public String getContent()
- Description copied from interface:
ContentEntity
- Return the content of this entity.
- Specified by:
getContent
in interface ContentEntity
- Overrides:
getContent
in class AbstractContentEntity
getSpace
public Space getSpace()
- Description copied from interface:
ContentEntity
- Return the space this content belongs to.
getEditUrl
public String getEditUrl()
- Description copied from interface:
ContentEntity
- Return the url where this entity can be edited.
Copyright © 2003-2011 Atlassian. All Rights Reserved.