Package io.keikai.model.impl
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:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
SheetProtectionImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isAutoFilter()
get whether cells can be filtered.boolean
isDeleteColumns()
get whether columns can be deleted.boolean
isDeleteRows()
get whether rows can be deleted.boolean
isFormatCells()
get whether cells can be formatted.boolean
isFormatColumns()
get whether columns can be formatted.boolean
isFormatRows()
get whether rows can be formatted.boolean
isInsertColumns()
get whether columns can be inserted.boolean
isInsertHyperlinks()
get whether hyperlinks can be inserted.boolean
isInsertRows()
get whether rows can be inserted.boolean
isObjects()
get whether linked objects or embedded objects can be edited.boolean
isPivotTables()
get whether PivotTable reports ccan be created or modified.boolean
isScenarios()
get whether scenarios can be edited.boolean
isSelectLockedCells()
get whether locked cells can be selected.boolean
isSelectUnlockedCells()
get whether unlocked cells can be selected.boolean
isSort()
get whether cells can be sorted.void
setAutoFilter(boolean flag)
set whether cells can be filtered.void
setDeleteColumns(boolean flag)
set whether columns can be deleted.void
setDeleteRows(boolean flag)
set whether rows can be deleted.void
setFormatCells(boolean flag)
set whether cells can be formatted.void
setFormatColumns(boolean flag)
set whether columns can be formatted.void
setFormatRows(boolean flag)
set whether rows can be formatted.void
setInsertColumns(boolean flag)
set whether columns can be inserted.void
setInsertHyperlinks(boolean flag)
set whether hyperlinks can be inserted.void
setInsertRows(boolean flag)
set whether rows can be inserted.void
setObjects(boolean flag)
set whether linked objects or embedded objects can be edited.void
setPivotTables(boolean flag)
set whether PivotTable reports ccan be created or modified.void
setScenarios(boolean flag)
set whether scenarios can be edited.void
setSelectLockedCells(boolean flag)
set whether locked cells can be selected.void
setSelectUnlockedCells(boolean flag)
set whether unlocked cells can be selected.void
setSort(boolean flag)
set whether cells can be sorted.
-
-
-
Method Detail
-
isObjects
public boolean isObjects()
get whether linked objects or embedded objects can be edited.- Specified by:
isObjects
in interfaceSSheetProtection
- Returns:
- whether linked objects or embedded objects can be edited.
-
isScenarios
public boolean isScenarios()
get whether scenarios can be edited.- Specified by:
isScenarios
in interfaceSSheetProtection
-
isFormatCells
public boolean isFormatCells()
get whether cells can be formatted.- Specified by:
isFormatCells
in interfaceSSheetProtection
-
isFormatColumns
public boolean isFormatColumns()
get whether columns can be formatted.- Specified by:
isFormatColumns
in interfaceSSheetProtection
-
isFormatRows
public boolean isFormatRows()
get whether rows can be formatted.- Specified by:
isFormatRows
in interfaceSSheetProtection
-
isInsertColumns
public boolean isInsertColumns()
get whether columns can be inserted.- Specified by:
isInsertColumns
in interfaceSSheetProtection
-
isInsertRows
public boolean isInsertRows()
get whether rows can be inserted.- Specified by:
isInsertRows
in interfaceSSheetProtection
-
isInsertHyperlinks
public boolean isInsertHyperlinks()
get whether hyperlinks can be inserted.- Specified by:
isInsertHyperlinks
in interfaceSSheetProtection
-
isDeleteColumns
public boolean isDeleteColumns()
get whether columns can be deleted.- Specified by:
isDeleteColumns
in interfaceSSheetProtection
-
isDeleteRows
public boolean isDeleteRows()
get whether rows can be deleted.- Specified by:
isDeleteRows
in interfaceSSheetProtection
-
isSelectLockedCells
public boolean isSelectLockedCells()
get whether locked cells can be selected.- Specified by:
isSelectLockedCells
in interfaceSSheetProtection
-
isSort
public boolean isSort()
get whether cells can be sorted.- Specified by:
isSort
in interfaceSSheetProtection
-
isAutoFilter
public boolean isAutoFilter()
get whether cells can be filtered.- Specified by:
isAutoFilter
in interfaceSSheetProtection
-
isPivotTables
public boolean isPivotTables()
get whether PivotTable reports ccan be created or modified.- Specified by:
isPivotTables
in interfaceSSheetProtection
-
isSelectUnlockedCells
public boolean isSelectUnlockedCells()
get whether unlocked cells can be selected.- Specified by:
isSelectUnlockedCells
in interfaceSSheetProtection
-
setObjects
public void setObjects(boolean flag)
set whether linked objects or embedded objects can be edited.- Specified by:
setObjects
in interfaceSSheetProtection
-
setScenarios
public void setScenarios(boolean flag)
set whether scenarios can be edited.- Specified by:
setScenarios
in interfaceSSheetProtection
-
setFormatCells
public void setFormatCells(boolean flag)
set whether cells can be formatted.- Specified by:
setFormatCells
in interfaceSSheetProtection
-
setFormatColumns
public void setFormatColumns(boolean flag)
set whether columns can be formatted.- Specified by:
setFormatColumns
in interfaceSSheetProtection
-
setFormatRows
public void setFormatRows(boolean flag)
set whether rows can be formatted.- Specified by:
setFormatRows
in interfaceSSheetProtection
-
setInsertColumns
public void setInsertColumns(boolean flag)
set whether columns can be inserted.- Specified by:
setInsertColumns
in interfaceSSheetProtection
-
setInsertRows
public void setInsertRows(boolean flag)
set whether rows can be inserted.- Specified by:
setInsertRows
in interfaceSSheetProtection
-
setInsertHyperlinks
public void setInsertHyperlinks(boolean flag)
set whether hyperlinks can be inserted.- Specified by:
setInsertHyperlinks
in interfaceSSheetProtection
-
setDeleteColumns
public void setDeleteColumns(boolean flag)
set whether columns can be deleted.- Specified by:
setDeleteColumns
in interfaceSSheetProtection
-
setDeleteRows
public void setDeleteRows(boolean flag)
set whether rows can be deleted.- Specified by:
setDeleteRows
in interfaceSSheetProtection
-
setSelectLockedCells
public void setSelectLockedCells(boolean flag)
set whether locked cells can be selected.- Specified by:
setSelectLockedCells
in interfaceSSheetProtection
-
setSort
public void setSort(boolean flag)
set whether cells can be sorted.- Specified by:
setSort
in interfaceSSheetProtection
-
setAutoFilter
public void setAutoFilter(boolean flag)
set whether cells can be filtered.- Specified by:
setAutoFilter
in interfaceSSheetProtection
-
setPivotTables
public void setPivotTables(boolean flag)
set whether PivotTable reports ccan be created or modified.- Specified by:
setPivotTables
in interfaceSSheetProtection
-
setSelectUnlockedCells
public void setSelectUnlockedCells(boolean flag)
set whether unlocked cells can be selected.- Specified by:
setSelectUnlockedCells
in interfaceSSheetProtection
-
-