com.atlassian.confluence.pageobjects.component.content
Class AttachmentsRow

java.lang.Object
  extended by com.atlassian.confluence.pageobjects.component.ConfluenceAbstractPageComponent
      extended by com.atlassian.confluence.pageobjects.component.content.AttachmentsRow
All Implemented Interfaces:
PageComponent

Deprecated. since 4.3, use AttachmentContainer instead

public class AttachmentsRow
extends ConfluenceAbstractPageComponent

Represent a single row in an attachments table.

Since:
4.1

Field Summary
 
Fields inherited from class com.atlassian.confluence.pageobjects.component.ConfluenceAbstractPageComponent
driver, pageBinder, pageElementFinder, waiter
 
Constructor Summary
AttachmentsRow(org.openqa.selenium.By tableLocator, Attachment attachment)
          Deprecated. Creates a reference to the corresponding row for the latest version of the provided attachment.
AttachmentsRow(org.openqa.selenium.By tableLocator, Attachment attachment, int version)
          Deprecated. Creates a reference to the corresponding row for the specified version of the provided attachment.
 
Method Summary
 EditAttachmentPage clickEdit()
          Deprecated.  
 org.openqa.selenium.Alert clickRemove()
          Deprecated.  
 String getFileName()
          Deprecated.  
 org.openqa.selenium.WebElement getTable()
          Deprecated.  
 boolean isPresent()
          Deprecated.  
 boolean isVersionTogglePresent()
          Deprecated.  
 boolean isVisible()
          Deprecated.  
 void toggleShowVersion()
          Deprecated.  
 
Methods inherited from class com.atlassian.confluence.pageobjects.component.ConfluenceAbstractPageComponent
getComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttachmentsRow

public AttachmentsRow(org.openqa.selenium.By tableLocator,
                      Attachment attachment)
Deprecated. 
Creates a reference to the corresponding row for the latest version of the provided attachment.

Parameters:
tableLocator - - a locator for the instance of the attachment table in use
attachment - - the attachment to reference

AttachmentsRow

public AttachmentsRow(org.openqa.selenium.By tableLocator,
                      Attachment attachment,
                      int version)
Deprecated. 
Creates a reference to the corresponding row for the specified version of the provided attachment.

Parameters:
tableLocator - - a locator for the instance of the attachment table in use
attachment - - the attachment
version - - the version number of the attachment, if 0, the latest version is provided
Method Detail

isPresent

public boolean isPresent()
Deprecated. 

isVisible

public boolean isVisible()
Deprecated. 

isVersionTogglePresent

public boolean isVersionTogglePresent()
Deprecated. 

toggleShowVersion

public void toggleShowVersion()
Deprecated. 

clickRemove

public org.openqa.selenium.Alert clickRemove()
Deprecated. 

clickEdit

public EditAttachmentPage clickEdit()
Deprecated. 

getTable

public org.openqa.selenium.WebElement getTable()
Deprecated. 

getFileName

public String getFileName()
Deprecated. 


Copyright © 2003-2013 Atlassian. All Rights Reserved.