Class SheetProtectionImpl

java.lang.Object
io.keikai.model.impl.SheetProtectionImpl
All Implemented Interfaces:
SSheetProtection, Serializable

public class SheetProtectionImpl extends Object implements SSheetProtection, Serializable
Author:
henri
See Also:
  • Constructor Details

    • SheetProtectionImpl

      protected SheetProtectionImpl()
  • Method Details

    • isObjects

      public boolean isObjects()
      get whether linked objects or embedded objects can be edited.
      Specified by:
      isObjects in interface SSheetProtection
      Returns:
      whether linked objects or embedded objects can be edited.
    • isScenarios

      public boolean isScenarios()
      get whether scenarios can be edited.
      Specified by:
      isScenarios in interface SSheetProtection
    • isFormatCells

      public boolean isFormatCells()
      get whether cells can be formatted.
      Specified by:
      isFormatCells in interface SSheetProtection
    • isFormatColumns

      public boolean isFormatColumns()
      get whether columns can be formatted.
      Specified by:
      isFormatColumns in interface SSheetProtection
    • isFormatRows

      public boolean isFormatRows()
      get whether rows can be formatted.
      Specified by:
      isFormatRows in interface SSheetProtection
    • isInsertColumns

      public boolean isInsertColumns()
      get whether columns can be inserted.
      Specified by:
      isInsertColumns in interface SSheetProtection
    • isInsertRows

      public boolean isInsertRows()
      get whether rows can be inserted.
      Specified by:
      isInsertRows in interface SSheetProtection
    • isInsertHyperlinks

      public boolean isInsertHyperlinks()
      get whether hyperlinks can be inserted.
      Specified by:
      isInsertHyperlinks in interface SSheetProtection
    • isDeleteColumns

      public boolean isDeleteColumns()
      get whether columns can be deleted.
      Specified by:
      isDeleteColumns in interface SSheetProtection
    • isDeleteRows

      public boolean isDeleteRows()
      get whether rows can be deleted.
      Specified by:
      isDeleteRows in interface SSheetProtection
    • isSelectLockedCells

      public boolean isSelectLockedCells()
      get whether locked cells can be selected.
      Specified by:
      isSelectLockedCells in interface SSheetProtection
    • isSort

      public boolean isSort()
      get whether cells can be sorted.
      Specified by:
      isSort in interface SSheetProtection
    • isAutoFilter

      public boolean isAutoFilter()
      get whether cells can be filtered.
      Specified by:
      isAutoFilter in interface SSheetProtection
    • isPivotTables

      public boolean isPivotTables()
      get whether PivotTable reports ccan be created or modified.
      Specified by:
      isPivotTables in interface SSheetProtection
    • isSelectUnlockedCells

      public boolean isSelectUnlockedCells()
      get whether unlocked cells can be selected.
      Specified by:
      isSelectUnlockedCells in interface SSheetProtection
    • setObjects

      public void setObjects(boolean flag)
      set whether linked objects or embedded objects can be edited.
      Specified by:
      setObjects in interface SSheetProtection
    • setScenarios

      public void setScenarios(boolean flag)
      set whether scenarios can be edited.
      Specified by:
      setScenarios in interface SSheetProtection
    • setFormatCells

      public void setFormatCells(boolean flag)
      set whether cells can be formatted.
      Specified by:
      setFormatCells in interface SSheetProtection
    • setFormatColumns

      public void setFormatColumns(boolean flag)
      set whether columns can be formatted.
      Specified by:
      setFormatColumns in interface SSheetProtection
    • setFormatRows

      public void setFormatRows(boolean flag)
      set whether rows can be formatted.
      Specified by:
      setFormatRows in interface SSheetProtection
    • setInsertColumns

      public void setInsertColumns(boolean flag)
      set whether columns can be inserted.
      Specified by:
      setInsertColumns in interface SSheetProtection
    • setInsertRows

      public void setInsertRows(boolean flag)
      set whether rows can be inserted.
      Specified by:
      setInsertRows in interface SSheetProtection
    • setInsertHyperlinks

      public void setInsertHyperlinks(boolean flag)
      set whether hyperlinks can be inserted.
      Specified by:
      setInsertHyperlinks in interface SSheetProtection
    • setDeleteColumns

      public void setDeleteColumns(boolean flag)
      set whether columns can be deleted.
      Specified by:
      setDeleteColumns in interface SSheetProtection
    • setDeleteRows

      public void setDeleteRows(boolean flag)
      set whether rows can be deleted.
      Specified by:
      setDeleteRows in interface SSheetProtection
    • setSelectLockedCells

      public void setSelectLockedCells(boolean flag)
      set whether locked cells can be selected.
      Specified by:
      setSelectLockedCells in interface SSheetProtection
    • setSort

      public void setSort(boolean flag)
      set whether cells can be sorted.
      Specified by:
      setSort in interface SSheetProtection
    • setAutoFilter

      public void setAutoFilter(boolean flag)
      set whether cells can be filtered.
      Specified by:
      setAutoFilter in interface SSheetProtection
    • setPivotTables

      public void setPivotTables(boolean flag)
      set whether PivotTable reports ccan be created or modified.
      Specified by:
      setPivotTables in interface SSheetProtection
    • setSelectUnlockedCells

      public void setSelectUnlockedCells(boolean flag)
      set whether unlocked cells can be selected.
      Specified by:
      setSelectUnlockedCells in interface SSheetProtection