Class AttachmentRef

  • All Implemented Interfaces:
    Serializable

    public class AttachmentRef
    extends Object
    implements Serializable
    It represents a reference to an attachment that was either created, updated or deleted. The attachment is represented by a org.silverpeas.core.contribution.attachment.model.SimpleDocument instance. Instead of a such instance to be transmitted within a notification, it is a reference to it, more simple and independent of other specific properties.
    See Also:
    Serialized Form
    • Constructor Detail

      • AttachmentRef

        protected AttachmentRef()
      • AttachmentRef

        public AttachmentRef​(SimpleDocument document)
        Constructs a new attachment reference referring the specified document.
        Parameters:
        document - a document.
    • Method Detail

      • getId

        public String getId()
      • getInstanceId

        public String getInstanceId()
      • getForeignId

        public String getForeignId()
      • getOldSilverpeasId

        public long getOldSilverpeasId()
      • getName

        public String getName()
      • isVersioned

        public boolean isVersioned()
      • getUserId

        public String getUserId()