Interface Attachment

  • All Known Subinterfaces:
    AttachmentEntity
    All Known Implementing Classes:
    AttachmentEntityImpl

    @Deprecated
    @Internal
    public interface Attachment
    Deprecated.
    this interface and its implementations are going to be removed in future iterations Atttachments doesn't belong to the Process/Task Runtime
    Any type of content that is be associated with a task or with a process instance.
    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      java.lang.String getContentId()
      Deprecated.
      the id of the byte array entity storing the content
      java.lang.String getDescription()
      Deprecated.
      long (max 255 chars) explanation what this attachment is about in context of the task and/or process instance it's linked to.
      java.lang.String getId()
      Deprecated.
      unique id for this attachment
      java.lang.String getName()
      Deprecated.
      free user defined short (max 255 chars) name for this attachment
      java.lang.String getProcessInstanceId()
      Deprecated.
      reference to the process instance to which this attachment is associated.
      java.lang.String getTaskId()
      Deprecated.
      reference to the task to which this attachment is associated.
      java.util.Date getTime()
      Deprecated.
      timestamp when this attachment was created
      java.lang.String getType()
      Deprecated.
      indication of the type of content that this attachment refers to.
      java.lang.String getUrl()
      Deprecated.
      the remote URL in case this is remote content.
      java.lang.String getUserId()
      Deprecated.
      reference to the user who created this attachment.
      void setDescription​(java.lang.String description)
      Deprecated.
      long (max 255 chars) explanation what this attachment is about in context of the task and/or process instance it's linked to.
      void setName​(java.lang.String name)
      Deprecated.
      free user defined short (max 255 chars) name for this attachment
      void setTime​(java.util.Date time)
      Deprecated.
      timestamp when this attachment was created
    • Method Detail

      • getId

        java.lang.String getId()
        Deprecated.
        unique id for this attachment
      • getName

        java.lang.String getName()
        Deprecated.
        free user defined short (max 255 chars) name for this attachment
      • setName

        void setName​(java.lang.String name)
        Deprecated.
        free user defined short (max 255 chars) name for this attachment
      • getDescription

        java.lang.String getDescription()
        Deprecated.
        long (max 255 chars) explanation what this attachment is about in context of the task and/or process instance it's linked to.
      • setDescription

        void setDescription​(java.lang.String description)
        Deprecated.
        long (max 255 chars) explanation what this attachment is about in context of the task and/or process instance it's linked to.
      • getType

        java.lang.String getType()
        Deprecated.
        indication of the type of content that this attachment refers to. Can be mime type or any other indication.
      • getTaskId

        java.lang.String getTaskId()
        Deprecated.
        reference to the task to which this attachment is associated.
      • getProcessInstanceId

        java.lang.String getProcessInstanceId()
        Deprecated.
        reference to the process instance to which this attachment is associated.
      • getUserId

        java.lang.String getUserId()
        Deprecated.
        reference to the user who created this attachment.
      • getTime

        java.util.Date getTime()
        Deprecated.
        timestamp when this attachment was created
      • setTime

        void setTime​(java.util.Date time)
        Deprecated.
        timestamp when this attachment was created
      • getContentId

        java.lang.String getContentId()
        Deprecated.
        the id of the byte array entity storing the content