public class ShareRepoBrowserScenario extends AbstractShareScenario
RepositoryPage: Treated as DocumentLibraryPage| Modifier and Type | Field and Description |
|---|---|
static String |
EVENT_NAME_NAVIGATE_TO_REPO |
| Constructor and Description |
|---|
ShareRepoBrowserScenario(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
RepositoryPage the link is clicked. |
void |
setEventNameNavigateToRepo(String eventNameNavigateToRepo)
Override the
default name for events
to navigate to the Repository screen. |
afterPropertiesSet, setBeanName, setScenarioNamepublic static final String EVENT_NAME_NAVIGATE_TO_REPO
public ShareRepoBrowserScenario(ShareScenarioRegistry registry, double weight)
registry - registry with which this instance will be registeredweight - the weight relative to other scenarios registered in the registryuserDataService - service giving access to random usernamespublic void setEventNameNavigateToRepo(String eventNameNavigateToRepo)
default name for events
to navigate to the Repository screen.public List<org.alfresco.bm.event.Event> getNextEvents(org.alfresco.bm.event.Event event, ShareEventData eventData, ShareSoakData soakData, long nextEventTime)
RepositoryPage the link is clicked.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.