|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.itracker.services.util.Convert
public class Convert
| Constructor Summary | |
|---|---|
Convert()
|
|
| Method Summary | |
|---|---|
static List<NameValuePair> |
componentsToNameValuePairs(List<Component> components)
Converts an array of ComponentModels to NameValuePairs |
static List<NameValuePair> |
customFieldOptionsToNameValuePairs(List<CustomFieldValue> options)
Converts an array of CustomFieldValueModels to NameValuePairs |
static List<NameValuePair> |
customFieldOptionsToNameValuePairs(List<CustomFieldValue> options,
Locale locale)
Converts an array of CustomFieldValueModels to NameValuePairs |
static String[] |
stringToArray(String input)
|
static List<NameValuePair> |
usersToNameValuePairs(List<User> users)
Converts an array of UserModels to NameValuePairs |
static List<NameValuePair> |
versionsToNameValuePairs(List<Version> versions)
Converts an array of VersionModels to NameValuePairs |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Convert()
| Method Detail |
|---|
public static List<NameValuePair> customFieldOptionsToNameValuePairs(List<CustomFieldValue> options)
options - the array of CustomFieldValueModels to convert
public static List<NameValuePair> customFieldOptionsToNameValuePairs(List<CustomFieldValue> options,
Locale locale)
options - the array of CustomFieldValueModels to convert
public static List<NameValuePair> usersToNameValuePairs(List<User> users)
options - the array of UserModels to convert
public static List<NameValuePair> componentsToNameValuePairs(List<Component> components)
options - the array of ComponentModels to convert
public static List<NameValuePair> versionsToNameValuePairs(List<Version> versions)
options - the array of VersionModels to convert
public static String[] stringToArray(String input)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||