public interface SearchQueryResult
Java interface provides a mechanism to build
and execute a search query| Modifier and Type | Field and Description |
|---|---|
static int |
ATTRIBUTES_RESULT_TYPE |
static int |
ID_RESULT_TYPE |
static int |
ITERATOR_MODE |
static int |
LIST_MODE |
static int |
OBJECT_RESULT_TYPE |
| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator<AttributeSet> |
getAttributeSetIterator()
Gets an iterator which allow to iterate on the requested attribute sets;
This method throws an IllegalStateException
runtime exception if the SearchMode is not
ITERATOR_MODE or if the type is not ATTRIBUTES_RESULT_TYPE.
|
java.util.Vector<AttributeSet> |
getAttributeSetList()
Gets the list of attributes for searched items
|
java.util.Iterator<?> |
getIDIterator()
Gets an iterator which allow to iterate on the requested object IDs;
This method throws an IllegalStateException
runtime exception if the SearchMode is not
ITERATOR_MODE or if the type is not ID_RESULT_TYPE.
|
java.util.Vector<?> |
getIDList()
Gets the list of Ids for searched items;
This method throws an IllegalStateException
runtime exception if the SearchMode is not
LIST_MODE or if the type is not ID_RESULT_TYPE.
|
java.lang.String |
getLastID()
Gets the last identifier of the result list
|
java.util.Iterator<? extends XMLMarshallable> |
getObjectIterator()
Gets an iterator which allow to iterate on the requested objects;
This method throws an IllegalStateException
runtime exception if the SearchMode is not
ITERATOR_MODE or if the type is not OBJECT_RESULT_TYPE.
|
java.util.Vector<XMLMarshallable> |
getObjectList()
Gets the list of searched items;
This method throws an IllegalStateException
runtime exception if the SearchMode is not
LIST_MODE or if the type is not OBJECT_RESULT_TYPE.
|
int |
getResultType()
Returns the result type (IDs or Object)
|
int |
getSearchMode()
Returns the search mode (LIST_MODE or ITERATOR_MODE)
|
int |
getTotalCount()
Returns the total count of targeted items if this
count has been required in the search filter.
|
static final int ID_RESULT_TYPE
static final int OBJECT_RESULT_TYPE
static final int ATTRIBUTES_RESULT_TYPE
static final int LIST_MODE
static final int ITERATOR_MODE
int getSearchMode()
int getResultType()
java.util.Vector<?> getIDList()
java.util.Vector<AttributeSet> getAttributeSetList()
java.util.Vector<XMLMarshallable> getObjectList()
java.util.Iterator<? extends XMLMarshallable> getObjectIterator()
java.util.Iterator<AttributeSet> getAttributeSetIterator()
attributeSetjava.util.Iterator<?> getIDIterator()
int getTotalCount()
java.lang.String getLastID()