Package com.atlassian.confluence.core
Interface Modification<T extends ContentEntityObject>
-
- Type Parameters:
T
- the type of the reference. You may choose to specify your own type, say Page or BlogPost so you can use state-updating methods that are specific to a class.
public interface Modification<T extends ContentEntityObject>
Clients should implement this interface and modify the passed in reference toContentEntityObject
as they see fit.Changes made will be persisted to a new version.
- Since:
- 4.0
- See Also:
ContentEntityManager.saveNewVersion(ContentEntityObject, Modification)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
modify(T content)
Modifies the state of the content specified here.
-
-
-
Method Detail
-
modify
void modify(T content)
Modifies the state of the content specified here.- Parameters:
content
- a reference to the content (typically the current latest version of content).
-
-