|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.confluence.it.content.ViewAttachmentsBean
public class ViewAttachmentsBean
Represents a View Attachments page for a Page or BlogPost.
Field Summary | |
---|---|
static java.lang.String |
VIEW_ATTACHMENTS_LINK_ID
|
Method Summary | |
---|---|
boolean |
canRemove(java.lang.String attachmentFilename)
Returns true if the 'Remove' link is present for the given attachment name. |
void |
downloadAll()
Clicks the 'Download All' link on the view attachments page. |
void |
edit(java.lang.String attachmentFilename)
Goes to the edit screen of the given attachment. |
int |
getNumberOfAttachments()
|
void |
remove(java.lang.String attachmentFilename)
Clicks the 'Remove' link on the view attachments page. |
static ViewAttachmentsBean |
viewAttachments(net.sourceforge.jwebunit.junit.WebTester tester)
Factory method to return a ViewAttachmentsBean from the current location of the web tester, by clicking on the 'Attachments' link on the page. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String VIEW_ATTACHMENTS_LINK_ID
Method Detail |
---|
public static ViewAttachmentsBean viewAttachments(net.sourceforge.jwebunit.junit.WebTester tester)
public int getNumberOfAttachments()
public void downloadAll()
public void edit(java.lang.String attachmentFilename)
attachmentFilename
- filename of the attachment to editpublic void remove(java.lang.String attachmentFilename)
attachmentFilename
- filename of the attachment to removepublic boolean canRemove(java.lang.String attachmentFilename)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |