Interface WrappableRequest<X>

    • Method Detail

      • copyFieldsTo

        void copyFieldsTo​(X request)
        Copy the fields of this request to that of the given request.
        Parameters:
        request - the target of the field copy
      • adjustGraphPolicy

        void adjustGraphPolicy​(java.util.function.Function<ome.services.graphs.GraphPolicy,​ome.services.graphs.GraphPolicy> adjuster)
        Transform the currently applicable graph policy for this request by the given function. Must be called before IRequest.init(omero.cmd.Helper).
        Parameters:
        adjuster - a transformation function for graph policies
      • getStepProvidingCompleteResponse

        int getStepProvidingCompleteResponse()
        Get the step of this request that suffices for assembling the request's response. It is presumed that checking the permissibility of the planned operation occurs afterward.
        Returns:
        a step number
      • getActionForStarting

        ome.services.graphs.GraphPolicy.Action getActionForStarting()
        Returns:
        the action associated with nodes qualifying as start objects
      • getStartFrom

        java.util.Map<java.lang.String,​java.util.List<java.lang.Long>> getStartFrom​(Response response)
        From the response of the head-skipping request, determine which model objects are the targets of the operation.
        Parameters:
        response - the head-skipping request's response
        Returns:
        the model objects to target