com.groupdocs.viewer.domain.containers

Class DocumentInfoContainer

    • Constructor Detail

      • DocumentInfoContainer

        public DocumentInfoContainer()

        Initializes a new instance of the DocumentInfoContainer class.

    • Method Detail

      • getGuid

        public String getGuid()

        The file unique identifier, full path for local storage e.g. c:\\storage\\document.txt, relative path e.g document.txt, url e.g. http://site.com/document.txt

        Value: The file unique identifier.
        Returns:
        the guid
      • setGuid

        public void setGuid(String value)

        The file unique identifier, full path for local storage e.g. c:\\storage\\document.txt, relative path e.g document.txt, url e.g. http://site.com/document.txt

        Value: The file unique identifier.
        Parameters:
        value - the value
      • getName

        public String getName()

        The file name.

        Value: The file name.
        Returns:
        the name
      • setName

        public void setName(String value)

        The file name.

        Value: The file name.
        Parameters:
        value - the value
      • getExtension

        public String getExtension()

        Gets the file extension.

        Value: The file extension.
        Returns:
        the extension
      • setExtension

        public void setExtension(String value)

        Gets the file extension.

        Value: The file extension.
        Parameters:
        value - the value
      • getSize

        public long getSize()

        The size.

        Value: The size.
        Returns:
        the size
      • setSize

        public void setSize(long value)

        The size.

        Value: The size.
        Parameters:
        value - the value
      • getLastModificationDate

        public Date getLastModificationDate()

        The last modification date.

        Value: The last modification date.
        Returns:
        the last modification date
      • setLastModificationDate

        public void setLastModificationDate(Date value)

        The last modification date.

        Value: The last modification date.
        Parameters:
        value - the value
      • getDocumentType

        public String getDocumentType()

        The type of the document.

        Value: The type of the document.
        Returns:
        the document type
      • setDocumentType

        public void setDocumentType(String value)

        The type of the document.

        Value: The type of the document.
        Parameters:
        value - the value
      • getDocumentTypeFormat

        public String getDocumentTypeFormat()

        Return document type format.

        Returns:
        Domain.DocumentTypeFormat.PORTABLE_DOCUMENT_FORMAT, Domain.DocumentTypeFormat.MICROSOFT_WORD, Domain.DocumentTypeFormat.MICROSOFT_EXCEL, Domain.DocumentTypeFormat.MICROSOFT_POWERPOINT, Domain.DocumentTypeFormat.MICROSOFT_VISIO, Domain.DocumentTypeFormat.MICROSOFT_PROJECT, Domain.DocumentTypeFormat.MICROSOFT_OUTLOOK, Domain.DocumentTypeFormat.OPENDOCUMENT_FORMATS, Domain.DocumentTypeFormat.RICH_TEXT_FORMAT, Domain.DocumentTypeFormat.PLAIN_TEXT_FILE, Domain.DocumentTypeFormat.COMMA_SEPARATED_VALUES, Domain.DocumentTypeFormat.HYPERTEXT_MARKUP_LANGUAGE, Domain.DocumentTypeFormat.EXTENSIBLE_MARKUP_LANGUAGE, Domain.DocumentTypeFormat.XML_PAPER_SPECIFICATION, Domain.DocumentTypeFormat.IMAGE_FILES, Domain.DocumentTypeFormat.ELECTRONIC_PUBLICATION, Domain.DocumentTypeFormat.WINDOWS_ICON, Domain.DocumentTypeFormat.WINDOWS_METAFILE or Domain.DocumentTypeFormat.UNKNOWN
      • setDocumentTypeFormat

        public void setDocumentTypeFormat(String value)

        Return document type format.

      • getFileType

        public String getFileType()

        The type of the file.

        Value: The type of the file.
        Returns:
        the file type
      • setFileType

        public void setFileType(String value)

        The type of the file.

        Value: The type of the file.
        Parameters:
        value - the value
      • getDateCreated

        public Date getDateCreated()

        The created time.

        Value: The created time.
        Returns:
        the date created
      • setDateCreated

        public void setDateCreated(Date value)

        The created time.

        Value: The created time.
        Parameters:
        value - the value
      • getPages

        public List<PageData> getPages()

        Gets the pages data.

      • setPages

        public void setPages(List<PageData> value)

        Gets the pages data.

      • setAttachments

        public void setAttachments(List<AttachmentBase> value)

        Gets the attachments.