Class ChildOptionsPolicy


  • public class ChildOptionsPolicy
    extends java.lang.Object
    Adjust graph traversal policy for child objects according to their type and, if annotations, namespace.
    Since:
    5.1.0
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static ome.services.graphs.GraphPolicy getChildOptionsPolicy​(ome.services.graphs.GraphPolicy graphPolicyToAdjust, java.util.Collection<ChildOptionI> childOptions, java.util.Set<ome.services.graphs.GraphPolicy.Ability> requiredPermissions)
      Adjust an existing graph traversal policy so that child objects may be included or excluded regardless of if they are truly orphans.
      • Methods inherited from class java.lang.Object

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

      • ChildOptionsPolicy

        public ChildOptionsPolicy()
    • Method Detail

      • getChildOptionsPolicy

        public static ome.services.graphs.GraphPolicy getChildOptionsPolicy​(ome.services.graphs.GraphPolicy graphPolicyToAdjust,
                                                                            java.util.Collection<ChildOptionI> childOptions,
                                                                            java.util.Set<ome.services.graphs.GraphPolicy.Ability> requiredPermissions)
        Adjust an existing graph traversal policy so that child objects may be included or excluded regardless of if they are truly orphans.
        Parameters:
        graphPolicyToAdjust - the graph policy to adjust
        childOptions - the child options that the policy adjustments are to effect
        requiredPermissions - the abilities that the user must have to operate upon an object for it to be included
        Returns:
        the adjusted graph policy