|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.core.service.AbstractServiceCommand
com.atlassian.confluence.content.service.page.CreateAbstractPageCommandImpl
public abstract class CreateAbstractPageCommandImpl
An abstract base class for create commands for AbstractPage subclasses such as Page or BlogPost
| Field Summary | |
|---|---|
protected AttachmentManager |
attachmentManager
|
protected ContentPermissionManager |
contentPermissionManager
|
protected AbstractPage |
createdContent
Will content the content created after executeInternal has successfully completed. |
protected DraftManager |
draftManager
|
protected com.atlassian.event.api.EventPublisher |
eventPublisher
|
protected NotificationManager |
notificationManager
|
protected boolean |
notifySelf
A flag indicating if the user creating the page wants to be notified about this event. |
protected PageManager |
pageManager
|
protected ContentPermissionProvider |
permissionProvider
|
protected com.atlassian.user.User |
user
The user who is creating the page. |
| Constructor Summary | |
|---|---|
protected |
CreateAbstractPageCommandImpl(PageManager pageManager,
ContentPermissionManager contentPermissionManager,
DraftManager draftManager,
AttachmentManager attachmentManager,
NotificationManager notificationManager,
com.atlassian.event.api.EventPublisher eventPublisher,
ContentPermissionProvider permissionProvider,
com.atlassian.user.User user,
boolean notifySelf)
|
| Method Summary | |
|---|---|
protected void |
executeInternal()
Template method for implementations to perform command execution. |
protected abstract AbstractPage |
getContent()
|
protected AbstractPage |
getCreatedContent()
|
protected abstract Created |
getCreateEvent()
|
protected void |
validateInternal(ServiceCommandValidator validator)
Ensure that an AbstractPage has been provided and that its title is valid. |
| Methods inherited from class com.atlassian.confluence.core.service.AbstractServiceCommand |
|---|
execute, getCurrentUser, getValidationErrors, isAuthorized, isAuthorizedInternal, isValid |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected PageManager pageManager
protected ContentPermissionManager contentPermissionManager
protected DraftManager draftManager
protected AttachmentManager attachmentManager
protected NotificationManager notificationManager
protected com.atlassian.event.api.EventPublisher eventPublisher
protected ContentPermissionProvider permissionProvider
protected com.atlassian.user.User user
protected boolean notifySelf
protected AbstractPage createdContent
| Constructor Detail |
|---|
protected CreateAbstractPageCommandImpl(PageManager pageManager,
ContentPermissionManager contentPermissionManager,
DraftManager draftManager,
AttachmentManager attachmentManager,
NotificationManager notificationManager,
com.atlassian.event.api.EventPublisher eventPublisher,
ContentPermissionProvider permissionProvider,
com.atlassian.user.User user,
boolean notifySelf)
| Method Detail |
|---|
protected void validateInternal(ServiceCommandValidator validator)
validateInternal in class AbstractServiceCommandprotected void executeInternal()
AbstractServiceCommand
executeInternal in class AbstractServiceCommandprotected AbstractPage getCreatedContent()
protected abstract AbstractPage getContent()
protected abstract Created getCreateEvent()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||