Package com.storedobject.ui
Interface ObjectGetField.GetProvider<O extends StoredObject>
- Type Parameters:
O
- Type of object class for the "get".
- All Known Implementing Classes:
ObjectGetField.GetSupplier
,ObjectGetField.GetTypedSupplier
- Enclosing class:
ObjectGetField<T extends StoredObject>
public static interface ObjectGetField.GetProvider<O extends StoredObject>
The
ObjectGetField
requires a "get provider" to provide objects or list of objects based on
a search text. This interface defines the required methods for that.- Author:
- Syam
-
Method Summary
Modifier and TypeMethodDescriptiongetTextObject
(SystemEntity systemEntity, String searchText) Get an object instance for the search text specified.listTextObjects
(SystemEntity systemEntity, String searchText) Get a list of object instances for the search text specified.
-
Method Details
-
getTextObject
Get an object instance for the search text specified.- Parameters:
systemEntity
- System entity for which this search should be conducted.searchText
- Search text for which object instance needs to be returned.- Returns:
- Object instance matching the search text.
- Throws:
Exception
- If any error occurs while retrieving the object instance.
-
listTextObjects
Get a list of object instances for the search text specified.- Parameters:
systemEntity
- System entity for which this search should be conducted.searchText
- Search text for which object instances need to be returned.- Returns:
- Object instances matching the search text as an iterator.
- Throws:
Exception
- If any error occurs while retrieving the object instances.
-