|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.alfresco.webdrone.share.site.document.FileDirectoryInfo
public class FileDirectoryInfo
Entity that models the list of file or directories as it appears on the
DocumentLibraryPage. The list models the HTML element representing
the file or directory.
| Constructor Summary | |
|---|---|
FileDirectoryInfo(HtmlElement element)
|
|
| Method Summary | |
|---|---|
DocumentLibraryPage |
addTag(WebDrone drone,
String contentName,
String tagName)
Adds the specified Tag to the file or directory. |
protected boolean |
canResume(String element)
Waits for expected element to be displayed and available for action before drone resumes operations on the page. |
protected boolean |
canResume(String elementCss,
long waitTime)
Waits for expected element to be displayed and available for action before drone resumes operations on the page. |
void |
clickOnTitle()
Click on title. |
List<org.openqa.selenium.WebElement> |
getContentActions(WebDrone drone)
Selects the 'Actions' menu link on the select data row on DocumentLibrary Page. |
String |
getContentEditInfo()
Gets the Create / Edit Information of the file or directory, if none then empty string is returned. |
String |
getContentNodeRef()
Get NodeRef for the content on the selected data row on DocumentLibrary Page. |
List<String> |
getContentTags()
Gets the Tag Information of the file or directory, if none then 'No Tags' string is returned. |
String |
getDescription()
Gets the description of the file or directory, if none then empty string is returned. |
HtmlElement |
getElement()
|
String |
getLikeCount()
Gets the like count for the selected data row on DocumentLibrary Page |
String |
getName()
Gets the name of the file or directory, if none then empty string is returned. |
Boolean |
hasTags(WebDrone drone)
Check if tags are attached to the selected content. |
Boolean |
isFavourite()
Checks if the Favourite option is selected on the selected data row on DocumentLibrary Page |
boolean |
isLiked()
Checks if the Like option is selected on the selected data row on DocumentLibrary Page |
boolean |
isTypeFolder()
Checks if the FileDirectory is of a folder type. |
org.openqa.selenium.WebElement |
selectContentActions(WebDrone drone)
Selects the 'Actions' menu link on the select data row on DocumentLibrary Page. |
boolean |
selectDelete(WebDrone drone)
Select the delete button on the item. |
EditDocumentPropertiesPopup |
selectEditProperties(WebDrone drone)
Selects the edit properties link on the select data row on DocumentLibrary Page. |
DocumentLibraryPage |
selectFavourite(WebDrone drone)
Selects or deselects the favourite option on the select data row on DocumentLibrary Page |
DocumentLibraryPage |
selectLike(WebDrone drone)
Selects or deselects the Like option on the select data row on DocumentLibrary Page |
DocumentDetailsPage |
selectThumbnail(WebDrone drone)
Selects the thumbnail link on the select data row on DocumentLibrary Page. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FileDirectoryInfo(HtmlElement element)
| Method Detail |
|---|
public String getName()
public void clickOnTitle()
public boolean isTypeFolder()
public String getDescription()
public String getContentEditInfo()
public List<String> getContentTags()
public boolean selectDelete(WebDrone drone)
{@link - WebDrone} WebDrone
public EditDocumentPropertiesPopup selectEditProperties(WebDrone drone)
drone - WebDrone
EditDocumentPropertiesPopup responsepublic org.openqa.selenium.WebElement selectContentActions(WebDrone drone)
drone - WebDrone
WebElement WebElement that allows access to Actions menu for the selected Contentpublic List<org.openqa.selenium.WebElement> getContentActions(WebDrone drone)
drone - WebDrone
WebElement available for the selected Contentpublic DocumentDetailsPage selectThumbnail(WebDrone drone)
drone - WebDrone
DocumentDetailsPage responsepublic DocumentLibraryPage selectFavourite(WebDrone drone)
drone - WebDrone
DocumentLibraryPage responsepublic DocumentLibraryPage selectLike(WebDrone drone)
drone - WebDrone
DocumentLibraryPage responsepublic boolean isLiked()
public Boolean isFavourite()
public String getLikeCount()
public Boolean hasTags(WebDrone drone)
protected boolean canResume(String element)
element - String unique css identifier for an element
protected boolean canResume(String elementCss,
long waitTime)
elementCss - String css identifier for the elementwaitTime - timer in milliseconds
public DocumentLibraryPage addTag(WebDrone drone,
String contentName,
String tagName)
Webdrone - dronecontentName - String name of the content to which the Tag is to be addedtagName - String tag to be added
DocumentLibraryPage Instance of DocumentLibraryPage page objectpublic String getContentNodeRef()
public String toString()
toString in class Objectpublic HtmlElement getElement()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||