public class DefaultPageUpdateService extends Object implements PageUpdateService
| Constructor and Description |
|---|
DefaultPageUpdateService(PageManagerInternal pageManager,
com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate)
Deprecated.
since 7.14
|
DefaultPageUpdateService(PageManagerInternal pageManager,
com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate,
ContentReconciliationManager contentReconciliationManager) |
| Modifier and Type | Method and Description |
|---|---|
PreparedAbstractPage |
prepare(long id,
Modification<AbstractPage> modification,
@Nullable SaveContext saveContext)
Prepare content (page or blogpost) for update.
|
void |
update(PreparedAbstractPage preparedAbstractPage)
Perform update of page or blogpost.
|
public DefaultPageUpdateService(PageManagerInternal pageManager, com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate, ContentReconciliationManager contentReconciliationManager)
@Deprecated public DefaultPageUpdateService(PageManagerInternal pageManager, com.atlassian.sal.api.transaction.TransactionTemplate transactionTemplate)
public PreparedAbstractPage prepare(long id, Modification<AbstractPage> modification, @Nullable SaveContext saveContext)
PageUpdateServiceprepare in interface PageUpdateServiceid - of the page or draftmodification - modifications to be executedsaveContext - saving context or nullPreparedAbstractPagepublic void update(PreparedAbstractPage preparedAbstractPage)
PageUpdateServiceupdate in interface PageUpdateServicepreparedAbstractPage - statement, returned by PageUpdateService.prepare(long, Modification, SaveContext)Copyright © 2003–2022 Atlassian. All rights reserved.