public class SearchRequestViewUtils extends Object
Constructor and Description |
---|
SearchRequestViewUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
getFilename(SearchRequest searchRequest,
String jiraTitle,
Date date)
Gives name of the attachment for some of the export types in two possible formats:
-
|
static String |
getGeneratedInfo(ApplicationUser user) |
static <V extends IssueView> |
getIssueView(Class<V> issueViewClass) |
static String |
getLink(SearchRequest searchRequest,
String baseUrl,
ApplicationUser user) |
static javax.servlet.http.HttpServletRequest |
getMockRequest(String baseUrl) |
static <V extends SearchRequestView> |
getSearchRequestView(Class<V> searchRequestViewClass) |
static String |
getTitle(SearchRequest searchRequest,
String jiraTitle) |
public static String getLink(SearchRequest searchRequest, String baseUrl, ApplicationUser user)
public static <V extends SearchRequestView> V getSearchRequestView(Class<V> searchRequestViewClass)
public static String getTitle(SearchRequest searchRequest, String jiraTitle)
public static String getFilename(SearchRequest searchRequest, String jiraTitle, Date date)
[jira-title] [date]if search request is unnamed -
[request-name] ([jira-title]) [date]if search request has name Name of request is the name of filter used. If filter is not used, request is unnamed [jira-title] -- value of jiraTitle parameter [date] -- given date in ISO format and current user's timezone
searchRequest
- serach request descriptorjiraTitle
- value of jira.title system propertydate
- current datepublic static String getGeneratedInfo(ApplicationUser user)
public static javax.servlet.http.HttpServletRequest getMockRequest(String baseUrl)
Copyright © 2002-2024 Atlassian. All Rights Reserved.