|
FileNet Content Services Java Connector v3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A ChoiceList
collection represents a set of choices for a settable property.
The elements in the collection are Choice
objects, which represent
the possible values of the property. Choice lists provide a mechanism to
prevent users from entering erroneous values for custom properties. They also
provide a way to group values so that users can easily find the desired value.
The data type for the Choice
objects contained in the
ChoiceList
collection is either string or integer, and matches the data
type for the property associated with the ChoiceList
collection.
You cannot create a new ChoiceList
collection via the CS Java
Connector. You can instantiate a persisted one in the following ways:
getChoices
method on a PropertyDescription
object or by retrieving the object's
ChoiceList property, which returns the collection
of Choice
objects for the PropertyDescription
object.
getChoices
method on a SearchPropertyDescription
object or by retrieving the object's
ChoiceList property, which returns the collection
of Choice
objects for the SearchPropertyDescription
object.
ChoiceLists
collection, then returning a
ChoiceList
from the collection.
See the ChoiceLists
interface for ways to instantiate a ChoiceLists
collection.
Field Summary |
Methods inherited from interface com.filenet.wcm.api.ReadableMetadataObject |
getProperties, getProperties, getPropertiesXML, getPropertyBinaryValue, getPropertyBooleanValue, getPropertyDateValue, getPropertyDoubleValue, getPropertyIntValue, getPropertyStringValue, getPropertyValue, getPropertyValuesValue, refresh, refresh |
Methods inherited from interface com.filenet.wcm.api.BaseObject |
equals, exportObject, getClassId, getId, getName, getObjectStoreId, getObjectType, getSession, hashCode, thisBaseObject |
Methods inherited from interface java.util.List |
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray |
|
FileNet Content Services Java Connector v3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |