Package org.intermine.api.query
Class PathQueryAPI
- java.lang.Object
-
- org.intermine.api.query.PathQueryAPI
-
public final class PathQueryAPI extends java.lang.Object
Provides methods to obtain PathQueryExecutors and WebResultsExecutors- Author:
- Matthew Wakeling
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BagManager
getBagManager()
Returns a BagManager.static BagQueryConfig
getBagQueryConfig()
Returns a BagQueryConfig configured in WEB-INF/bag-queries.xml.static java.util.Map<java.lang.String,java.util.List<FieldDescriptor>>
getClassKeys()
Returns classkeys configured in class_keys.properties.static ObjectStore
getObjectStore()
Returns the production ObjectStore configured in webapp.os.alias.static PathQueryExecutor
getPathQueryExecutor()
Returns a PathQueryExecutor, using properties.static Profile
getProfile()
Returns the superuser Profile.static ProfileManager
getProfileManager()
Returns the ProfileManager configured in webapp.userprofile.os.alias.static java.util.Properties
getProperties()
Returns the properties accessible for this system.static TemplateManager
getTemplateManager()
Returns the TemplateManager for access to global and user template queries.
-
-
-
Method Detail
-
getPathQueryExecutor
public static PathQueryExecutor getPathQueryExecutor()
Returns a PathQueryExecutor, using properties.- Returns:
- a PathQueryExecutor
-
getProperties
public static java.util.Properties getProperties()
Returns the properties accessible for this system.- Returns:
- a Properties object
-
getObjectStore
public static ObjectStore getObjectStore()
Returns the production ObjectStore configured in webapp.os.alias.- Returns:
- an ObjectStore
-
getClassKeys
public static java.util.Map<java.lang.String,java.util.List<FieldDescriptor>> getClassKeys()
Returns classkeys configured in class_keys.properties.- Returns:
- a Map
-
getBagQueryConfig
public static BagQueryConfig getBagQueryConfig()
Returns a BagQueryConfig configured in WEB-INF/bag-queries.xml.- Returns:
- a BagQueryConfig
-
getProfile
public static Profile getProfile()
Returns the superuser Profile.- Returns:
- a Profile
-
getProfileManager
public static ProfileManager getProfileManager()
Returns the ProfileManager configured in webapp.userprofile.os.alias.- Returns:
- a ProfileManager
-
getTemplateManager
public static TemplateManager getTemplateManager()
Returns the TemplateManager for access to global and user template queries.- Returns:
- a List
-
getBagManager
public static BagManager getBagManager()
Returns a BagManager.- Returns:
- a BagManager
-
-