@PublicApi public class ServiceUtils extends Object
Modifier and Type | Method and Description |
---|---|
static org.ofbiz.core.entity.GenericValue |
findIssueInString(String searchString)
Deprecated.
use
findIssueObjectInString(String) instead |
static Issue |
findIssueObjectInString(String searchString)
Loops through the string and returns the issue that is found within, or null if there is no issue matching.
|
static Iterable<Issue> |
findIssueObjectsInString(String searchString) |
static org.ofbiz.core.entity.GenericValue[] |
findIssuesInString(String searchString)
Deprecated.
use
findIssueObjectsInString(String) instead |
static org.ofbiz.core.entity.GenericValue |
getIssue(String key)
Deprecated.
use
IssueManager.getIssueObject(String) instead |
static Issue |
getIssueObject(String key)
Deprecated.
Use
IssueManager.getIssueObject(String) instead. Since v6.1. |
static Map<String,String> |
getParameterMap(String parameterString)
This method creates a map of parameters from a string.
|
static String |
toParameterString(Map<String,String> params) |
@Nullable @Deprecated public static org.ofbiz.core.entity.GenericValue getIssue(String key)
IssueManager.getIssueObject(String)
instead@Nullable @Deprecated public static Issue getIssueObject(String key)
IssueManager.getIssueObject(String)
instead. Since v6.1.@Deprecated @Nullable public static org.ofbiz.core.entity.GenericValue findIssueInString(String searchString)
findIssueObjectInString(String)
insteadIt finds any string matching XXX-### and then looks it up to see if it is a valid issue. It will return the first valid issue that exists.
searchString
- the string to search through for issues@Nullable public static Issue findIssueObjectInString(String searchString)
It finds any string matching XXX-### and then looks it up to see if it is a valid issue. It will return the first valid issue that exists.
searchString
- the string to search through for issues@Deprecated public static org.ofbiz.core.entity.GenericValue[] findIssuesInString(String searchString)
findIssueObjectsInString(String)
insteadpublic static Iterable<Issue> findIssueObjectsInString(String searchString)
public static Map<String,String> getParameterMap(String parameterString)
The format of the string is key=value, key=value, key=value.
At the moment this is really only used for Handler parameters, but that whole area needs to be rewritten for JIRA 2.0.
Copyright © 2002-2019 Atlassian. All Rights Reserved.