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 booleanequals(Object obj)SSheetProtectiongetNative()inthashCode()booleanisAutoFilterAllowed()get whether cells can be filtered.booleanisDeleteColumnsAllowed()get whether columns can be deleted.booleanisDeleteRowsAllowed()get whether rows can be deleted.booleanisFormatCellsAllowed()get whether cells can be formatted.booleanisFormatColumnsAllowed()get whether columns can be formatted.booleanisFormatRowsAllowed()get whether rows can be formatted.booleanisInsertColumnsAllowed()get whether columns can be inserted.booleanisInsertHyperlinksAllowed()get whether hyperlinks can be inserted.booleanisInsertRowsAllowed()get whether rows can be inserted.booleanisObjectsEditable()get whether linked objects or embedded objects can be edited.booleanisPivotTablesAllowed()get whether PivotTable reports ccan be created or modified.booleanisScenariosEditable()get whether scenarios can be edited.booleanisSelectLockedCellsAllowed()get whether locked cells can be selected.booleanisSelectUnlockedCellsAllowed()get whether unlocked cells can be selected.booleanisSortAllowed()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:SheetProtectionget whether linked objects or embedded objects can be edited.- Specified by:
isObjectsEditablein interfaceSheetProtection- Returns:
- whether linked objects or embedded objects can be edited.
-
isScenariosEditable
public boolean isScenariosEditable()
Description copied from interface:SheetProtectionget whether scenarios can be edited.- Specified by:
isScenariosEditablein interfaceSheetProtection
-
isFormatCellsAllowed
public boolean isFormatCellsAllowed()
Description copied from interface:SheetProtectionget whether cells can be formatted.- Specified by:
isFormatCellsAllowedin interfaceSheetProtection
-
isFormatColumnsAllowed
public boolean isFormatColumnsAllowed()
Description copied from interface:SheetProtectionget whether columns can be formatted.- Specified by:
isFormatColumnsAllowedin interfaceSheetProtection
-
isFormatRowsAllowed
public boolean isFormatRowsAllowed()
Description copied from interface:SheetProtectionget whether rows can be formatted.- Specified by:
isFormatRowsAllowedin interfaceSheetProtection
-
isInsertColumnsAllowed
public boolean isInsertColumnsAllowed()
Description copied from interface:SheetProtectionget whether columns can be inserted.- Specified by:
isInsertColumnsAllowedin interfaceSheetProtection
-
isInsertRowsAllowed
public boolean isInsertRowsAllowed()
Description copied from interface:SheetProtectionget whether rows can be inserted.- Specified by:
isInsertRowsAllowedin interfaceSheetProtection
-
isInsertHyperlinksAllowed
public boolean isInsertHyperlinksAllowed()
Description copied from interface:SheetProtectionget whether hyperlinks can be inserted.- Specified by:
isInsertHyperlinksAllowedin interfaceSheetProtection
-
isDeleteColumnsAllowed
public boolean isDeleteColumnsAllowed()
Description copied from interface:SheetProtectionget whether columns can be deleted.- Specified by:
isDeleteColumnsAllowedin interfaceSheetProtection
-
isDeleteRowsAllowed
public boolean isDeleteRowsAllowed()
Description copied from interface:SheetProtectionget whether rows can be deleted.- Specified by:
isDeleteRowsAllowedin interfaceSheetProtection
-
isSelectLockedCellsAllowed
public boolean isSelectLockedCellsAllowed()
Description copied from interface:SheetProtectionget whether locked cells can be selected.- Specified by:
isSelectLockedCellsAllowedin interfaceSheetProtection
-
isSortAllowed
public boolean isSortAllowed()
Description copied from interface:SheetProtectionget whether cells can be sorted.- Specified by:
isSortAllowedin interfaceSheetProtection
-
isAutoFilterAllowed
public boolean isAutoFilterAllowed()
Description copied from interface:SheetProtectionget whether cells can be filtered.- Specified by:
isAutoFilterAllowedin interfaceSheetProtection
-
isPivotTablesAllowed
public boolean isPivotTablesAllowed()
Description copied from interface:SheetProtectionget whether PivotTable reports ccan be created or modified.- Specified by:
isPivotTablesAllowedin interfaceSheetProtection
-
isSelectUnlockedCellsAllowed
public boolean isSelectUnlockedCellsAllowed()
Description copied from interface:SheetProtectionget whether unlocked cells can be selected.- Specified by:
isSelectUnlockedCellsAllowedin interfaceSheetProtection
-
-