Uses of Interface
com.atlassian.confluence.core.service.ServiceCommand
-
-
Uses of ServiceCommand in com.atlassian.confluence.api.impl.service.content.typebinding
Methods in com.atlassian.confluence.api.impl.service.content.typebinding with parameters of type ServiceCommand Modifier and Type Method Description protected void
CommentContentTypeApiSupport. execute(ServiceCommand command)
-
Uses of ServiceCommand in com.atlassian.confluence.content.service
Subinterfaces of ServiceCommand in com.atlassian.confluence.content.service Modifier and Type Interface Description interface
RenderContentCommand
A command that can render some content.Classes in com.atlassian.confluence.content.service that implement ServiceCommand Modifier and Type Class Description class
RenderContentCommandImpl
A command that renders content for preview mode in the editor.Methods in com.atlassian.confluence.content.service that return ServiceCommand Modifier and Type Method Description ServiceCommand
BlogPostService. newCreateBlogPostCommand(BlogPostProvider provider, ContentPermissionProvider permissionProvider, CreateContextProvider contextProvider, ContentEntityObject draft, com.atlassian.user.User user, boolean notifySelf)
ServiceCommand
BlogPostService. 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, Draft 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
DefaultBlogPostService. 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, Draft draft, com.atlassian.user.User user, boolean notifySelf)
Deprecated.ServiceCommand
DefaultPageService. newCreatePageCommand(PageProvider provider, ContentPermissionProvider permissionProvider, CreateContextProvider contextProvider, ContentEntityObject draft, com.atlassian.user.User user, boolean notifySelf)
ServiceCommand
DefaultPageService. newCreatePageCommand(PageProvider provider, ContentPermissionProvider permissionProvider, CreateContextProvider contextProvider, Draft draft, com.atlassian.user.User user, boolean notifySelf)
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, CreateContextProvider contextProvider, ContentEntityObject draft, com.atlassian.user.User user, boolean notifySelf)
Retrieve a command for creating a new page for the specified user.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
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. newCreatePageCommandFromExisting(PageProvider pageProvider, ContentPermissionProvider permissionProvider, CreateContextProvider contextProvider, ContentEntityObject draft, com.atlassian.user.User user, boolean notifySelf, SpaceProvider spaceProvider)
ServiceCommand
DefaultPageService. newCreatePageCommandFromExisting(PageProvider pageProvider, ContentPermissionProvider permissionProvider, CreateContextProvider contextProvider, Page draft, com.atlassian.user.User user, boolean notifySelf, SpaceProvider spaceProvider)
ServiceCommand
DefaultPageService. newCreatePageCommandFromExisting(PageProvider provider, ContentPermissionProvider permissionProvider, ContentEntityObject draft, com.atlassian.user.User user, boolean notifySelf, SpaceProvider spaceProvider)
ServiceCommand
DefaultPageService. newCreatePageCommandFromExisting(PageProvider provider, ContentPermissionProvider permissionProvider, Draft 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
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
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
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
BlogPostService. newDeleteBlogPostCommand(BlogPostLocator blogPostLocator)
Retrieve a command to remove an existing blog postServiceCommand
DefaultBlogPostService. newDeleteBlogPostCommand(BlogPostLocator blogPostLocator)
ServiceCommand
DefaultPageService. newDeletePageCommand(PageLocator pageLocator)
ServiceCommand
PageService. newDeletePageCommand(PageLocator pageLocator)
Retrieve a command to remove an existing pageServiceCommand
BlogPostService. newMoveBlogPostCommand(BlogPostLocator blogPostLocator, SpaceLocator targetSpaceLocator)
Creates a newServiceCommand
for moving an existingBlogPost
.ServiceCommand
DefaultBlogPostService. newMoveBlogPostCommand(BlogPostLocator blogPostLocator, SpaceLocator targetSpaceLocator)
ServiceCommand
BlogPostService. newRemoveBlogPostVersionCommand(BlogPostLocator blogPostLocator)
ServiceCommand
DefaultBlogPostService. newRemoveBlogPostVersionCommand(BlogPostLocator blogPostLocator)
ServiceCommand
DefaultPageService. newRemovePageVersionCommand(PageLocator pageLocator)
ServiceCommand
PageService. newRemovePageVersionCommand(PageLocator pageLocator)
ServiceCommand
BlogPostService. newRevertBlogPostCommand(BlogPostLocator blogPostToRevert, int version, String revertComment, boolean revertTitle)
Retrieve a command to revert a blogpostServiceCommand
DefaultBlogPostService. newRevertBlogPostCommand(BlogPostLocator blogPostToRevert, int version, String revertComment, boolean revertTitle)
ServiceCommand
DefaultPageService. newRevertPageCommand(PageLocator pageToRevert, int version, String revertComment, boolean revertTitle)
ServiceCommand
PageService. newRevertPageCommand(PageLocator pageToRevert, int version, String revertComment, boolean revertTitle)
Retrieve a command to revert a pageServiceCommand
DefaultPageService. newRevertPageOrderCommand(PageLocator parentPageLocator)
ServiceCommand
PageService. newRevertPageOrderCommand(PageLocator parentPageLocator)
Retrieve a command to clear any existing positions for children of the located Page.ServiceCommand
DefaultPageService. newSetPageOrderCommand(PageLocator parentPageLocator, List<Long> childPageIds)
ServiceCommand
PageService. newSetPageOrderCommand(PageLocator parentPageLocator, List<Long> childPageIds)
Retrieve a command to set the order of all children for a supplied parent Page locator. -
Uses of ServiceCommand in com.atlassian.confluence.content.service.blogpost
Subinterfaces of ServiceCommand in com.atlassian.confluence.content.service.blogpost Modifier and Type Interface Description interface
CreateBlogPostCommand
An interface for a command that will create a new BlogPost.Classes in com.atlassian.confluence.content.service.blogpost that implement ServiceCommand Modifier and Type Class 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
-
Uses of ServiceCommand in com.atlassian.confluence.content.service.comment
Subinterfaces of ServiceCommand in com.atlassian.confluence.content.service.comment Modifier and Type Interface Description interface
CommentCommand
interface
CreateCommentCommand
Service command to create a new commentinterface
DeleteCommentCommand
Service command for removing a comment.interface
EditCommentCommand
Service command for editing an existing comment.Classes in com.atlassian.confluence.content.service.comment that implement ServiceCommand Modifier and Type Class Description class
CreateCommentCommandImpl
class
CreateCommentFromEditorCommand
class
DeleteCommentCommandImpl
class
EditCommentCommandImpl
class
EditCommentFromEditorCommand
-
Uses of ServiceCommand in com.atlassian.confluence.content.service.page
Subinterfaces of ServiceCommand in com.atlassian.confluence.content.service.page Modifier and Type Interface 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.Classes in com.atlassian.confluence.content.service.page that implement ServiceCommand Modifier and Type Class Description class
CreateAbstractPageCommandImpl
An abstract base class for create commands for AbstractPage subclasses such as Page or BlogPostclass
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 becauseCopyPageAction
has different authorisation and validation logic fromCreatePageAction
.class
DeleteBlogPostCommand
Service command for removing a blog post.class
DeletePageCommand
Service command for removing a page.class
LongRunningTaskMovePageCommandDecorator
A Decorator for existing MovePageCommands to be run synchronously as a LongRunningTask.class
MovePageAbstractCommand
Base class for commands which are responsible for page movingclass
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
-
Uses of ServiceCommand in com.atlassian.confluence.content.service.space
Classes in com.atlassian.confluence.content.service.space that implement ServiceCommand Modifier and Type Class Description class
DeleteSpaceCommand
Service command for removing a space. -
Uses of ServiceCommand in com.atlassian.confluence.core.actions
Constructors in com.atlassian.confluence.core.actions with parameters of type ServiceCommand Constructor Description ServiceBackedActionHelper(ServiceCommand serviceCommand)
-
Uses of ServiceCommand in com.atlassian.confluence.core.service
Classes in com.atlassian.confluence.core.service that implement ServiceCommand Modifier and Type Class Description class
AbstractServiceCommand
Base implementation ofServiceCommand
that takes care of the internal logic related to the order in which the various operations must be performed.class
RunAsUserCommand
TODO : confluence-7.0 do we even want to keep this around ? currently not used An experimental command for running services as another user.Methods in com.atlassian.confluence.core.service that return ServiceCommand Modifier and Type Method Description ServiceCommand
CommandActionHelper. getCommand()
Constructors in com.atlassian.confluence.core.service with parameters of type ServiceCommand Constructor Description CommandActionHelper(ServiceCommand command)
RunAsUserCommand(ConfluenceUser userToRunAs, ServiceCommand delegate)
-
Uses of ServiceCommand in com.atlassian.confluence.labels.service
Subinterfaces of ServiceCommand in com.atlassian.confluence.labels.service Modifier and Type Interface 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
Classes in com.atlassian.confluence.labels.service that implement ServiceCommand Modifier and Type Class Description class
AbstractLabelsCommand
Provides basic label methods that should be common to all label commandsclass
AddLabelsCommandImpl
class
RemoveLabelCommandImpl
class
ValidateLabelsCommandImpl
-
Uses of ServiceCommand in com.atlassian.confluence.pages.actions
Methods in com.atlassian.confluence.pages.actions that return ServiceCommand Modifier and Type Method Description protected abstract ServiceCommand
AbstractCommandAction. createCommand()
protected ServiceCommand
CopyPageAction. createCommand()
protected ServiceCommand
CreateBlogPostAction. createCommand()
protected ServiceCommand
CreatePageAction. createCommand()
protected ServiceCommand
MoveBlogPostAction. createCommand()
protected ServiceCommand
MovePageAction. createCommand()
protected ServiceCommand
RemoveHistoricalVersionAction. createCommand()
protected ServiceCommand
RevertPageOrderAction. createCommand()
protected ServiceCommand
SetPageOrderAction. createCommand()
-
Uses of ServiceCommand in com.atlassian.confluence.renderer.actions
Methods in com.atlassian.confluence.renderer.actions that return ServiceCommand Modifier and Type Method Description protected ServiceCommand
RenderContentAction. createCommand()
-
Uses of ServiceCommand in com.atlassian.confluence.spring.service
Methods in com.atlassian.confluence.spring.service that return ServiceCommand Modifier and Type Method Description ServiceCommand
ServiceCommandTransactionProxy. proxyCommand(ServiceCommand command, Class proxyInterface)
Methods in com.atlassian.confluence.spring.service with parameters of type ServiceCommand Modifier and Type Method Description ServiceCommand
ServiceCommandTransactionProxy. proxyCommand(ServiceCommand command, Class proxyInterface)
-
Uses of ServiceCommand in com.atlassian.confluence.ui.rest.service.content
Methods in com.atlassian.confluence.ui.rest.service.content with parameters of type ServiceCommand Modifier and Type Method Description static void
LegacyLabelHelper. validateLabelsCommand(ServiceCommand command)
Deprecated. -
Uses of ServiceCommand in com.atlassian.confluence.user.service
Subinterfaces of ServiceCommand in com.atlassian.confluence.user.service Modifier and Type Interface Description interface
DeleteProfilePictureCommand
interface
SetProfilePictureCommand
Commands for setting a user's profile picture
-