public class SharePageDocLibScenario extends AbstractShareScenario
Modifier and Type | Field and Description |
---|---|
static String |
EVENT_NAME_DOCLIB_PAGE |
Constructor and Description |
---|
SharePageDocLibScenario(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 |
setEventNameDocLibPage(String eventNameDocLibPage)
Override the
default name for events
to page forward or backwards |
afterPropertiesSet, setBeanName, setScenarioName
public static final String EVENT_NAME_DOCLIB_PAGE
public SharePageDocLibScenario(ShareScenarioRegistry registry, double weight)
registry
- registry with which this instance will be registeredweight
- the weight relative to other scenarios registered in the registrypublic void setEventNameDocLibPage(String eventNameDocLibPage)
default
name for events
to page forward or backwardspublic List<org.alfresco.bm.event.Event> getNextEvents(org.alfresco.bm.event.Event event, ShareEventData eventData, ShareSoakData soakData, long nextEventTime)
ShareScenario
event
- 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 comments
Copyright © 2015. All rights reserved.