Package io.keikai.api.model.impl
Class SheetProtectionImpl
- java.lang.Object
-
- io.keikai.api.model.impl.SheetProtectionImpl
-
- All Implemented Interfaces:
SheetProtection
,Serializable
public class SheetProtectionImpl extends Object implements SheetProtection, Serializable
- Since:
- 3.5.0
- Author:
- henri
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SheetProtectionImpl(ModelRef<SSheet> sheetRef, ModelRef<SSheetProtection> sspRef)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
SSheetProtection
getNative()
int
hashCode()
boolean
isAutoFilterAllowed()
get whether cells can be filtered.boolean
isDeleteColumnsAllowed()
get whether columns can be deleted.boolean
isDeleteRowsAllowed()
get whether rows can be deleted.boolean
isFormatCellsAllowed()
get whether cells can be formatted.boolean
isFormatColumnsAllowed()
get whether columns can be formatted.boolean
isFormatRowsAllowed()
get whether rows can be formatted.boolean
isInsertColumnsAllowed()
get whether columns can be inserted.boolean
isInsertHyperlinksAllowed()
get whether hyperlinks can be inserted.boolean
isInsertRowsAllowed()
get whether rows can be inserted.boolean
isObjectsEditable()
get whether linked objects or embedded objects can be edited.boolean
isPivotTablesAllowed()
get whether PivotTable reports ccan be created or modified.boolean
isScenariosEditable()
get whether scenarios can be edited.boolean
isSelectLockedCellsAllowed()
get whether locked cells can be selected.boolean
isSelectUnlockedCellsAllowed()
get whether unlocked cells can be selected.boolean
isSortAllowed()
get whether cells can be sorted.
-
-
-
Constructor Detail
-
SheetProtectionImpl
public SheetProtectionImpl(ModelRef<SSheet> sheetRef, ModelRef<SSheetProtection> sspRef)
-
-
Method Detail
-
getNative
public SSheetProtection getNative()
-
isObjectsEditable
public boolean isObjectsEditable()
Description copied from interface:SheetProtection
get whether linked objects or embedded objects can be edited.- Specified by:
isObjectsEditable
in interfaceSheetProtection
- Returns:
- whether linked objects or embedded objects can be edited.
-
isScenariosEditable
public boolean isScenariosEditable()
Description copied from interface:SheetProtection
get whether scenarios can be edited.- Specified by:
isScenariosEditable
in interfaceSheetProtection
-
isFormatCellsAllowed
public boolean isFormatCellsAllowed()
Description copied from interface:SheetProtection
get whether cells can be formatted.- Specified by:
isFormatCellsAllowed
in interfaceSheetProtection
-
isFormatColumnsAllowed
public boolean isFormatColumnsAllowed()
Description copied from interface:SheetProtection
get whether columns can be formatted.- Specified by:
isFormatColumnsAllowed
in interfaceSheetProtection
-
isFormatRowsAllowed
public boolean isFormatRowsAllowed()
Description copied from interface:SheetProtection
get whether rows can be formatted.- Specified by:
isFormatRowsAllowed
in interfaceSheetProtection
-
isInsertColumnsAllowed
public boolean isInsertColumnsAllowed()
Description copied from interface:SheetProtection
get whether columns can be inserted.- Specified by:
isInsertColumnsAllowed
in interfaceSheetProtection
-
isInsertRowsAllowed
public boolean isInsertRowsAllowed()
Description copied from interface:SheetProtection
get whether rows can be inserted.- Specified by:
isInsertRowsAllowed
in interfaceSheetProtection
-
isInsertHyperlinksAllowed
public boolean isInsertHyperlinksAllowed()
Description copied from interface:SheetProtection
get whether hyperlinks can be inserted.- Specified by:
isInsertHyperlinksAllowed
in interfaceSheetProtection
-
isDeleteColumnsAllowed
public boolean isDeleteColumnsAllowed()
Description copied from interface:SheetProtection
get whether columns can be deleted.- Specified by:
isDeleteColumnsAllowed
in interfaceSheetProtection
-
isDeleteRowsAllowed
public boolean isDeleteRowsAllowed()
Description copied from interface:SheetProtection
get whether rows can be deleted.- Specified by:
isDeleteRowsAllowed
in interfaceSheetProtection
-
isSelectLockedCellsAllowed
public boolean isSelectLockedCellsAllowed()
Description copied from interface:SheetProtection
get whether locked cells can be selected.- Specified by:
isSelectLockedCellsAllowed
in interfaceSheetProtection
-
isSortAllowed
public boolean isSortAllowed()
Description copied from interface:SheetProtection
get whether cells can be sorted.- Specified by:
isSortAllowed
in interfaceSheetProtection
-
isAutoFilterAllowed
public boolean isAutoFilterAllowed()
Description copied from interface:SheetProtection
get whether cells can be filtered.- Specified by:
isAutoFilterAllowed
in interfaceSheetProtection
-
isPivotTablesAllowed
public boolean isPivotTablesAllowed()
Description copied from interface:SheetProtection
get whether PivotTable reports ccan be created or modified.- Specified by:
isPivotTablesAllowed
in interfaceSheetProtection
-
isSelectUnlockedCellsAllowed
public boolean isSelectUnlockedCellsAllowed()
Description copied from interface:SheetProtection
get whether unlocked cells can be selected.- Specified by:
isSelectUnlockedCellsAllowed
in interfaceSheetProtection
-
-