Package com.xwiki.pickers
Class SuggestSpacesReference
- java.lang.Object
-
- com.xwiki.pickers.SuggestSpacesReference
-
public class SuggestSpacesReference extends Object
Multi space picker.- Version:
- $Id$
-
-
Constructor Summary
Constructors Constructor Description SuggestSpacesReference(String references, org.xwiki.model.reference.SpaceReferenceResolver resolver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<org.xwiki.model.reference.SpaceReference>getSpacesAsReference()Get the spaces as a list of SpaceReferences.List<String>getSpacesAsString()Get the spaces as a list of strings.
-
-
-
Constructor Detail
-
SuggestSpacesReference
public SuggestSpacesReference(String references, org.xwiki.model.reference.SpaceReferenceResolver resolver)
- Parameters:
references- the string value of the referenceresolver- resolver to transform the string in a space reference
-
-
Method Detail
-
getSpacesAsString
public List<String> getSpacesAsString()
Get the spaces as a list of strings.- Returns:
- list of strings
-
getSpacesAsReference
public List<org.xwiki.model.reference.SpaceReference> getSpacesAsReference()
Get the spaces as a list of SpaceReferences.- Returns:
- list of SpaceReferences
-
-