Record Class SearchMatchRequest
java.lang.Object
java.lang.Record
io.meeds.social.search.model.SearchMatchRequest
- Record Components:
viewer- the user who searches, with their membershipsterm- the keyword as the host processed it for its own queryspaceIds- the spaces the search is restricted to, empty for alllimit- the number of results the search showslocale- the viewer's language, for the labels of what matched
-
Constructor Summary
ConstructorsConstructorDescriptionSearchMatchRequest(org.exoplatform.services.security.Identity viewer, String term, List<Long> spaceIds, int limit, Locale locale) Creates an instance of aSearchMatchRequestrecord 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.intlimit()Returns the value of thelimitrecord component.locale()Returns the value of thelocalerecord component.spaceIds()Returns the value of thespaceIdsrecord component.term()Returns the value of thetermrecord component.final StringtoString()Returns a string representation of this record class.org.exoplatform.services.security.Identityviewer()Returns the value of theviewerrecord component.
-
Constructor Details
-
SearchMatchRequest
-
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
viewer
-
term
-
spaceIds
-
limit
-
locale
-