Package com.persequor.event
Class VocabularySearchRequest
java.lang.Object
com.persequor.event.VocabularySearchRequest
Parametrized query used for searching vocabularies
-
Method Summary
Modifier and TypeMethodDescriptionaddAttributeFilters
(String... attributeFilters) addAttributeMatch
(String attribute, String... valueMatches) addHasAttributes
(String... hasAttributes) static VocabularySearchRequest
build
(VocabularyUri vocabularyUri) boolean
int
hashCode()
boolean
boolean
setAttributeFilters
(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
-
getVocabularyType
-
getElementId
-
setElementId
-
isIncludeAttributes
public boolean isIncludeAttributes() -
setIncludeAttributes
-
getAttributeFilters
-
addAttributeFilters
-
isIncludeChildList
public boolean isIncludeChildList() -
setIncludeChildList
-
getFromDate
-
setFromDate
-
getToDate
-
setToDate
-
getAttributeMatch
-
addAttributeMatch
-
getHasAttributes
-
addHasAttributes
-
setAttributeFilters
Clear all attributes and if the provided collection is not null use all the attributes from that collectionAttribute filters are used to filter out attributes by their names
- Parameters:
attributeNames
- collection of attributes names to allow- Returns:
- instance of this request
-
setAttributeMatch
Clear all attributes and if the provided collection is not null use all the attributes from that collectionAttribute matchers are used to filter out attributes by value and matching name
- Parameters:
attributeMatch
- allowed values for matching attribute name- Returns:
- instance of this request
-
setHasAttributes
Clear 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 attributes
- Parameters:
hasAttributes
- need vocabulary element attributes- Returns:
- instance of this request
-
equals
-
hashCode
public int hashCode() -
setVocabularyUri
-