public abstract class AbstractStoreEventListener<T> extends Object implements org.springframework.context.ApplicationListener<StoreEvent>
| Constructor and Description |
|---|
AbstractStoreEventListener() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
onAfterAssociate(AfterAssociateEvent event)
Override this method if you are interested in afterAssociate events.
|
protected void |
onAfterAssociate(T entity)
Override this method if you are interested in afterAssociate events.
|
protected void |
onAfterGetContent(AfterGetContentEvent event)
Override this method if you are interested in afterGetContent events.
|
protected void |
onAfterGetContent(T entity)
Override this method if you are interested in afterGetContent events.
|
protected void |
onAfterGetResource(AfterGetResourceEvent event)
Override this method if you are interested in afterGetResource events.
|
protected void |
onAfterGetResource(T entity)
Override this method if you are interested in afterGetResource events.
|
protected void |
onAfterSetContent(AfterSetContentEvent event)
Override this method if you are interested in afterSetContent events.
|
protected void |
onAfterSetContent(T entity)
Override this method if you are interested in afterSetContent events.
|
protected void |
onAfterUnassociate(AfterUnassociateEvent event)
Override this method if you are interested in afterUnassociate events.
|
protected void |
onAfterUnassociate(T entity)
Override this method if you are interested in afterUnassociate events.
|
protected void |
onAfterUnsetContent(AfterUnsetContentEvent event)
Override this method if you are interested in afterUnsetContent events.
|
protected void |
onAfterUnsetContent(T entity)
Override this method if you are interested in afterUnsetContent events.
|
void |
onApplicationEvent(StoreEvent event) |
protected void |
onBeforeAssociate(BeforeAssociateEvent event)
Override this method if you are interested in beforeAssociate events.
|
protected void |
onBeforeAssociate(T entity)
Override this method if you are interested in beforeAssociate events.
|
protected void |
onBeforeGetContent(BeforeGetContentEvent event)
Override this method if you are interested in beforeGetContent events.
|
protected void |
onBeforeGetContent(T entity)
Override this method if you are interested in beforeGetContent events.
|
protected void |
onBeforeGetResource(BeforeGetResourceEvent event)
Override this method if you are interested in beforeGetResource events.
|
protected void |
onBeforeGetResource(T entity)
Override this method if you are interested in beforeGetResource events.
|
protected void |
onBeforeSetContent(BeforeSetContentEvent entity)
Override this method if you are interested in beforeSetContent events.
|
protected void |
onBeforeSetContent(T entity)
Override this method if you are interested in beforeSetContent events.
|
protected void |
onBeforeUnassociate(BeforeUnassociateEvent event)
Override this method if you are interested in beforeUnassociate events.
|
protected void |
onBeforeUnassociate(T entity)
Override this method if you are interested in beforeUnassociate events.
|
protected void |
onBeforeUnsetContent(BeforeUnsetContentEvent event)
Override this method if you are interested in beforeUnsetContent events.
|
protected void |
onBeforeUnsetContent(T entity)
Override this method if you are interested in beforeUnsetContent events.
|
public final void onApplicationEvent(StoreEvent event)
onApplicationEvent in interface org.springframework.context.ApplicationListener<StoreEvent>protected void onBeforeGetResource(BeforeGetResourceEvent event)
event - The eventprotected void onBeforeGetResource(T entity)
entity - The content entity being fetched.protected void onAfterGetResource(AfterGetResourceEvent event)
event - The eventprotected void onAfterGetResource(T entity)
entity - The content entity being fetched.protected void onBeforeAssociate(BeforeAssociateEvent event)
event - The eventprotected void onBeforeAssociate(T entity)
entity - The content entity being fetched.protected void onAfterAssociate(AfterAssociateEvent event)
event - The eventprotected void onAfterAssociate(T entity)
entity - The content entity being fetched.protected void onBeforeUnassociate(BeforeUnassociateEvent event)
event - The eventprotected void onBeforeUnassociate(T entity)
entity - The content entity being fetched.protected void onAfterUnassociate(AfterUnassociateEvent event)
event - The eventprotected void onAfterUnassociate(T entity)
entity - The content entity being fetched.protected void onBeforeGetContent(BeforeGetContentEvent event)
event - The eventprotected void onBeforeGetContent(T entity)
entity - The content entity being fetched.protected void onAfterGetContent(AfterGetContentEvent event)
event - The eventprotected void onAfterGetContent(T entity)
entity - The content entity being fetched.protected void onBeforeSetContent(BeforeSetContentEvent entity)
entity - The content eventprotected void onBeforeSetContent(T entity)
entity - The content entity being updated.protected void onAfterSetContent(AfterSetContentEvent event)
event - The content eventprotected void onAfterSetContent(T entity)
entity - The content entity being updated.protected void onBeforeUnsetContent(BeforeUnsetContentEvent event)
event - The content eventprotected void onBeforeUnsetContent(T entity)
entity - The content entity being removed.protected void onAfterUnsetContent(AfterUnsetContentEvent event)
event - The content eventprotected void onAfterUnsetContent(T entity)
entity - The content entity being removed.Copyright © 2020 Paul Warren. All rights reserved.