Package com.persequor.event
Class VocabularySearchRequest
java.lang.Object
com.persequor.event.VocabularySearchRequest
Parametrized query used for searching vocabularies
- 
Method SummaryModifier and TypeMethodDescriptionaddAttributeFilters(String... attributeFilters) addAttributeMatch(String attribute, String... valueMatches) addHasAttributes(String... hasAttributes) static VocabularySearchRequestbuild(VocabularyUri vocabularyUri) booleaninthashCode()booleanbooleansetAttributeFilters(Collection<String> attributeNames) Clear all attributes and if the provided collection is not null use all the attributes from that collectionsetAttributeMatch(Map<String, List<String>> attributeMatch) Clear all attributes and if the provided collection is not null use all the attributes from that collectionsetElementId(ElementUri elementId) setFromDate(Date fromDate) setHasAttributes(Collection<String> hasAttributes) Clear all attributes and if the provided collection is not null use all the attributes from that collectionsetIncludeAttributes(boolean includeAttributes) setIncludeChildList(boolean includeChildList) void
- 
Method Details- 
build
- 
getVocabularyUri
- 
getElementId
- 
setElementId
- 
isIncludeAttributespublic boolean isIncludeAttributes()
- 
setIncludeAttributes
- 
getAttributeFilters
- 
addAttributeFilters
- 
isIncludeChildListpublic boolean isIncludeChildList()
- 
setIncludeChildList
- 
getFromDate
- 
setFromDate
- 
getToDate
- 
setToDate
- 
getAttributeMatch
- 
addAttributeMatch
- 
getHasAttributes
- 
addHasAttributes
- 
setAttributeFiltersClear all attributes and if the provided collection is not null use all the attributes from that collectionAttribute filters are used to filter out attributes of matched elements by the attribute names. They do not affect what elements will match, only what attributes will be included in the result. - Parameters:
- attributeNames- collection of attributes names to allow
- Returns:
- instance of this request
 
- 
setAttributeMatchClear all attributes and if the provided collection is not null use all the attributes from that collectionAttribute matchers are used to filter out vocabulary elements by attribute name and values. Element has to match all attribute matchers. - Parameters:
- attributeMatch- allowed values for matching attribute name
- Returns:
- instance of this request
 
- 
setHasAttributesClear all attributes and if the provided collection is not null use all the attributes from that collectionHas attributes is used to filter out vocabulary elements that don't have any of the required attribute names - Parameters:
- hasAttributes- need vocabulary element attributes
- Returns:
- instance of this request
 
- 
equals
- 
hashCodepublic int hashCode()
- 
setVocabularyUri
- 
getAttributeFiltersAsPredicate
 
-