com.atlassian.confluence.pageobjects.component.attachment
Class AttachmentContainer
java.lang.Object
com.atlassian.confluence.pageobjects.component.ConfluenceAbstractPageComponent
com.atlassian.confluence.pageobjects.component.attachment.AbstractAttachmentContainer
com.atlassian.confluence.pageobjects.component.attachment.AttachmentContainer
- All Implemented Interfaces:
- PageComponent
public class AttachmentContainer
- extends AbstractAttachmentContainer
Container for a single attachment in the DOM generated by /pages/viewattachments.vm.
Currently the "container" is, as the attachment itself, a virtual construct. An attachment is the sum of all
attachment versions, and it is represented by one table row. Every single attachment version is also represented by a
sibling of the attachment row, see getVersionContainer(int)
.
- See Also:
com.atlassian.confluence.pages.actions.ViewPageAttachmentsAction}
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttachmentContainer
public AttachmentContainer(Attachment attachment)
getAttachmentRow
protected com.atlassian.pageobjects.elements.PageElement getAttachmentRow()
- Specified by:
getAttachmentRow
in class AbstractAttachmentContainer
getRemoveLink
protected com.atlassian.pageobjects.elements.PageElement getRemoveLink()
- Specified by:
getRemoveLink
in class AbstractAttachmentContainer
isVersionTogglePresent
public boolean isVersionTogglePresent()
toggleShowVersionSection
public void toggleShowVersionSection()
isVersionSectionPresent
public boolean isVersionSectionPresent()
isVersionSectionVisible
public boolean isVersionSectionVisible()
clickEdit
public EditAttachmentPage clickEdit()
getVersionContainer
public AttachmentVersionContainer getVersionContainer(int version)
getAttachment
public Attachment getAttachment()
Copyright © 2003-2014 Atlassian. All Rights Reserved.