Class FilePrivileges

java.lang.Object
com.gentics.contentnode.rest.model.FilePrivileges

public class FilePrivileges extends Object
Model for file privileges
  • Field Details

    • viewfile

      protected Boolean viewfile
    • createfile

      protected Boolean createfile
    • updatefile

      protected Boolean updatefile
    • deletefile

      protected Boolean deletefile
  • Constructor Details

    • FilePrivileges

      public FilePrivileges()
  • Method Details

    • getViewfile

      public Boolean getViewfile()
      True when viewfile is granted
      Returns:
      viewfile flag
    • setViewfile

      public FilePrivileges setViewfile(Boolean viewfile)
      Set viewfile flag
      Parameters:
      viewfile - flag
      Returns:
      fluent API
    • getCreatefile

      public Boolean getCreatefile()
      True when createfile is granted
      Returns:
      createfile flag
    • setCreatefile

      public FilePrivileges setCreatefile(Boolean createfile)
      Set createfile flag
      Parameters:
      createfile - flag
      Returns:
      fluent API
    • getUpdatefile

      public Boolean getUpdatefile()
      True when updatefile is granted
      Returns:
      updatefile flag
    • setUpdatefile

      public FilePrivileges setUpdatefile(Boolean updatefile)
      Set updatefile flag
      Parameters:
      updatefile - flag
      Returns:
      fluent API
    • getDeletefile

      public Boolean getDeletefile()
      True when deletefile is granted
      Returns:
      deletefile flag
    • setDeletefile

      public FilePrivileges setDeletefile(Boolean deletefile)
      Set deletefile flag
      Parameters:
      deletefile - flag
      Returns:
      fluent API
    • get

      public Boolean get(Privilege privilege)
    • set

      public FilePrivileges set(Privilege privilege, Boolean flag)