|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.intermine.web.logic.pathqueryresult.PathQueryResultHelper
public final class PathQueryResultHelper
Helper for everything related to PathQueryResults
| Method Summary | |
|---|---|
static java.util.List<java.lang.String> |
getDefaultViewForClass(java.lang.String type,
Model model,
WebConfig webConfig,
java.lang.String prefix)
Return a list of string paths that are defined as WebConfig to be shown in results. |
static PathQuery |
getQueryWithDefaultView(java.lang.String type,
Model model,
WebConfig webConfig,
java.lang.String prefix)
|
static PathQuery |
makePathQueryForBag(InterMineBag imBag,
WebConfig webConfig,
Model model)
Create a PathQuery to get the contents of an InterMineBag |
static PathQuery |
makePathQueryForCollection(WebConfig webConfig,
ObjectStore os,
InterMineObject object,
java.lang.String referencedClassName,
java.lang.String field)
Create a PathQuery to get results for a collection of items from an InterMineObject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.util.List<java.lang.String> getDefaultViewForClass(java.lang.String type,
Model model,
WebConfig webConfig,
java.lang.String prefix)
type - the class name to create a view formodel - the modelwebConfig - we configurationprefix - a path to prefix the class
public static PathQuery getQueryWithDefaultView(java.lang.String type,
Model model,
WebConfig webConfig,
java.lang.String prefix)
public static PathQuery makePathQueryForBag(InterMineBag imBag,
WebConfig webConfig,
Model model)
imBag - the bagwebConfig - the WebConfigmodel - the Model
public static PathQuery makePathQueryForCollection(WebConfig webConfig,
ObjectStore os,
InterMineObject object,
java.lang.String referencedClassName,
java.lang.String field)
webConfig - the WebConfigos - the production ObjectStoreobject - the InterMineObjectreferencedClassName - the collection typefield - the name of the field for the collection in the InterMineObject
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||