Class PathQueryAPI


  • public final class PathQueryAPI
    extends java.lang.Object
    Provides methods to obtain PathQueryExecutors and WebResultsExecutors
    Author:
    Matthew Wakeling
    • 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