Class ResourceLocationQuery

java.lang.Object
org.ametys.cms.search.query.AndQuery
org.ametys.cms.search.query.ResourceLocationQuery
All Implemented Interfaces:
Query

public class ResourceLocationQuery extends AndQuery
Represents a Query testing the resource location.
  • Constructor Details

    • ResourceLocationQuery

      public ResourceLocationQuery(String rootId)
      Build a resource location query finding resources in a specific root.
      Parameters:
      rootId - The root id.
    • ResourceLocationQuery

      public ResourceLocationQuery(String rootId, String path)
      Build a resource location query testing the resource under a folder in a specific root.
      Parameters:
      rootId - The root id.
      path - The folder path.