com.atlassian.confluence.pageobjects.page.admin.templates
Class AbstractTemplatesPage<T extends AbstractEditTemplatePage,U extends AbstractTemplatesPage>

java.lang.Object
  extended by com.atlassian.confluence.pageobjects.page.ConfluenceAbstractPage
      extended by com.atlassian.confluence.pageobjects.page.content.AbstractViewPage
          extended by com.atlassian.confluence.pageobjects.page.admin.templates.AbstractTemplatesPage<T,U>
All Implemented Interfaces:
com.atlassian.pageobjects.Page
Direct Known Subclasses:
GlobalTemplatesPage, SpaceTemplatesPage

public abstract class AbstractTemplatesPage<T extends AbstractEditTemplatePage,U extends AbstractTemplatesPage>
extends AbstractViewPage


Field Summary
 
Fields inherited from class com.atlassian.confluence.pageobjects.page.content.AbstractViewPage
pageEntity
 
Fields inherited from class com.atlassian.confluence.pageobjects.page.ConfluenceAbstractPage
driver, jsQueryFactory, pageBinder, pageElementFinder, timeouts, waiter
 
Constructor Summary
protected AbstractTemplatesPage(java.lang.Class<T> classEditTemplate, java.lang.Class<U> classRevertTemplate)
           
protected AbstractTemplatesPage(java.lang.Class<T> classEditTemplate, java.lang.Class<U> classRevertTemplate, AbstractPageEntity pageEntity)
           
 
Method Summary
 T createTemplate()
           
 T editAddOnTemplate(java.lang.String moduleCompleteKey)
           
 java.util.Map<java.lang.String,PluginTemplateInfo<T,U>> getPluginTemplates()
          Returns a Map
protected  org.openqa.selenium.WebElement getPluginTemplatesTable()
           
 java.util.Map<java.lang.String,PluginTemplateInfo<T,U>> getSystemTemplates()
           
protected  java.util.Map<java.lang.String,PluginTemplateInfo<T,U>> getTableTemplates(com.atlassian.pageobjects.elements.PageElement templateTable)
           
 java.util.Map<java.lang.String,TemplateInfo<T>> getTemplates()
           
 
Methods inherited from class com.atlassian.confluence.pageobjects.page.ConfluenceAbstractPage
back, doWait, getAlert, getComponent, getHeader, getInlineDialog, getMainHeader, getMetadata, getMetadataLong, getPageHeadingColor, isDarkFeatureEnabled, isLoggedIn, openAddMenu, openBrowseMenu, openHelpMenu, openToolsMenu, openUserMenu, sendKeyboardShortcut, sendKeyboardShortcutAndWaitForCondition, setSetupComplete
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.pageobjects.Page
getUrl
 

Constructor Detail

AbstractTemplatesPage

protected AbstractTemplatesPage(java.lang.Class<T> classEditTemplate,
                                java.lang.Class<U> classRevertTemplate)

AbstractTemplatesPage

protected AbstractTemplatesPage(java.lang.Class<T> classEditTemplate,
                                java.lang.Class<U> classRevertTemplate,
                                AbstractPageEntity pageEntity)
Method Detail

createTemplate

public T createTemplate()

getTemplates

public java.util.Map<java.lang.String,TemplateInfo<T>> getTemplates()

getPluginTemplates

public java.util.Map<java.lang.String,PluginTemplateInfo<T,U>> getPluginTemplates()
Returns a Map


getSystemTemplates

public java.util.Map<java.lang.String,PluginTemplateInfo<T,U>> getSystemTemplates()

getTableTemplates

protected java.util.Map<java.lang.String,PluginTemplateInfo<T,U>> getTableTemplates(com.atlassian.pageobjects.elements.PageElement templateTable)

editAddOnTemplate

public T editAddOnTemplate(java.lang.String moduleCompleteKey)

getPluginTemplatesTable

protected org.openqa.selenium.WebElement getPluginTemplatesTable()


Copyright © 2003-2013 Atlassian. All Rights Reserved.