public final class OleComponentUtils extends Object
Modifier and Type | Method and Description |
---|---|
static List<? extends org.kuali.rice.krad.uif.container.Group> |
filterCurrentPage(String currentPageId,
List<? extends org.kuali.rice.krad.uif.container.Group> srcitems)
Filters items for a view to remove non-current pages.
|
static List<? extends org.kuali.rice.krad.uif.component.Component> |
filterItems(List<? extends org.kuali.rice.krad.uif.component.Component> srcitems)
Filters items for a group that also implements OleComponentUtils.
|
static String |
formatAsCurrency(Number amount)
Convenience method for converting
Number to currency string
representation with minimal overhead. |
static Object |
getModel()
Gets the KRAD model for the active request.
|
public static Object getModel()
public static List<? extends org.kuali.rice.krad.uif.component.Component> filterItems(List<? extends org.kuali.rice.krad.uif.component.Component> srcitems)
public static List<? extends org.kuali.rice.krad.uif.container.Group> filterCurrentPage(String currentPageId, List<? extends org.kuali.rice.krad.uif.container.Group> srcitems)
public static String formatAsCurrency(Number amount)
Number
to currency string
representation with minimal overhead.
Intended for use in KRAD SpEL expressions, for example:
amount
- Currency amountCopyright © 2004–2014 The Kuali Foundation. All rights reserved.