|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ContentList
This interface represents a list of filtered ContentEntry objects. A ContentList may contain a complete or partial subset of entries resulting from an application requested filter, browse or search.
| Method Summary | |
|---|---|
ContentList |
filterContentList(ContentDatabaseFilter filter)
Filters the ContentList. |
ContentEntry |
find(String[] keys,
Object[] values)
Finds the first ContentEntry which matches the search. |
ContentEntry |
find(String key,
Object value)
Finds the first ContentEntry which identifier for the key
'key' equals the given object obj. |
ContentList |
findAll(String[] keys,
Object[] values)
Finds all ContentEntry objects which match the search. |
String |
getSortOrder()
Gets the sort order set by the #setSortOrder method. |
void |
setSortOrder(String sortOrder)
Sets the metadata sort order of the items in this list based on metadata key identifiers using signed property values. |
int |
size()
Gets the number of ContentEntry objects in this ContentList. |
int |
totalMatches()
Gets to total number of ContentEntry matches in the filter, browse or search operation that generated this ContentList. |
| Methods inherited from interface java.util.Enumeration |
|---|
hasMoreElements, nextElement |
| Method Detail |
|---|
int size()
int totalMatches()
ContentServerNetModule.
void setSortOrder(String sortOrder)
sortOrder - a String representing the sortOrder for this ContentList.String getSortOrder()
ContentEntry find(String key,
Object value)
ContentEntry which identifier for the key
'key' equals the given object obj. For
instance, if key == "Title" then obj represents the title, e.g.
"Best movie ever" and this method will return the first ContentEntry in
the list than contains a match for the (key, value) pair.
key - The identifier key.value - The object to compare to
ContentEntry find(String[] keys,
Object[] values)
keys - Array of identifier keys.values - Array of values.
ContentList findAll(String[] keys,
Object[] values)
keys - Array of identifier keys.values - Array of values.
ContentList filterContentList(ContentDatabaseFilter filter)
throws DatabaseException
filter - the ContentDatabaseFilter
DatabaseException; - see DatabaseException for exception reasons.
DatabaseException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||