public class CreatePageCommandImpl extends CreateAbstractPageCommandImpl implements CreatePageCommand
| Modifier and Type | Field and Description |
|---|---|
protected PermissionManager |
permissionManager |
attachmentManager, contentPermissionManager, contentPropertyManager, contextProvider, createdContent, draft, draftService, draftsTransitionHelper, eventPublisher, labelManager, notificationManager, notifySelf, pageManager, permissionProvider, user| Constructor and Description |
|---|
CreatePageCommandImpl(PageManager pageManager,
PermissionManager permissionManager,
ContentPermissionManager contentPermissionManager,
DraftService draftService,
AttachmentManager attachmentManager,
NotificationManager notificationManager,
com.atlassian.event.api.EventPublisher eventPublisher,
PageProvider pageProvider,
ContentPermissionProvider permissionProvider,
CreateContextProvider contextProvider,
ContentEntityObject draft,
com.atlassian.user.User user,
boolean notifySelf,
ContentPropertyManager contentPropertyManager,
LabelManager labelManager,
DraftsTransitionHelper draftsTransitionHelper)
Deprecated.
since 5.10
|
CreatePageCommandImpl(PageManager pageManager,
PermissionManager permissionManager,
ContentPermissionManager contentPermissionManager,
DraftService draftService,
AttachmentManager attachmentManager,
NotificationManager notificationManager,
com.atlassian.event.api.EventPublisher eventPublisher,
PageProvider pageProvider,
ContentPermissionProvider permissionProvider,
CreateContextProvider contextProvider,
Draft draft,
com.atlassian.user.User user,
boolean notifySelf,
ContentPropertyManager contentPropertyManager,
LabelManager labelManager,
DraftsTransitionHelper draftsTransitionHelper)
Deprecated.
since 5.10
|
CreatePageCommandImpl(PageManager pageManager,
PermissionManager permissionManager,
ContentPermissionManager contentPermissionManager,
DraftService draftService,
AttachmentManager attachmentManager,
NotificationManager notificationManager,
com.atlassian.event.api.EventPublisher eventPublisher,
PageProvider pageProvider,
ContentPermissionProvider permissionProvider,
CreateContextProvider contextProvider,
Page draft,
com.atlassian.user.User user,
boolean notifySelf,
ContentPropertyManager contentPropertyManager,
LabelManager labelManager,
DraftsTransitionHelper draftsTransitionHelper) |
| Modifier and Type | Method and Description |
|---|---|
protected AbstractPage |
getContent() |
Page |
getCreatedPage() |
protected Created |
getCreateEvent() |
protected boolean |
isAuthorizedInternal()
Template method for implementations to perform authorization.
|
protected void |
validateInternal(ServiceCommandValidator validator)
Ensure that a page has been provided and that its title will not be a duplicate in the target space.
|
executeInternal, getCreatedContentexecute, getCurrentUser, getValidationErrors, isAuthorized, isValidclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecute, getValidationErrors, isAuthorized, isValidprotected PermissionManager permissionManager
@Deprecated public CreatePageCommandImpl(PageManager pageManager, PermissionManager permissionManager, ContentPermissionManager contentPermissionManager, DraftService draftService, AttachmentManager attachmentManager, NotificationManager notificationManager, com.atlassian.event.api.EventPublisher eventPublisher, PageProvider pageProvider, ContentPermissionProvider permissionProvider, CreateContextProvider contextProvider, Draft draft, com.atlassian.user.User user, boolean notifySelf, ContentPropertyManager contentPropertyManager, LabelManager labelManager, DraftsTransitionHelper draftsTransitionHelper)
@Deprecated public CreatePageCommandImpl(PageManager pageManager, PermissionManager permissionManager, ContentPermissionManager contentPermissionManager, DraftService draftService, AttachmentManager attachmentManager, NotificationManager notificationManager, com.atlassian.event.api.EventPublisher eventPublisher, PageProvider pageProvider, ContentPermissionProvider permissionProvider, CreateContextProvider contextProvider, ContentEntityObject draft, com.atlassian.user.User user, boolean notifySelf, ContentPropertyManager contentPropertyManager, LabelManager labelManager, DraftsTransitionHelper draftsTransitionHelper)
public CreatePageCommandImpl(PageManager pageManager, PermissionManager permissionManager, ContentPermissionManager contentPermissionManager, DraftService draftService, AttachmentManager attachmentManager, NotificationManager notificationManager, com.atlassian.event.api.EventPublisher eventPublisher, PageProvider pageProvider, ContentPermissionProvider permissionProvider, CreateContextProvider contextProvider, Page draft, com.atlassian.user.User user, boolean notifySelf, ContentPropertyManager contentPropertyManager, LabelManager labelManager, DraftsTransitionHelper draftsTransitionHelper)
protected void validateInternal(ServiceCommandValidator validator)
validateInternal in class CreateAbstractPageCommandImplprotected boolean isAuthorizedInternal()
AbstractServiceCommandisAuthorizedInternal in class AbstractServiceCommandprotected AbstractPage getContent()
getContent in class CreateAbstractPageCommandImplprotected Created getCreateEvent()
getCreateEvent in class CreateAbstractPageCommandImplpublic Page getCreatedPage()
getCreatedPage in interface CreatePageCommandCopyright © 2003–2018 Atlassian. All rights reserved.