Nuxeo Enterprise Platform 5.4

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:
java.io.Serializable

public class Selection
extends java.lang.Object
implements java.io.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()
           
 java.lang.String getColumnValue(int i)
           
 java.lang.String[] getLabels()
           
 java.lang.String getParentKey(int index, boolean qualifiedParentKeys, java.lang.String keySeparator)
           
 int getSize()
           
 java.lang.String getValue()
           
 java.lang.String getValue(java.lang.String keySeparator)
           
 java.lang.String[] getValues()
           
 java.lang.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 java.lang.String getColumnValue(int i)

getValues

public java.lang.String[] getValues()

getValue

public java.lang.String getValue()

getValue

public java.lang.String getValue(java.lang.String keySeparator)

getLabels

public java.lang.String[] getLabels()

getParentKey

public java.lang.String getParentKey(int index,
                                     boolean qualifiedParentKeys,
                                     java.lang.String keySeparator)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getSize

public int getSize()
Returns:

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.