@ProviderType public final class PredicateSuggestion extends java.lang.Object
PredicateSuggestion
class have all the properties of
a predicate that is require to show predicate as a suggestion on UI.Constructor and Description |
---|
PredicateSuggestion(java.lang.String type,
java.lang.String optionTitle)
Creates a new instance of
PredicateSuggestion i.e. |
PredicateSuggestion(java.lang.String type,
java.lang.String optionTitle,
java.lang.String typePath,
java.lang.String optionPath)
Creates a new instance of
PredicateSuggestion i.e. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getOptionPath() |
java.lang.String |
getOptionTitle() |
java.util.Map<java.lang.String,java.lang.String> |
getQueryParameters() |
java.lang.String |
getType() |
java.lang.String |
getTypePath() |
void |
setQueryParameters(java.util.Map<java.lang.String,java.lang.String> queryParameters) |
public PredicateSuggestion(java.lang.String type, java.lang.String optionTitle)
PredicateSuggestion
i.e. File Type: Imagetype
- Type of predicate i.e. "File Type"optionTitle
- Title of predicate option i.e. "Image"public PredicateSuggestion(java.lang.String type, java.lang.String optionTitle, java.lang.String typePath, java.lang.String optionPath)
PredicateSuggestion
i.e. File Type: Imagetype
- Type of predicate i.e. "File Type"optionTitle
- Title of predicate option i.e. "Image"typePath
- Path of the type node in the JCRoptionPath
- Ppath of the node from where option is read in jcr.public java.lang.String getType()
public java.lang.String getTypePath()
public java.lang.String getOptionTitle()
public java.lang.String getOptionPath()
public java.util.Map<java.lang.String,java.lang.String> getQueryParameters()
public void setQueryParameters(java.util.Map<java.lang.String,java.lang.String> queryParameters)
queryParameters
- Map
of Parameters that needed to be included in
PredicateSuggestion
Copyright © 2010 - 2020 Adobe. All Rights Reserved