public class Utils extends Object
Modifier and Type | Method and Description |
---|---|
protected static String |
expandPrefixedValue(String value,
Context ctx) |
protected static LocatorIF |
getLocator(Relation relation,
Entity entity,
Field field,
String[] tuple,
Context ctx) |
static RelationMapping |
getRelationMapping(javax.servlet.jsp.PageContext ctxt)
INTERNAL: Helper method for maintaining a relation mapping
instance throughout a page context.
|
protected static TopicIF |
getTopic(String id,
Context ctx) |
protected static String |
getValue(Relation relation,
Entity entity,
Field field,
String[] tuple,
Context ctx) |
protected static boolean |
isValueEmpty(String value) |
static Map<DataSourceIF,Collection<Relation>> |
verifyRelationsForMapping(RelationMapping rmapping)
INTERNAL: Returns a map where the keys are data sources and each
entry is a collection of their individual relations.
|
public static RelationMapping getRelationMapping(javax.servlet.jsp.PageContext ctxt)
public static Map<DataSourceIF,Collection<Relation>> verifyRelationsForMapping(RelationMapping rmapping)
protected static String getValue(Relation relation, Entity entity, Field field, String[] tuple, Context ctx)
protected static boolean isValueEmpty(String value)
protected static LocatorIF getLocator(Relation relation, Entity entity, Field field, String[] tuple, Context ctx)