Class DownloadPermissionDescriptor

java.lang.Object
org.nuxeo.ecm.core.io.download.DownloadPermissionDescriptor
All Implemented Interfaces:
Descriptor

public class DownloadPermissionDescriptor extends Object implements Descriptor
Descriptor for the permissions associated to a blob download.
Since:
7.4
  • Field Details

  • Constructor Details

    • DownloadPermissionDescriptor

      public DownloadPermissionDescriptor()
  • Method Details

    • getId

      public String getId()
      Description copied from interface: Descriptor
      The descriptor id, descriptors with same id are merged.

      To forbid multiple descriptors use UNIQUE_DESCRIPTOR_ID.

      To forbid merge use a unique value, non-overriden toString() for exemple.

      Specified by:
      getId in interface Descriptor
    • getScriptLanguage

      public String getScriptLanguage()
    • merge

      public Descriptor merge(Descriptor o)
      Description copied from interface: Descriptor
      Returns a descriptor representing other merged into this

      Default implementation returns other.

      Specified by:
      merge in interface Descriptor
      Returns:
      the merged descriptor