public class ShareDownloadFileScenario extends AbstractShareScenario
DocumentDetailsPage: DocumentDetailsPage: | Modifier and Type | Field and Description |
|---|---|
static String |
EVENT_NAME_DOWNLOAD_FILE |
| Constructor and Description |
|---|
ShareDownloadFileScenario(ShareScenarioRegistry registry,
double weight) |
| Modifier and Type | Method and Description |
|---|---|
List<org.alfresco.bm.event.Event> |
getNextEvents(org.alfresco.bm.event.Event event,
ShareEventData eventData,
ShareSoakData soakData,
long nextEventTime)
Construct a list of events to follow according to the scenario implementation.
|
void |
setEventNameDownloadFile(String eventNameDownloadFile)
Override the
default event name to download the file |
afterPropertiesSet, setBeanName, setScenarioNamepublic static final String EVENT_NAME_DOWNLOAD_FILE
public ShareDownloadFileScenario(ShareScenarioRegistry registry, double weight)
registry - registry with which this instance will be registeredweight - the weight relative to other scenarios registered in the registrypublic void setEventNameDownloadFile(String eventNameDownloadFile)
default event name to download the filepublic List<org.alfresco.bm.event.Event> getNextEvents(org.alfresco.bm.event.Event event, ShareEventData eventData, ShareSoakData soakData, long nextEventTime)
ShareScenarioevent - the event that triggered this choiceeventData - Share-specific data associated with the eventsoakData - Session-specific data for the eventnextEventTime - the suggested next event time (for guidance)see class commentsCopyright © 2016. All rights reserved.