Interface RepresentationService


@RemoteInterface public interface RepresentationService
The RepresentationService contains the methods to create, query, and delete Representations and associated files.

Supported API: true

Extendable: false
  • Method Details

    • getDefaultRepresentation

      Representation getDefaultRepresentation(Representable representable) throws WTException
      Get the default Representation for the passed Representable.

      Supported API: true
      Parameters:
      representable - Representable object for which default Representation is required
      Returns:
      Default Representation for given Representable is present
      Throws:
      WTException
    • getDefaultRepresentation

      WTValuedMap getDefaultRepresentation(WTCollection representables) throws WTException
      Gets the default Representations for the passed Representables.

      Supported API: true
      Parameters:
      representables - WTCollection of Representables
      Returns:
      WTValuedMap - keys are the Representables and values are the default Representations for the Representables. A Representable without a default Representation will not be included in the returned WTValuedMap
      Throws:
      WTException