|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.alfresco.webdrone.share.FactorySharePage
public final class FactorySharePage
Alfresco Share factory, creates the appropriate page object that corresponds to the browser view.
| Field Summary | |
|---|---|
static String |
DOCUMENTLIBRARY
|
| Method Summary | |
|---|---|
static CreateSitePage |
createSite(WebDrone drone)
Create site pop up page object. |
static UpdateFilePage |
getFileUpdate(WebDrone drone,
String version,
boolean editOffLine)
File upload page pop up object. |
static UploadFilePage |
getFileUpload(WebDrone drone)
File upload page pop up object. |
static NewFolderPage |
getNewFolderPage(WebDrone drone)
New folder page pop up object. |
static SharePage |
getPage(WebDrone drone)
Creates the appropriate page object based on the current page the WebDrone is on. |
static String |
getPageName(String url)
Extracts the String value from the last occurrence of slash in the url. |
static boolean |
isDocumentLibraryPage(String pageName)
Checks if pageName is document library. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String DOCUMENTLIBRARY
| Method Detail |
|---|
public static SharePage getPage(WebDrone drone)
WebDrone is on.
drone - WebDrone Alfresco unmanned web browser client
public static UploadFilePage getFileUpload(WebDrone drone)
drone - WebDrone browser client
public static UpdateFilePage getFileUpdate(WebDrone drone,
String version,
boolean editOffLine)
drone - WebDrone browser clientversion - the number of the original documenteditOffLine - mode status
UpdateFilePage page object responsepublic static CreateSitePage createSite(WebDrone drone)
drone - WebDrone
public static boolean isDocumentLibraryPage(String pageName)
pageName - current page name
public static final String getPageName(String url)
url - String url.
public static NewFolderPage getNewFolderPage(WebDrone drone)
drone - WebDrone browser client
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||