Record Class SpaceDocumentsExposure
java.lang.Object
java.lang.Record
org.exoplatform.documents.model.SpaceDocumentsExposure
- Record Components:
publicLinks- the count of the space's documents carrying a public link- the count of the space's documents and folders that keep at least one access entry outside the space once it keeps its documents inside: the everyone entry on the own access list of a document carrying a public link, which the turn-on takes off with the link, is not counted
What a space's documents expose outside the space
-
Constructor Summary
ConstructorsConstructorDescriptionSpaceDocumentsExposure(int publicLinks, int sharedOutside) Creates an instance of aSpaceDocumentsExposurerecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of thepublicLinksrecord component.intReturns the value of thesharedOutsiderecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SpaceDocumentsExposure
public SpaceDocumentsExposure(int publicLinks, int sharedOutside) Creates an instance of aSpaceDocumentsExposurerecord class.- Parameters:
publicLinks- the value for thepublicLinksrecord componentsharedOutside- the value for thesharedOutsiderecord 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. -
publicLinks
public int publicLinks()Returns the value of thepublicLinksrecord component.- Returns:
- the value of the
publicLinksrecord component
-