@Name(value="contentViewObserverActions") @Scope(value=CONVERSATION) public class ContentViewObserverActions extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected ContentViewActions |
contentViewActions |
Constructor and Description |
---|
ContentViewObserverActions() |
Modifier and Type | Method and Description |
---|---|
void |
onDocumentChanged()
Refreshes and resets content views that have declared event
EventNames.DOCUMENT_CHANGED as a
refresh/reset event. |
void |
onDocumentChildrenChanged()
Refreshes and resets content views that have declared event
EventNames.DOCUMENT_CHILDREN_CHANGED as a
refresh/reset event. |
void |
onDocumentPublicationRejected()
Refreshes and resets content views that have declared event
EventNames.DOCUMENT_PUBLICATION_REJECTED as a
refresh/reset event. |
void |
onHotReloadFlush()
Resets all caches on
EventNames.FLUSH_EVENT , triggered by hot reload when dev mode is set. |
@In(create=true) protected ContentViewActions contentViewActions
public ContentViewObserverActions()
@Observer(value="documentChanged") public void onDocumentChanged()
EventNames.DOCUMENT_CHANGED
as a
refresh/reset event.@Observer(value="documentChildrenChanged") public void onDocumentChildrenChanged()
EventNames.DOCUMENT_CHILDREN_CHANGED
as a
refresh/reset event.@Observer(value="documentPublicationRejected") public void onDocumentPublicationRejected()
EventNames.DOCUMENT_PUBLICATION_REJECTED
as a
refresh/reset event.@Observer(value="flush", create=true) public void onHotReloadFlush()
EventNames.FLUSH_EVENT
, triggered by hot reload when dev mode is set.Copyright © 2016 Nuxeo SA. All rights reserved.