Package ch.tocco.nice2.rest.client.spi
Class AbstractAutoCompleteResource.AutoCompleteBuilder
java.lang.Object
ch.tocco.nice2.rest.client.spi.AbstractAutoCompleteResource.AutoCompleteBuilder
- Enclosing class:
AbstractAutoCompleteResource
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddField
(String field, @Nullable Object value, AbstractAutoCompleteResource.AutoCompleteMode mode) addMulti
(String field, List<Entity> value, AbstractAutoCompleteResource.AutoCompleteMode mode) addSingle
(String field, @Nullable Entity value, AbstractAutoCompleteResource.AutoCompleteMode mode) build()
overrideOrClearField
(String field, @Nullable Object value) overrideOrClearSingle
(String field, @Nullable Entity value) setSelfLink
(Class<? extends RestResource> resourceClass)
-
Constructor Details
-
AutoCompleteBuilder
public AutoCompleteBuilder()
-
-
Method Details
-
addField
public AbstractAutoCompleteResource.AutoCompleteBuilder addField(String field, @Nullable @Nullable Object value, AbstractAutoCompleteResource.AutoCompleteMode mode) -
overrideOrClearField
public AbstractAutoCompleteResource.AutoCompleteBuilder overrideOrClearField(String field, @Nullable @Nullable Object value) -
addSingle
public AbstractAutoCompleteResource.AutoCompleteBuilder addSingle(String field, @Nullable @Nullable Entity value, AbstractAutoCompleteResource.AutoCompleteMode mode) -
overrideOrClearSingle
public AbstractAutoCompleteResource.AutoCompleteBuilder overrideOrClearSingle(String field, @Nullable @Nullable Entity value) -
addMulti
public AbstractAutoCompleteResource.AutoCompleteBuilder addMulti(String field, List<Entity> value, AbstractAutoCompleteResource.AutoCompleteMode mode) -
clear
-
setSelfLink
public AbstractAutoCompleteResource.AutoCompleteBuilder setSelfLink(Class<? extends RestResource> resourceClass) -
build
-