public abstract class CDMTriggerBase extends Trigger
onDownload(OnDownloadInput, String, String)
.Constructor and Description |
---|
CDMTriggerBase() |
Modifier and Type | Method and Description |
---|---|
void |
onDownload(OnDownloadInput ctx)
This method is called upon a file has been requested for download.
|
protected abstract void |
onDownload(OnDownloadInput ctx,
java.lang.String mainObjectId,
java.lang.String versionObjectId) |
afterDownload, afterUpload, getContext, onUpload, onValidateUpload
public final void onDownload(OnDownloadInput ctx) throws TriggerAbort
Trigger
onDownload
in class Trigger
ctx
- The context
which provides the
trigger with information around the file being checked out and
provides additional functionality to perform certain actions on
the client.TriggerAbort
- If the trigger wants to abort the download, it
should throw an TriggerAbort
exception.onDownload(OnDownloadInput, String, String)
protected abstract void onDownload(OnDownloadInput ctx, java.lang.String mainObjectId, java.lang.String versionObjectId) throws TriggerAbort
TriggerAbort
Copyright ? Technia AB. All Rights Reserved.