| Modifier and Type | Method and Description | 
|---|---|
protected void | 
CommentContentTypeApiSupport.execute(ServiceCommand command)  | 
| Modifier and Type | Interface and Description | 
|---|---|
interface  | 
RenderContentCommand
A command that can render some content. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
RenderContentCommandImpl
 A command that renders content for preview mode in the editor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
ServiceCommand | 
BlogPostService.newCreateBlogPostCommand(BlogPostProvider provider,
                        ContentPermissionProvider permissionProvider,
                        CreateContextProvider contextProvider,
                        BlogPost draft,
                        com.atlassian.user.User user,
                        boolean notifySelf)  | 
ServiceCommand | 
DefaultBlogPostService.newCreateBlogPostCommand(BlogPostProvider provider,
                        ContentPermissionProvider permissionProvider,
                        CreateContextProvider contextProvider,
                        BlogPost draft,
                        com.atlassian.user.User user,
                        boolean notifySelf)  | 
ServiceCommand | 
BlogPostService.newCreateBlogPostCommand(BlogPostProvider provider,
                        ContentPermissionProvider permissionProvider,
                        CreateContextProvider contextProvider,
                        ContentEntityObject draft,
                        com.atlassian.user.User user,
                        boolean notifySelf)  | 
ServiceCommand | 
DefaultBlogPostService.newCreateBlogPostCommand(BlogPostProvider provider,
                        ContentPermissionProvider permissionProvider,
                        CreateContextProvider contextProvider,
                        ContentEntityObject draft,
                        com.atlassian.user.User user,
                        boolean notifySelf)
Deprecated.  
 | 
ServiceCommand | 
BlogPostService.newCreateBlogPostCommand(BlogPostProvider provider,
                        ContentPermissionProvider permissionProvider,
                        CreateContextProvider contextProvider,
                        Draft draft,
                        com.atlassian.user.User user,
                        boolean notifySelf)  | 
ServiceCommand | 
DefaultBlogPostService.newCreateBlogPostCommand(BlogPostProvider provider,
                        ContentPermissionProvider permissionProvider,
                        CreateContextProvider contextProvider,
                        Draft draft,
                        com.atlassian.user.User user,
                        boolean notifySelf)
Deprecated.  
 | 
ServiceCommand | 
BlogPostService.newCreateBlogPostCommand(BlogPostProvider provider,
                        ContentPermissionProvider permissionProvider,
                        Draft draft,
                        com.atlassian.user.User user,
                        boolean notifySelf)
 | 
ServiceCommand | 
DefaultBlogPostService.newCreateBlogPostCommand(BlogPostProvider provider,
                        ContentPermissionProvider permissionProvider,
                        Draft draft,
                        com.atlassian.user.User user,
                        boolean notifySelf)
Deprecated.  
 | 
ServiceCommand | 
BlogPostService.newCreateBlogPostCommand(BlogPostProvider provider,
                        ContentPermissionProvider permissionProvider,
                        com.atlassian.user.User user,
                        boolean notifySelf)
 | 
ServiceCommand | 
DefaultBlogPostService.newCreateBlogPostCommand(BlogPostProvider provider,
                        ContentPermissionProvider permissionProvider,
                        com.atlassian.user.User user,
                        boolean notifySelf)
Deprecated.  
 | 
ServiceCommand | 
PageService.newCreatePageCommand(PageProvider provider,
                    ContentPermissionProvider permissionProvider,
                    CreateContextProvider contextProvider,
                    ContentEntityObject draft,
                    com.atlassian.user.User user,
                    boolean notifySelf)
Retrieve a command for creating a new page for the specified user. 
 | 
ServiceCommand | 
DefaultPageService.newCreatePageCommand(PageProvider provider,
                    ContentPermissionProvider permissionProvider,
                    CreateContextProvider contextProvider,
                    ContentEntityObject draft,
                    com.atlassian.user.User user,
                    boolean notifySelf)  | 
ServiceCommand | 
PageService.newCreatePageCommand(PageProvider provider,
                    ContentPermissionProvider permissionProvider,
                    CreateContextProvider contextProvider,
                    Draft draft,
                    com.atlassian.user.User user,
                    boolean notifySelf)
Retrieve a command for creating a new page for the specified user. 
 | 
ServiceCommand | 
DefaultPageService.newCreatePageCommand(PageProvider provider,
                    ContentPermissionProvider permissionProvider,
                    CreateContextProvider contextProvider,
                    Draft draft,
                    com.atlassian.user.User user,
                    boolean notifySelf)  | 
ServiceCommand | 
PageService.newCreatePageCommand(PageProvider provider,
                    ContentPermissionProvider permissionProvider,
                    CreateContextProvider contextProvider,
                    Page draft,
                    com.atlassian.user.User user,
                    boolean notifySelf)
