@Name(value="contentViewObserverActions") @Scope(value=CONVERSATION) public class ContentViewObserverActions extends Object implements Serializable
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. |
@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 © 2013 Nuxeo SA. All Rights Reserved.