Class SimpleOperationContext

    • Method Detail

      • getObjectDefinitionCookie

        public String getObjectDefinitionCookie​(ObjectDefinitionRole role)
        Description copied from interface: OperationContext
        Returns an object definition cookie constructed by the object profile retrieval during a browsing request.
        Specified by:
        getObjectDefinitionCookie in interface OperationContext
        Parameters:
        role - the role identifying the profile for which the profile is desired
        Returns:
        the stored cookie, or null if no cookie was stored for the profile
      • getSelectedFields

        public List<String> getSelectedFields()
        Description copied from interface: OperationContext
        Returns a field list describing the fields to be retrieved. This may be null, indicating that all fields should be retrieved
        Specified by:
        getSelectedFields in interface OperationContext
      • getInputSchema

        public Optional<ProfileSchema> getInputSchema()
        Returns the Schema instance defining the input profile for this connector operation, encapsulating the schema definition content and associated ContentType metadata. Each call returns a new ProfileSchema instance.
        Specified by:
        getInputSchema in interface OperationContext
        Returns:
        an Optional containing the ProfileSchema for input data if available, or Optional.empty() if no input schema is defined.
      • getOutputSchema

        public Optional<ProfileSchema> getOutputSchema()
        Returns the Schema instance defining the output profile for this connector operation, encapsulating the schema definition content and associated ContentType metadata. Each call returns a new ProfileSchema instance.
        Specified by:
        getOutputSchema in interface OperationContext
        Returns:
        an Optional containing the ProfileSchema for output data if available, or Optional.empty() if no output schema is defined.