|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 to ContentEntityObject
as they see fit.
Changes made will be persisted to a new version.
ContentEntityManager#saveNewVersion(ContentEntityObject, Modification)}
Method Summary | |
---|---|
void |
modify(T content)
Modifies the state of the content specified here. |
Method Detail |
---|
void modify(T content)
content
- a reference to the content (typically the current latest version of content).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |