Class Config.Document.Permissions

java.lang.Object
org.exoplatform.onlyoffice.Config.Document.Permissions
Direct Known Subclasses:
Config.Document.EditPermissions, Config.Document.NoPermissions
Enclosing class:
Config.Document

public abstract static class Config.Document.Permissions extends Object
The Class Permissions.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final boolean
    The download.
    protected final boolean
    The edit.
    protected final boolean
    The print.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Permissions(boolean download, boolean edit, boolean print)
    Instantiates a new permissions.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Checks if is download.
    boolean
    Checks if is edits the.
    boolean
    Checks if is print the.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • download

      protected final boolean download
      The download.
    • edit

      protected final boolean edit
      The edit.
    • print

      protected final boolean print
      The print.
  • Constructor Details

    • Permissions

      protected Permissions(boolean download, boolean edit, boolean print)
      Instantiates a new permissions.
      Parameters:
      download - the download
      edit - the edit
      print - the print
  • Method Details

    • isDownload

      public boolean isDownload()
      Checks if is download.
      Returns:
      the download
    • isEdit

      public boolean isEdit()
      Checks if is edits the.
      Returns:
      the edit
    • isPrint

      public boolean isPrint()
      Checks if is print the.
      Returns:
      the print