Class BeforeSetContentEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.content.commons.repository.StoreEvent
org.springframework.content.commons.store.events.StoreEvent
org.springframework.content.commons.store.events.BeforeSetContentEvent
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionBeforeSetContentEvent
(Object source, PropertyPath propertyPath, Store<Serializable> store, InputStream is) BeforeSetContentEvent
(Object source, PropertyPath propertyPath, Store<Serializable> store, org.springframework.core.io.Resource resource) BeforeSetContentEvent
(Object source, Store<Serializable> store, InputStream is) BeforeSetContentEvent
(Object source, Store<Serializable> store, org.springframework.core.io.Resource resource) -
Method Summary
Methods inherited from class org.springframework.content.commons.repository.StoreEvent
getPropertyPath, getStore
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
BeforeSetContentEvent
-
BeforeSetContentEvent
public BeforeSetContentEvent(Object source, Store<Serializable> store, org.springframework.core.io.Resource resource) -
BeforeSetContentEvent
public BeforeSetContentEvent(Object source, PropertyPath propertyPath, Store<Serializable> store, InputStream is) -
BeforeSetContentEvent
public BeforeSetContentEvent(Object source, PropertyPath propertyPath, Store<Serializable> store, org.springframework.core.io.Resource resource)
-
-
Method Details
-
getIs
Deprecated.Deprecated. Use getInputStream instead- Returns:
- the event's input stream
-
setInputStream
-