public class DummyVersionChildPolicyTestResource extends Object
Modifier and Type | Field and Description |
---|---|
static String |
KEY_CURRENT |
static String |
KEY_ORIGINAL |
static String |
TITLE |
Constructor and Description |
---|
DummyVersionChildPolicyTestResource(CustomContentManager customContentManager,
CommentManager commentManager,
com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate,
SpaceManager spaceManager) |
Modifier and Type | Method and Description |
---|---|
long |
addComment(String content,
long contentId,
int version) |
long |
doCreateCurrent(String spaceKey) |
long |
doCreateOriginal(String spaceKey) |
long |
doRevert(long contentId,
int version) |
long |
doUpdateOriginal(long contentId) |
void |
removeVersion(long contentId,
int version) |
public static final String TITLE
public static final String KEY_CURRENT
public static final String KEY_ORIGINAL
public DummyVersionChildPolicyTestResource(CustomContentManager customContentManager, CommentManager commentManager, com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate, SpaceManager spaceManager)
public long doCreateOriginal(String spaceKey)
public long doCreateCurrent(String spaceKey)
public long doUpdateOriginal(long contentId)
public long doRevert(long contentId, int version)
@XsrfProtectionExcluded public long addComment(String content, long contentId, int version)
public void removeVersion(long contentId, int version)
Copyright © 2003–2017 Atlassian. All rights reserved.