|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.kew.util.Utilities
public final class Utilities
Various static utility methods.
| Nested Class Summary | |
|---|---|
static class |
Utilities.PrioritySorter
Consider moving out of this class if this bugs |
static class |
Utilities.RouteLogActionRequestSorter
Consider moving out of this class if this bugs |
| Method Summary | ||
|---|---|---|
static boolean |
checkDateRanges(String fromDate,
String toDate)
|
|
static
|
getKeyValueCollectionAsLookupTable(List<T> collection)
Helper method that takes a List of KeyValue and presents it as a Map containing
KeyValue values |
|
static
|
getKeyValueCollectionAsMap(List<T> collection)
Helper method that takes a List of KeyValue and presents it as a Map |
|
static String |
parseGroupName(String namespaceAndNameCombo)
|
|
static String |
parseGroupNamespaceCode(String namespaceAndNameCombo)
|
|
static String |
substituteConfigParameters(String string)
Performs variable substitution on the specified string, replacing variables specified like ${name} with the value of the corresponding config parameter obtained from the current context Config object |
|
static String |
substituteConfigParameters(String applicationId,
String string)
Performs variable substitution on the specified string, replacing variables specified like ${name} with the value of the corresponding config parameter obtained from the current context Config object. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static String substituteConfigParameters(String applicationId,
String string)
applicationId - the application id to use for qualifying the parameterstring - the string on which to perform variable substitution
public static String substituteConfigParameters(String string)
string - the string on which to perform variable substitution
public static String parseGroupNamespaceCode(String namespaceAndNameCombo)
public static String parseGroupName(String namespaceAndNameCombo)
public static boolean checkDateRanges(String fromDate,
String toDate)
public static <T extends KeyValue> Map<String,String> getKeyValueCollectionAsMap(List<T> collection)
KeyValue and presents it as a Map
collection - collection of KeyValue
public static <T extends KeyValue> Map<String,T> getKeyValueCollectionAsLookupTable(List<T> collection)
KeyValue and presents it as a Map containing
KeyValue values
T - the key typecollection - collection of KeyValue
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||