Retrieve a command for creating a new page for the specified user. 
 | 
ServiceCommand | 
DefaultPageService.newCreatePageCommand(PageProvider provider,
                    ContentPermissionProvider permissionProvider,
                    CreateContextProvider contextProvider,
                    Page draft,
                    com.atlassian.user.User user,
                    boolean notifySelf)  | 
ServiceCommand | 
PageService.newCreatePageCommand(PageProvider provider,
                    ContentPermissionProvider permissionProvider,
                    Draft draft,
                    com.atlassian.user.User user,
                    boolean notifySelf)
 | 
ServiceCommand | 
DefaultPageService.newCreatePageCommand(PageProvider provider,
                    ContentPermissionProvider permissionProvider,
                    Draft draft,
                    com.atlassian.user.User user,
                    boolean notifySelf)
Deprecated.  
 | 
ServiceCommand | 
PageService.newCreatePageCommand(PageProvider provider,
                    ContentPermissionProvider permissionProvider,
                    com.atlassian.user.User user,
                    boolean notifySelf)
 | 
ServiceCommand | 
DefaultPageService.newCreatePageCommand(PageProvider provider,
                    ContentPermissionProvider permissionProvider,
                    com.atlassian.user.User user,
                    boolean notifySelf)
Deprecated.  
 | 
ServiceCommand | 
PageService.newCreatePageCommandFromExisting(PageProvider provider,
                                ContentPermissionProvider permissionProvider,
                                ContentEntityObject draft,
                                com.atlassian.user.User user,
                                boolean notifySelf,
                                SpaceProvider spaceProvider)
 This is not a public API method! Creating a page from an existing page has different authorisation and validation logic
 from creating a brand new page. 
 | 
ServiceCommand | 
DefaultPageService.newCreatePageCommandFromExisting(PageProvider provider,
                                ContentPermissionProvider permissionProvider,
                                ContentEntityObject draft,
                                com.atlassian.user.User user,
                                boolean notifySelf,
                                SpaceProvider spaceProvider)  | 
ServiceCommand | 
PageService.newCreatePageCommandFromExisting(PageProvider provider,
                                ContentPermissionProvider permissionProvider,
                                CreateContextProvider contextProvider,
                                ContentEntityObject draft,
                                com.atlassian.user.User user,
                                boolean notifySelf,
                                SpaceProvider spaceProvider)
 This is not a public API method! Creating a page from an existing page has different authorisation and validation logic
 from creating a brand new page. 
 | 
ServiceCommand | 
DefaultPageService.newCreatePageCommandFromExisting(PageProvider pageProvider,
                                ContentPermissionProvider permissionProvider,
                                CreateContextProvider contextProvider,
                                ContentEntityObject draft,
                                com.atlassian.user.User user,
                                boolean notifySelf,
                                SpaceProvider spaceProvider)  | 
ServiceCommand | 
PageService.newCreatePageCommandFromExisting(PageProvider provider,
                                ContentPermissionProvider permissionProvider,
                                CreateContextProvider contextProvider,
                                Page draft,
                                com.atlassian.user.User user,
                                boolean notifySelf,
                                SpaceProvider spaceProvider)
 This is not a public API method! Creating a page from an existing page has different authorisation and validation logic
 from creating a brand new page. 
 | 
ServiceCommand | 
DefaultPageService.newCreatePageCommandFromExisting(PageProvider pageProvider,
                                ContentPermissionProvider permissionProvider,
                                CreateContextProvider contextProvider,
                                Page draft,
                                com.atlassian.user.User user,
                                boolean notifySelf,
                                SpaceProvider spaceProvider)  | 
ServiceCommand | 
PageService.newCreatePageCommandFromExisting(PageProvider provider,
                                ContentPermissionProvider permissionProvider,
                                Draft draft,
                                com.atlassian.user.User user,
                                boolean notifySelf)
 | 
ServiceCommand | 
DefaultPageService.newCreatePageCommandFromExisting(PageProvider provider,
                                ContentPermissionProvider permissionProvider,
                                Draft draft,
                                com.atlassian.user.User user,
                                boolean notifySelf)
Deprecated.  
 | 
ServiceCommand | 
PageService.newCreatePageCommandFromExisting(PageProvider provider,
                                ContentPermissionProvider permissionProvider,
                                Draft draft,
                                com.atlassian.user.User user,
                                boolean notifySelf,
                                SpaceProvider spaceProvider)
 This is not a public API method! Creating a page from an existing page has different authorisation and validation logic
 from creating a brand new page. 
 | 
ServiceCommand | 
DefaultPageService.newCreatePageCommandFromExisting(PageProvider provider,
                                ContentPermissionProvider permissionProvider,
                                Draft draft,
                                com.atlassian.user.User user,
                                boolean notifySelf,
                                SpaceProvider spaceProvider)  | 
