public interface TouchRelationSupport
For every current/draft content pair, there should only be one touch relation present. Because in some situations there is no draft content (updates via REST API, first publish of a draft page, maybe others...), we need to move the touch relation between the current or draft page.
Modifier and Type | Method and Description |
---|---|
void |
handleTouchRelations(Content input)
Modifies touch relations for a draft/current page pair to the correct state
as though the logged in user just modified the associated content.
|
void handleTouchRelations(Content input)
input
- Requires at least a ContentType and ContentId to be set on the supplied Content object.Copyright © 2003–2017 Atlassian. All rights reserved.