@Deprecated public class ContentActionEvent extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ContentActionEvent.Type
Deprecated.
|
Constructor and Description |
---|
ContentActionEvent(ContentActionEvent.Type eventType,
ContentReference contentReference,
ContentRelations contentRelations,
String version)
Deprecated.
|
ContentActionEvent(ContentActionEvent.Type eventType,
ContentReference contentReference,
ContentRelations contentRelations,
String version,
File temporaryContentDirectory,
File temporaryContentFile)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ContentReference |
getContentReference()
Deprecated.
Returns the content reference for this event which contains the content definition id and the content id itself.
|
ContentRelations |
getContentRelations()
Deprecated.
Returns the content relations object if one has been passed while invoking the content provider.
|
ContentActionEvent.Type |
getEventType()
Deprecated.
Returns the type of this content action event.
|
File |
getTemporaryContentDirectory()
Deprecated.
Returns a temporary content handling directory which is exclusively created to just handle this event.
|
File |
getTemporaryContentFile()
Deprecated.
Returns a temporary file with the content for this event which was exclusively created to handle the event.
|
String |
getVersion()
Deprecated.
Returns the version affected by this event, if any,
null otherwise. |
public ContentActionEvent(ContentActionEvent.Type eventType, ContentReference contentReference, ContentRelations contentRelations, String version, File temporaryContentDirectory, File temporaryContentFile)
public ContentActionEvent(ContentActionEvent.Type eventType, ContentReference contentReference, ContentRelations contentRelations, String version)
public ContentActionEvent.Type getEventType()
public ContentReference getContentReference()
public ContentRelations getContentRelations()
null
otherwisepublic String getVersion()
null
otherwise. The version field is typically filled in if a concrete version of the content is handled by
this event (e.g. deleting a specific version of a content).public File getTemporaryContentDirectory()
null
for the DELETE eventpublic File getTemporaryContentFile()
null
for the DELETE eventCopyright © 2010 - 2017 edorasware ag. All Rights Reserved.