List<Choice> choiceList = new ArrayList<Choice>();
for (DSpaceObject dso : result.getDspaceObjects())
{
ResearcherPage rp = (ResearcherPage) dso;
choiceList
.add(new Choice(ResearcherPageUtils
.getPersistentIdentifier(rp), rp
.getFullName(), ResearcherPageUtils
.getLabel(rp.getFullName(), rp)));
if (rp.getTranslatedName() != null
&& rp.getTranslatedName().getVisibility() == VisibilityConstants.PUBLIC
&& rp.getTranslatedName().getValue() != null)
{
choiceList.add(new Choice(ResearcherPageUtils
.getPersistentIdentifier(rp), rp
.getTranslatedName().getValue(),
ResearcherPageUtils.getLabel(rp
.getTranslatedName().getValue(), rp)));
}
for (RestrictedField variant : rp.getVariants())
{
if (variant.getValue() != null
&& variant.getVisibility() == VisibilityConstants.PUBLIC)
{
choiceList.add(new Choice(ResearcherPageUtils