Class IncludesUtil


  • public class IncludesUtil
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      IncludesUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.List<java.lang.String> computeIncludesParamValues​(java.lang.String baseResourceType, java.util.Set<java.lang.String> resourceTypesToInclude, SearchHelper searchHelper)
      Computes the list of supported include parameter values that target resource types from the passed set of resourceTypesToInclude.
      (package private) static java.util.Map<ResourceType,​java.util.List<java.lang.String>> getSearchCodesByType​(java.lang.String compartmentMemberType, SearchHelper searchHelper)  
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IncludesUtil

        public IncludesUtil()
    • Method Detail

      • computeIncludesParamValues

        public static java.util.List<java.lang.String> computeIncludesParamValues​(java.lang.String baseResourceType,
                                                                                  java.util.Set<java.lang.String> resourceTypesToInclude,
                                                                                  SearchHelper searchHelper)
                                                                           throws java.lang.Exception
        Computes the list of supported include parameter values that target resource types from the passed set of resourceTypesToInclude.
        Parameters:
        baseResourceType -
        resourceTypesToInclude -
        searchHelper -
        Returns:
        The list of values to use for the _include search parameter.
        Throws:
        java.lang.Exception
      • getSearchCodesByType

        static java.util.Map<ResourceType,​java.util.List<java.lang.String>> getSearchCodesByType​(java.lang.String compartmentMemberType,
                                                                                                       SearchHelper searchHelper)
                                                                                                throws java.lang.Exception
        Parameters:
        compartmentMemberType -
        searchHelper -
        Returns:
        a map from resource target type to the list of reference search parameter codes that can target that type
        Throws:
        java.lang.Exception