Class RemoteAttachment


  • public class RemoteAttachment
    extends Object
    • Constructor Detail

      • RemoteAttachment

        public RemoteAttachment()
      • RemoteAttachment

        public RemoteAttachment​(Attachment attachment)
      • RemoteAttachment

        public RemoteAttachment​(long contentId,
                                String fileName,
                                String contentType,
                                String comment)
        Use this constructor when creating an attachment to add
    • Method Detail

      • getId

        public long getId()
      • setId

        public void setId​(long id)
      • getPageId

        public long getPageId()
      • setPageId

        public void setPageId​(long pageId)
      • getFileSize

        public long getFileSize()
      • setFileSize

        public void setFileSize​(long fileSize)
      • getTitle

        public String getTitle()
      • setTitle

        public void setTitle​(String title)
      • getFileName

        public String getFileName()
      • setFileName

        public void setFileName​(String fileName)
      • getContentType

        public String getContentType()
      • setContentType

        public void setContentType​(String contentType)
      • getCreator

        public String getCreator()
      • setCreator

        public void setCreator​(String creator)
      • getUrl

        public String getUrl()
      • setUrl

        public void setUrl​(String url)
      • getCreated

        public Date getCreated()
      • getComment

        public String getComment()
      • setCreated

        public void setCreated​(Date created)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object