@ExperimentalApi
public interface PageUpdateService
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.
|
PreparedAbstractPage prepare(long id, Modification<AbstractPage> modification, @Nullable SaveContext saveContext) throws ServiceException
id
- of the page or draftmodification
- modifications to be executedsaveContext
- saving context or null
PreparedAbstractPage
ServiceException
- in case of an errorvoid update(PreparedAbstractPage preparedAbstractPage) throws ServiceException
preparedAbstractPage
- statement, returned by prepare(long, Modification, SaveContext)
ServiceException
- in case of an errorCopyright © 2003–2023 Atlassian. All rights reserved.
View cookie preferences