com.atlassian.confluence.content.service.page
Class RevertContentToVersionCommand
java.lang.Object
com.atlassian.confluence.content.service.page.RevertContentToVersionCommand
public class RevertContentToVersionCommand
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NON_UNIQUE_TITLE_ERROR
public static final java.lang.String NON_UNIQUE_TITLE_ERROR
- See Also:
- Constant Field Values
RevertContentToVersionCommand
public RevertContentToVersionCommand(PermissionManager permissionManager,
ContentEntityManager contentEntityManager)
validate
public void validate(ServiceCommandValidator validator,
ContentEntityObject ceo,
ContentEntityObject possibleConflictingCeo,
int versionToRevert,
boolean revertTitle)
isAuthorized
public boolean isAuthorized(com.atlassian.user.User currentUser,
ContentEntityObject contentEntityObject)
execute
public void execute(ContentEntityObject ceo,
int version,
java.lang.String revertComment,
boolean revertTitle)
getVersionToRevert
public ContentEntityObject getVersionToRevert(ContentEntityObject latestVersion,
int version)
Copyright © 2003-2010 Atlassian. All Rights Reserved.