Class PermissionFromUserJson

    • Constructor Detail

      • PermissionFromUserJson

        public PermissionFromUserJson()
    • Method Detail

      • isDownloadOriginal

        public boolean isDownloadOriginal()
        Flag indicating that downloading original file is allowed.
        Returns:
        Flag indicating that downloading original file is allowed.
      • getDownloadOriginal

        @Deprecated
        public boolean getDownloadOriginal()
        Deprecated.
        Flag indicating that downloading original file is allowed.
        Returns:
        Flag indicating that downloading original file is allowed.
      • setDownloadOriginal

        public void setDownloadOriginal​(boolean downloadOriginal)
        Flag indicating that downloading original file is allowed.
        Parameters:
        downloadOriginal - Flag indicating that downloading original file is allowed.
      • isWatermark

        public boolean isWatermark()
        Flag indicating the watermark is on.
        Returns:
        Flag indicating the watermark is on.
      • getWatermark

        @Deprecated
        public boolean getWatermark()
        Deprecated.
        Flag indicating the watermark is on.
        Returns:
        Flag indicating the watermark is on.
      • setWatermark

        public void setWatermark​(boolean watermark)
        Flag indicating the watermark is on.
        Parameters:
        watermark - Flag indicating the watermark is on.
      • getDefaultExpirationDays

        public Integer getDefaultExpirationDays()
        The Amount of days to have files available for workspace default permissions. You may decide that files uploaded will only be available for a certain amount of days after their upload, to this entity.
        Returns:
        The Amount of days to have files available for workspace default permissions. You may decide that files uploaded will only be available for a certain amount of days after their upload, to this entity.
      • setDefaultExpirationDays

        public void setDefaultExpirationDays​(Integer defaultExpirationDays)
        The Amount of days to have files available for workspace default permissions. You may decide that files uploaded will only be available for a certain amount of days after their upload, to this entity.
        Parameters:
        defaultExpirationDays - The Amount of days to have files available for workspace default permissions. You may decide that files uploaded will only be available for a certain amount of days after their upload, to this entity.
      • isEdit

        public boolean isEdit()
        Flag indicating that editing the file is allowed.
        Returns:
        Flag indicating that editing the file is allowed.
      • getEdit

        @Deprecated
        public boolean getEdit()
        Deprecated.
        Flag indicating that editing the file is allowed.
        Returns:
        Flag indicating that editing the file is allowed.
      • setEdit

        public void setEdit​(boolean edit)
        Flag indicating that editing the file is allowed.
        Parameters:
        edit - Flag indicating that editing the file is allowed.
      • isPrint

        public boolean isPrint()
        Flag indicating that printing the file is allowed.
        Returns:
        Flag indicating that printing the file is allowed.
      • getPrint

        @Deprecated
        public boolean getPrint()
        Deprecated.
        Flag indicating that printing the file is allowed.
        Returns:
        Flag indicating that printing the file is allowed.
      • setPrint

        public void setPrint​(boolean print)
        Flag indicating that printing the file is allowed.
        Parameters:
        print - Flag indicating that printing the file is allowed.
      • isDownload

        public boolean isDownload()
      • getDownload

        @Deprecated
        public boolean getDownload()
        Deprecated.
      • setDownload

        public void setDownload​(boolean download)
      • isProgAccess

        public boolean isProgAccess()
        Is programmatic access allowed.
        Returns:
        Is programmatic access allowed.
      • getProgAccess

        @Deprecated
        public boolean getProgAccess()
        Deprecated.
        Is programmatic access allowed.
        Returns:
        Is programmatic access allowed.
      • setProgAccess

        public void setProgAccess​(boolean progAccess)
        Is programmatic access allowed.
        Parameters:
        progAccess - Is programmatic access allowed.
      • isNeverExpires

        public boolean isNeverExpires()
        True if this never expires, False if not
        Returns:
        True if this never expires, False if not
      • getNeverExpires

        @Deprecated
        public boolean getNeverExpires()
        Deprecated.
        True if this never expires, False if not
        Returns:
        True if this never expires, False if not
      • setNeverExpires

        public void setNeverExpires​(boolean neverExpires)
        True if this never expires, False if not
        Parameters:
        neverExpires - True if this never expires, False if not
      • isComment

        public boolean isComment()
        Is comment allowed.
        Returns:
        Is comment allowed.
      • getComment

        @Deprecated
        public boolean getComment()
        Deprecated.
        Is comment allowed.
        Returns:
        Is comment allowed.
      • setComment

        public void setComment​(boolean comment)
        Is comment allowed.
        Parameters:
        comment - Is comment allowed.
      • isCopy

        public boolean isCopy()
        Flag indicating that copying the file is allowed.
        Returns:
        Flag indicating that copying the file is allowed.
      • getCopy

        @Deprecated
        public boolean getCopy()
        Deprecated.
        Flag indicating that copying the file is allowed.
        Returns:
        Flag indicating that copying the file is allowed.
      • setCopy

        public void setCopy​(boolean copy)
        Flag indicating that copying the file is allowed.
        Parameters:
        copy - Flag indicating that copying the file is allowed.
      • isSpotlight

        public boolean isSpotlight()
        Flag indicating the spotlight is on.
        Returns:
        Flag indicating the spotlight is on.
      • getSpotlight

        @Deprecated
        public boolean getSpotlight()
        Deprecated.
        Flag indicating the spotlight is on.
        Returns:
        Flag indicating the spotlight is on.
      • setSpotlight

        public void setSpotlight​(boolean spotlight)
        Flag indicating the spotlight is on.
        Parameters:
        spotlight - Flag indicating the spotlight is on.
      • getExpirationDate

        public Date getExpirationDate()
        Expiration date for permissions.
        Returns:
        Expiration date for permissions.
      • setExpirationDate

        public void setExpirationDate​(Date expirationDate)
        Expiration date for permissions.
        Parameters:
        expirationDate - Expiration date for permissions.