Package io.keikai.model.impl
Class ProtectedRangeImpl
java.lang.Object
io.keikai.model.impl.ProtectedRangeImpl
- All Implemented Interfaces:
SProtectedRange,Serializable
Default implementation of
SProtectedRange.- Since:
- 7.0.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionProtectedRangeImpl(String name, CellRegion range, String passwordHash) Convenience constructor without security descriptor.ProtectedRangeImpl(String name, CellRegion range, String passwordHash, String securityDescriptor) Creates a new protected range. -
Method Summary
Modifier and TypeMethodDescriptionbooleangetName()Returns the name (title) of this protected range.Returns the hashed password for this protected range, or null if none.getRange()Returns the cell region covered by this protected range.Returns the security descriptor for this protected range, or null if none.inthashCode()toString()
-
Constructor Details
-
ProtectedRangeImpl
public ProtectedRangeImpl(String name, CellRegion range, String passwordHash, String securityDescriptor) Creates a new protected range.- Parameters:
name- the range namerange- the cell regionpasswordHash- the hashed password, or nullsecurityDescriptor- the security descriptor, or null
-
ProtectedRangeImpl
Convenience constructor without security descriptor.- Parameters:
name- the range namerange- the cell regionpasswordHash- the hashed password, or null
-
-
Method Details
-
getName
Description copied from interface:SProtectedRangeReturns the name (title) of this protected range.- Specified by:
getNamein interfaceSProtectedRange- Returns:
- the range name
-
getRange
Description copied from interface:SProtectedRangeReturns the cell region covered by this protected range.- Specified by:
getRangein interfaceSProtectedRange- Returns:
- the cell region
-
getPasswordHash
Description copied from interface:SProtectedRangeReturns the hashed password for this protected range, or null if none.- Specified by:
getPasswordHashin interfaceSProtectedRange- Returns:
- the password hash
-
getSecurityDescriptor
Description copied from interface:SProtectedRangeReturns the security descriptor for this protected range, or null if none. This is typically a Windows SDDL string for AD-based permissions.- Specified by:
getSecurityDescriptorin interfaceSProtectedRange- Returns:
- the security descriptor
-
equals
-
hashCode
public int hashCode() -
toString
-