Esri Geoportal Server
1.0

com.esri.gpt.control.publication
Class SelectableGroups

java.lang.Object
  extended by com.esri.gpt.control.publication.SelectableGroups

public class SelectableGroups
extends Object

Defines a list of candidate access groups from the user interface.


Constructor Summary
SelectableGroups()
          Default constructor.
 
Method Summary
 void buildAllGroups(RequestContext context)
          Builds the list of candidate access.
 void buildConfiguredGroup(SelectItem item)
          Builds the list of candidate access.
 boolean getHasMultiple()
          Determines if the items list contains multiple groups.
 ArrayList<SelectItem> getItems()
          Gets the SelectItem list for UI display.
 String getSelectedKey()
          Gets the currently selected key.
 int getSize()
          Gets the size of the list.
 void setSelectedKey(String key)
          Sets the currently selected key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectableGroups

public SelectableGroups()
Default constructor.

Method Detail

getHasMultiple

public boolean getHasMultiple()
Determines if the items list contains multiple groups.

Returns:
true if the items list is greater that 1

getItems

public ArrayList<SelectItem> getItems()
Gets the SelectItem list for UI display.

Returns:
the SelectItem list

getSize

public int getSize()
Gets the size of the list.

Returns:
size of selactable groups

getSelectedKey

public String getSelectedKey()
Gets the currently selected key.

Returns:
the currently selected key

setSelectedKey

public void setSelectedKey(String key)
Sets the currently selected key.

Parameters:
key - the currently selected key

buildAllGroups

public void buildAllGroups(RequestContext context)
Builds the list of candidate access.

Parameters:
context - the active request context

buildConfiguredGroup

public void buildConfiguredGroup(SelectItem item)
Builds the list of candidate access.

Parameters:
item - SelectItem

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.