public class IssueNavigatorNavigationImpl extends Object implements IssueNavigatorNavigation
IssueNavigatorNavigation.BulkChangeOption, IssueNavigatorNavigation.NavigatorEditMode, IssueNavigatorNavigation.NavigatorMode
Constructor and Description |
---|
IssueNavigatorNavigationImpl(net.sourceforge.jwebunit.WebTester tester,
JIRAEnvironmentData environmentData)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addColumnToIssueNavigator(String[] fieldNames)
Deprecated.
Adds the extra columns to the Issue Navigator
|
BulkChangeWizard |
bulkChange(IssueNavigatorNavigation.BulkChangeOption bulkChangeOption)
Deprecated.
Initiate the bulk change wizard on the current search results.
|
void |
bulkEditAllIssues()
Deprecated.
|
void |
clickEditModeFlipLink()
Deprecated.
Clicks the link that flips between simple and advanced navigator edit modes.
|
void |
configureColumns()
Deprecated.
|
void |
createFilter(String jql)
Deprecated.
|
long |
createNewAndSaveAsFilter(SharedEntityInfo info,
NavigatorSearch search)
Deprecated.
Create and save the passed search.
|
void |
createSearch(NavigatorSearch search)
Deprecated.
does nothing.
|
IssueNavigatorNavigation |
createSearch(String jqlQuery)
Deprecated.
Switches the navigator into Advanced mode, and then executes the specified JQL query.
|
void |
deleteFilter(long id)
Deprecated.
Delete the listed filter.
|
void |
displayAllIssues()
Deprecated.
works the same as
gotoNavigator() . |
void |
displayFullContentAllIssues()
Deprecated.
|
void |
displayPrintableAllIssues()
Deprecated.
|
void |
displayRssAllComments()
Deprecated.
|
void |
displayRssAllIssues()
Deprecated.
|
void |
displayXmlAllIssues()
Deprecated.
|
void |
editFilter(long id)
Deprecated.
|
void |
expandAllNavigatorSections()
Deprecated.
Expand all of the navigator sections.
|
void |
expandNavigatorSection(String sectionId)
Deprecated.
Expand the passed navigator section.
|
IssueNavigatorNavigation.NavigatorEditMode |
getCurrentEditMode()
Deprecated.
Returns the edit mode that issue navigator is in.
|
IssueNavigatorNavigation.NavigatorMode |
getCurrentMode()
Deprecated.
Returns the mode that issue navigator is currently in.
|
void |
goToConfigureColumns()
Deprecated.
Go to the configure columns screen.
|
void |
gotoEditMode(IssueNavigatorNavigation.NavigatorEditMode editMode)
Deprecated.
works the same as
gotoNavigator() . |
IssueNavigatorNavigation.NavigatorMode |
gotoEditOrNewMode(IssueNavigatorNavigation.NavigatorEditMode mode)
Deprecated.
Switch to the passed edit mode in navigator.
|
void |
gotoNavigator()
Deprecated.
Goes to the navigation section, or, if already in the section, does nothing.
|
void |
gotoNewMode(IssueNavigatorNavigation.NavigatorEditMode navigatorEditMode)
Deprecated.
works the same as
gotoNavigator() . |
void |
gotoViewMode()
Deprecated.
works the same as
gotoNavigator() |
void |
loadFilter(long id)
Deprecated.
Loads a filter in the issue navigator in summary mode.
|
void |
loadFilterAndAssert(long id)
Deprecated.
Loads a filter in the issue navigator in edit mode.
|
void |
modifySearch(NavigatorSearch search)
Deprecated.
does nothing.
|
void |
restoreColumnDefaults()
Deprecated.
Restore the default columns in the Issue Navigator.
|
IssueSearchPage |
runPrintableSearch(String jqlQuery)
Deprecated.
|
void |
runSearch()
Deprecated.
Run the current search.
|
IssueSearchPage |
runSearch(String jqlQuery)
Deprecated.
|
List<String> |
runSimpleSearch(String jqlQuery)
Deprecated.
Safely run a search, ignoring errors and returning only the matching issue keys
in the order that they were returned.
|
void |
runXmlSearch(String jqlQuery,
String... fields)
Deprecated.
|
long |
saveCurrentAsNewFilter(SharedEntityInfo info)
Deprecated.
Save the current search and new filter.
|
long |
saveCurrentAsNewFilter(String name,
String description,
boolean favourite,
Set<? extends TestSharingPermission> permissions)
Deprecated.
Save current search as new filter.
|
long |
saveCurrentFilter()
Deprecated.
Save the current filter.
|
void |
sortIssues(String field,
String direction)
Deprecated.
Sort the Issues in the navigator
|
@Inject public IssueNavigatorNavigationImpl(net.sourceforge.jwebunit.WebTester tester, JIRAEnvironmentData environmentData)
public void configureColumns()
configureColumns
in interface IssueNavigatorNavigation
public IssueNavigatorNavigation.NavigatorMode getCurrentMode()
IssueNavigatorNavigation
getCurrentMode
in interface IssueNavigatorNavigation
public IssueNavigatorNavigation.NavigatorEditMode getCurrentEditMode()
IssueNavigatorNavigation
getCurrentEditMode
in interface IssueNavigatorNavigation
public void gotoNavigator()
gotoNavigator
in interface IssueNavigatorNavigation
public void displayAllIssues()
gotoNavigator()
.displayAllIssues
in interface IssueNavigatorNavigation
public void displayFullContentAllIssues()
displayFullContentAllIssues
in interface IssueNavigatorNavigation
public void displayRssAllIssues()
displayRssAllIssues
in interface IssueNavigatorNavigation
public void displayRssAllComments()
displayRssAllComments
in interface IssueNavigatorNavigation
public void displayXmlAllIssues()
displayXmlAllIssues
in interface IssueNavigatorNavigation
public void bulkEditAllIssues()
bulkEditAllIssues
in interface IssueNavigatorNavigation
public void displayPrintableAllIssues()
displayPrintableAllIssues
in interface IssueNavigatorNavigation
public void sortIssues(String field, String direction)
IssueNavigatorNavigation
sortIssues
in interface IssueNavigatorNavigation
field
- The name of the field that should be used to sort the issues.direction
- a String representing the sorting direction. The allowed values are "ASC" or "DESC".public void addColumnToIssueNavigator(String[] fieldNames)
IssueNavigatorNavigation
addColumnToIssueNavigator
in interface IssueNavigatorNavigation
fieldNames
- The name of the field to be added as columns to the issue navigator.public void restoreColumnDefaults()
IssueNavigatorNavigation
restoreColumnDefaults
in interface IssueNavigatorNavigation
public void runSearch()
IssueNavigatorNavigation
runSearch
in interface IssueNavigatorNavigation
public void expandAllNavigatorSections()
IssueNavigatorNavigation
expandAllNavigatorSections
in interface IssueNavigatorNavigation
public void expandNavigatorSection(String sectionId)
IssueNavigatorNavigation
expandNavigatorSection
in interface IssueNavigatorNavigation
sectionId
- the section to expand.public BulkChangeWizard bulkChange(IssueNavigatorNavigation.BulkChangeOption bulkChangeOption)
IssueNavigatorNavigation
bulkChange
in interface IssueNavigatorNavigation
bulkChangeOption
- whether to bulk change all results or just the current page.public void loadFilter(long id)
IssueNavigatorNavigation
loadFilter
in interface IssueNavigatorNavigation
id
- The id of the filter to load.public void loadFilterAndAssert(long id)
IssueNavigatorNavigation
loadFilterAndAssert
in interface IssueNavigatorNavigation
id
- the id of the filter to load.public void gotoEditMode(IssueNavigatorNavigation.NavigatorEditMode editMode)
gotoNavigator()
.IssueNavigatorNavigation
gotoEditMode
in interface IssueNavigatorNavigation
editMode
- the mode to load the navigator into. Null indicates that we should goto the current mode.public void editFilter(long id)
editFilter
in interface IssueNavigatorNavigation
public void createFilter(String jql)
createFilter
in interface IssueNavigatorNavigation
public void clickEditModeFlipLink()
IssueNavigatorNavigation
clickEditModeFlipLink
in interface IssueNavigatorNavigation
public void gotoViewMode()
gotoNavigator()
IssueNavigatorNavigation
gotoViewMode
in interface IssueNavigatorNavigation
public IssueSearchPage runSearch(String jqlQuery)
runSearch
in interface IssueNavigatorNavigation
public List<String> runSimpleSearch(String jqlQuery)
IssueNavigatorNavigation
runSimpleSearch
in interface IssueNavigatorNavigation
jqlQuery
- the JQL query to runnull
)public IssueSearchPage runPrintableSearch(String jqlQuery)
runPrintableSearch
in interface IssueNavigatorNavigation
public void runXmlSearch(String jqlQuery, String... fields)
runXmlSearch
in interface IssueNavigatorNavigation
public IssueNavigatorNavigation createSearch(String jqlQuery)
IssueNavigatorNavigation
createSearch
in interface IssueNavigatorNavigation
jqlQuery
- the query to be executedpublic void createSearch(NavigatorSearch search)
IssueNavigatorNavigation
createSearch
in interface IssueNavigatorNavigation
search
- the search to create.public void modifySearch(NavigatorSearch search)
IssueNavigatorNavigation
modifySearch
in interface IssueNavigatorNavigation
search
- make the current search look like this.public long createNewAndSaveAsFilter(SharedEntityInfo info, NavigatorSearch search)
IssueNavigatorNavigation
createNewAndSaveAsFilter
in interface IssueNavigatorNavigation
info
- the details of the search to create and save.search
- the search to create and save.public long saveCurrentAsNewFilter(SharedEntityInfo info)
IssueNavigatorNavigation
saveCurrentAsNewFilter
in interface IssueNavigatorNavigation
info
- information used to save the search.public long saveCurrentAsNewFilter(String name, String description, boolean favourite, Set<? extends TestSharingPermission> permissions)
IssueNavigatorNavigation
saveCurrentAsNewFilter
in interface IssueNavigatorNavigation
name
- name of the search.description
- of the search.favourite
- should the search going to be saved as a favourite?permissions
- the share permissions to associate with the current search.public long saveCurrentFilter()
IssueNavigatorNavigation
saveCurrentFilter
in interface IssueNavigatorNavigation
public void deleteFilter(long id)
IssueNavigatorNavigation
deleteFilter
in interface IssueNavigatorNavigation
id
- the id of the filter to delete.public void gotoNewMode(IssueNavigatorNavigation.NavigatorEditMode navigatorEditMode)
gotoNavigator()
.IssueNavigatorNavigation
gotoNewMode
in interface IssueNavigatorNavigation
navigatorEditMode
- the editing mode to go into; may be null to use current.public IssueNavigatorNavigation.NavigatorMode gotoEditOrNewMode(IssueNavigatorNavigation.NavigatorEditMode mode)
IssueNavigatorNavigation
IssueNavigatorNavigation.NavigatorMode.EDIT
. If there is not current search it will move into IssueNavigatorNavigation.NavigatorMode.NEW
.gotoEditOrNewMode
in interface IssueNavigatorNavigation
mode
- the edit mode to switch into.public void goToConfigureColumns()
IssueNavigatorNavigation
goToConfigureColumns
in interface IssueNavigatorNavigation
Copyright © 2002-2019 Atlassian. All Rights Reserved.