Interface TouchRelationSupport
-
- All Known Implementing Classes:
TouchRelationSupportImpl
public interface TouchRelationSupport
This class encapsulates all the logic required to maintain touch relations in the correct state.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.
- Since:
- 6.4.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
handleTouchRelations
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.- Parameters:
input
- Requires at least a ContentType and ContentId to be set on the supplied Content object.
-
-