public class ShareBrowseToSiteDashboardScenario extends ShareBrowseToUserDashboardScenario
Modifier and Type | Field and Description |
---|---|
static String |
EVENT_NAME_NAVIGATE_TO_SITE |
EVENT_NAME_NAVIGATE_TO_DASHBOARD
Constructor and Description |
---|
ShareBrowseToSiteDashboardScenario(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)
This instance first looks for the presence of the dashboard (step 2)
and contues from there, if possible.
|
void |
setEventNameNavigateToSite(String eventNameNavigateToSite)
Override the
default name for events
to navigate to a specific site |
setEventNameNavigateToDashboard
afterPropertiesSet, setBeanName, setScenarioName
public static final String EVENT_NAME_NAVIGATE_TO_SITE
public ShareBrowseToSiteDashboardScenario(ShareScenarioRegistry registry, double weight)
registry
- registry with which this instance will be registeredweight
- the weight relative to other scenarios registered in the registrypublic void setEventNameNavigateToSite(String eventNameNavigateToSite)
default
name for events
to navigate to a specific sitepublic List<org.alfresco.bm.event.Event> getNextEvents(org.alfresco.bm.event.Event event, ShareEventData eventData, ShareSoakData soakData, long nextEventTime)
getNextEvents
in interface ShareScenario
getNextEvents
in class ShareBrowseToUserDashboardScenario
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 © 2015. All rights reserved.