ServiceCommand | 
BlogPostService.newDeleteBlogPostCommand(BlogPostLocator blogPostLocator)
Retrieve a command to remove an existing blog post 
 | 
ServiceCommand | 
DefaultBlogPostService.newDeleteBlogPostCommand(BlogPostLocator blogPostLocator)  | 
ServiceCommand | 
PageService.newDeletePageCommand(PageLocator pageLocator)
Retrieve a command to remove an existing page 
 | 
ServiceCommand | 
DefaultPageService.newDeletePageCommand(PageLocator pageLocator)  | 
ServiceCommand | 
BlogPostService.newMoveBlogPostCommand(BlogPostLocator blogPostLocator,
                      SpaceLocator targetSpaceLocator)
Creates a new  
ServiceCommand for moving an existing BlogPost. | 
ServiceCommand | 
DefaultBlogPostService.newMoveBlogPostCommand(BlogPostLocator blogPostLocator,
                      SpaceLocator targetSpaceLocator)  | 
ServiceCommand | 
BlogPostService.newRemoveBlogPostVersionCommand(BlogPostLocator blogPostLocator)  | 
ServiceCommand | 
DefaultBlogPostService.newRemoveBlogPostVersionCommand(BlogPostLocator blogPostLocator)  | 
ServiceCommand | 
PageService.newRemovePageVersionCommand(PageLocator pageLocator)  | 
ServiceCommand | 
DefaultPageService.newRemovePageVersionCommand(PageLocator pageLocator)  | 
ServiceCommand | 
BlogPostService.newRevertBlogPostCommand(BlogPostLocator blogPostToRevert,
                        int version,
                        String revertComment,
                        boolean revertTitle)
Retrieve a command to revert a blogpost 
 | 
ServiceCommand | 
DefaultBlogPostService.newRevertBlogPostCommand(BlogPostLocator blogPostToRevert,
                        int version,
                        String revertComment,
                        boolean revertTitle)  | 
ServiceCommand | 
PageService.newRevertPageCommand(PageLocator pageToRevert,
                    int version,
                    String revertComment,
                    boolean revertTitle)
Retrieve a command to revert a page 
 | 
ServiceCommand | 
DefaultPageService.newRevertPageCommand(PageLocator pageToRevert,
                    int version,
                    String revertComment,
                    boolean revertTitle)  | 
ServiceCommand | 
PageService.newRevertPageOrderCommand(PageLocator parentPageLocator)
Retrieve a command to clear any existing positions for children of the located Page. 
 | 
ServiceCommand | 
DefaultPageService.newRevertPageOrderCommand(PageLocator parentPageLocator)  | 
ServiceCommand | 
PageService.newSetPageOrderCommand(PageLocator parentPageLocator,
                      List<Long> childPageIds)
Retrieve a command to set the order of all children for a supplied parent Page locator. 
 | 
ServiceCommand | 
DefaultPageService.newSetPageOrderCommand(PageLocator parentPageLocator,
                      List<Long> childPageIds)  | 
| Modifier and Type | Interface and Description | 
|---|---|
interface  | 
CreateBlogPostCommand
An interface for a command that will create a new BlogPost. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
CreateBlogPostCommandImpl
An implementation of the CreatePageCommand that will create a page, and assign any provided permissions
 then perform the clean up of any Drafts and raise the necessary event. 
 | 
class  | 
MoveBlogPostToTopOfSpaceCommand
A command that moves a blog post to a top level of a given space. 
 | 
class  | 
RemoveBlogPostVersionCommand
Service command for removing a version of a blog post. 
 | 
class  | 
RevertBlogPostCommand  | 
| Modifier and Type | Interface and Description | 
|---|---|
interface  | 
CommentCommand  | 
interface  | 
CreateCommentCommand
Service command to create a new comment 
 | 
interface  | 
DeleteCommentCommand
Service command for removing a comment. 
 | 
interface  | 
EditCommentCommand
Service command for editing an existing comment. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
CreateCommentCommandImpl  | 
class  | 
CreateCommentFromEditorCommand  | 
class  | 
DeleteCommentCommandImpl  | 
class  | 
EditCommentCommandImpl  | 
class  | 
EditCommentFromEditorCommand  | 
| Modifier and Type | Interface and Description | 
|---|---|
interface  | 
CreatePageCommand
An interface for a command that will create a new page. 
 | 
interface  | 
MovePageCommand
An interface for a command that implements the logic to move a page to another parent or space. 
 | 
interface  | 
TrashPageCommand
Deprecated. 
 
since 5.8. Use  
DeletePageCommand instead | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
CreateAbstractPageCommandImpl
An abstract base class for create commands for AbstractPage subclasses such as Page or BlogPost 
 | 
class  | 
CreatePageCommandImpl
An implementation of the CreatePageCommand that will create a page, and assign any provided permissions
 then perform the clean up of any Drafts and raise the necessary event. 
 | 
