public interface ContentList extends Enumeration
| Modifier and Type | Method and Description |
|---|---|
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)
|
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.
|
hasMoreElements, nextElementint 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 toContentEntry 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 ContentDatabaseFilterDatabaseException; - see DatabaseException for exception reasons.DatabaseExceptionCopyright © 2013 CableLabs. All rights reserved.