Oracle® WebCenter Interaction Development Kit 10.3.3.0.0

ISelectionList Interface

Represents a selection list; a user-defined list of text values that specifies the list of valid values for an ISelectionListProperty property that can be added to an IDataEntryTemplate. An ISelectionList is similar to a drop-down menu which contains multiple pre-defined text values for a property. A user can select from the pre-defined list of values instead of typing a value for a text field. A selection list simplifies content item creation because it ensures that the value is spelled correctly and it is a valid value for that field.

A selection list can only be deleted if it is not currently being used by a IDataEntryTemplate. A given selection list can be reused in multiple ISelectionListPropertys and in different IDataEntryTemplates.

In the following example, a selection list is created that contains abbreviations for the U.S. states.

// Create a selection list representing states
String[] stateOptionValues = {"CA", "MA"};
ISelectionList stateSelectionList = selectionListManager.CreateSelectionList(rootFolder, "State Selection List", stateOptionValues);
stateSelectionList.store();
// Expand the list options
String[] expandedStateOptionValues = {"OR", "NY"};
stateSelectionList.AddValues(expandedStateOptionValues);
stateSelectionList.Store();
// The list now contains "CA", "MA", "OR", "NY"
// Remove the expanded options
stateSelectionList.RemoveValues(expandedStateOptionValues);
stateSelectionList.Store();
// The list now contains "CA", "MA"

For a list of all members of this type, see ISelectionList Members.

public interface ISelectionList

Requirements

Namespace: Plumtree.Remote.PRC.Content.SelectionList

Assembly: idk (in idk.dll)

See Also

ISelectionList Members | Plumtree.Remote.PRC.Content.SelectionList Namespace