Record Class DocumentSpaceAccess
java.lang.Object
java.lang.Record
org.exoplatform.documents.model.DocumentSpaceAccess
- Record Components:
canManageAccess- whether its "Limit Access Management" setting lets the user change the document's access listkeptInsideSpace- whether the space keeps its documents inside
What the space of a document lets a user do with its access, decided on one
read of the space's committed settings
-
Constructor Summary
ConstructorsConstructorDescriptionDocumentSpaceAccess(boolean canManageAccess, boolean keptInsideSpace) Creates an instance of aDocumentSpaceAccessrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of thecanManageAccessrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of thekeptInsideSpacerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
DocumentSpaceAccess
public DocumentSpaceAccess(boolean canManageAccess, boolean keptInsideSpace) Creates an instance of aDocumentSpaceAccessrecord class.- Parameters:
canManageAccess- the value for thecanManageAccessrecord componentkeptInsideSpace- the value for thekeptInsideSpacerecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with thecomparemethod from their corresponding wrapper classes. -
canManageAccess
public boolean canManageAccess()Returns the value of thecanManageAccessrecord component.- Returns:
- the value of the
canManageAccessrecord component
-
keptInsideSpace
public boolean keptInsideSpace()Returns the value of thekeptInsideSpacerecord component.- Returns:
- the value of the
keptInsideSpacerecord component
-