class  | 
CreatePageFromExistingCommandImpl
This command is only necessary because  
CopyPageAction has different authorisation and
 validation logic from CreatePageAction. | 
class  | 
DeleteBlogPostCommand
Service command for removing a blog post. 
 | 
class  | 
DeletePageCommand
Service command for removing a page. 
 | 
class  | 
MovePageCommandImpl  | 
class  | 
MovePageToTopOfSpaceCommand
A command that moves a page to a top level of a given space. 
 | 
class  | 
RemoveAbstractPageVersionCommand
Service command for removing a version of a page or blog post. 
 | 
class  | 
RemovePageVersionCommand
Service command for removing a version of a page. 
 | 
class  | 
RevertPageCommand  | 
class  | 
RevertPageOrderCommand
Removes page position information from the children of the provided page, effectively
 reverting their order to alphabetical. 
 | 
class  | 
SetPageOrderCommand  | 
class  | 
TrashPageCommandImpl
Deprecated. 
 
since 5.8. Use  
DeletePageCommand instead | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
DeleteSpaceCommand
Service command for removing a space. 
 | 
| Constructor and Description | 
|---|
ServiceBackedActionHelper(ServiceCommand serviceCommand)  | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
AbstractServiceCommand
Base implementation of  
ServiceCommand that takes care of the internal logic related to the order in which
 the various operations must be performed. | 
class  | 
RunAsUserCommand
An experimental command for running services as another user. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
ServiceCommand | 
CommandActionHelper.getCommand()  | 
| Constructor and Description | 
|---|
CommandActionHelper(ServiceCommand command)  | 
RunAsUserCommand(ConfluenceUser userToRunAs,
                ServiceCommand delegate)  | 
RunAsUserCommand(com.atlassian.user.User userToRunAs,
                ServiceCommand delegate)
Deprecated. 
 
since 5.2. Use  
RunAsUserCommand.RunAsUserCommand(com.atlassian.confluence.user.ConfluenceUser, ServiceCommand) instead. | 
| Modifier and Type | Interface and Description | 
|---|---|
interface  | 
AddLabelsCommand
Takes a string of comma separated labels and adds them to a
 Page or Blog Post for the specified user. 
 | 
interface  | 
RemoveLabelCommand
Removes a label from a Page or Blog Post. 
 | 
interface  | 
ValidateLabelsCommand  | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
AbstractLabelsCommand
Provides basic label methods that should be common to all label commands 
 | 
class  | 
AddLabelsCommandImpl  | 
class  | 
RemoveLabelCommandImpl  | 
class  | 
ValidateLabelsCommandImpl  | 
| Modifier and Type | Method and Description | 
|---|---|
protected ServiceCommand | 
CreatePageAction.createCommand()  | 
protected ServiceCommand | 
MovePageAction.createCommand()  | 
protected ServiceCommand | 
SetPageOrderAction.createCommand()  | 
protected ServiceCommand | 
CopyPageAction.createCommand()  | 
protected ServiceCommand | 
CreateBlogPostAction.createCommand()  | 
protected ServiceCommand | 
MoveBlogPostAction.createCommand()  | 
protected ServiceCommand | 
RemoveHistoricalVersionAction.createCommand()  | 
protected ServiceCommand | 
RevertPageOrderAction.createCommand()  | 
protected abstract ServiceCommand | 
AbstractCommandAction.createCommand()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected ServiceCommand | 
RenderContentAction.createCommand()  | 
| Modifier and Type | Method and Description | 
|---|---|
ServiceCommand | 
ServiceCommandTransactionProxy.proxyCommand(ServiceCommand command,
            Class proxyInterface)  | 
| Modifier and Type | Method and Description | 
|---|---|
ServiceCommand | 
ServiceCommandTransactionProxy.proxyCommand(ServiceCommand command,
            Class proxyInterface)  | 
| Modifier and Type | Method and Description | 
|---|---|
static void | 
LegacyLabelHelper.validateLabelsCommand(ServiceCommand command)  | 
| Modifier and Type | Interface and Description | 
|---|---|
interface  | 
DeleteProfilePictureCommand  | 
interface  | 
SetProfilePictureCommand
Commands for setting a user's profile picture 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
DeleteProfilePictureCommandImpl
Deprecated. 
 
since 5.7. CONFDEV-28074 User profile related services will be extracted to a plugin. 
 | 
class  | 
SetProfilePictureFromFilenameCommand
Deprecated. 
 
since 5.7. CONFDEV-28074 User profile related services will be extracted to a plugin. 
 | 
class  | 
SetProfilePictureFromImageCommandImpl
Deprecated. 
 
since 5.7. CONFDEV-28074 User profile related services will be extracted to a plugin. 
 | 
Copyright © 2003–2017 Atlassian. All rights reserved.