public class ShareBrowseToUserDashboardScenario extends AbstractShareScenario
| Modifier and Type | Field and Description |
|---|---|
static String |
EVENT_NAME_NAVIGATE_TO_DASHBOARD |
| Constructor and Description |
|---|
ShareBrowseToUserDashboardScenario(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)
If the browser is not on the user dashboard then an event is fired to navigate to
the user dashboard.
|
void |
setEventNameNavigateToDashboard(String eventNameNavigateToDashboard)
Override the
default name for events
to navigate to the user dashboard |
afterPropertiesSet, setBeanName, setScenarioNamepublic static final String EVENT_NAME_NAVIGATE_TO_DASHBOARD
public ShareBrowseToUserDashboardScenario(ShareScenarioRegistry registry, double weight)
registry - registry with which this instance will be registeredweight - the weight relative to other scenarios registered in the registrypublic void setEventNameNavigateToDashboard(String eventNameNavigateToDashboard)
default name for events
to navigate to the user dashboardpublic List<org.alfresco.bm.event.Event> getNextEvents(org.alfresco.bm.event.Event event, ShareEventData eventData, ShareSoakData soakData, long nextEventTime)
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)Copyright © 2016. All rights reserved.