Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.ui.web.directory
Class Selection

java.lang.Object
  extended by org.nuxeo.ecm.platform.ui.web.directory.Selection
All Implemented Interfaces:
Serializable

public class Selection
extends Object
implements Serializable

This class represents a list of directory items { item1, item2, item3, .. }, where item <i> represents the item selected for combo with index i in a chain. The value of a chain select is a list of Selection objects.

Author:
George Lefter
See Also:
Serialized Form

Constructor Summary
Selection(DirectorySelectItem[] columns)
           
 
Method Summary
 DirectorySelectItem getColumn(int i)
           
 DirectorySelectItem[] getColumns()
           
 String getColumnValue(int i)
           
 String[] getLabels()
           
 String getParentKey(int index, boolean qualifiedParentKeys, String keySeparator)
           
 int getSize()
           
 String getValue()
           
 String getValue(String keySeparator)
           
 String[] getValues()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Selection

public Selection(DirectorySelectItem[] columns)
Method Detail

getColumns

public DirectorySelectItem[] getColumns()

getColumn

public DirectorySelectItem getColumn(int i)

getColumnValue

public String getColumnValue(int i)

getValues

public String[] getValues()

getValue

public String getValue()

getValue

public String getValue(String keySeparator)

getLabels

public String[] getLabels()

getParentKey

public String getParentKey(int index,
                           boolean qualifiedParentKeys,
                           String keySeparator)

toString

public String toString()
Overrides:
toString in class Object

getSize

public int getSize()
Returns:

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.