public class AssetIterator extends AssetIterator
| Modifier | Constructor and Description |
|---|---|
protected |
AssetIterator(String database,
QueryBase queryBase,
SearchResultBase searchResult,
org.osid.shared.Properties searchProperties,
org.osid.shared.Id repositoryId,
SessionContext sessionContext)
Constructor
|
protected |
AssetIterator(Vector vector)
Unused constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNextAsset()
Is another Asset available?
|
protected void |
initialize(org.osid.shared.Properties searchProperties)
Initialize
|
org.osid.repository.Asset |
nextAsset()
Fetch the next available search result (from the "Asset queue")
|
protected AssetIterator(Vector vector)
protected AssetIterator(String database, QueryBase queryBase, SearchResultBase searchResult, org.osid.shared.Properties searchProperties, org.osid.shared.Id repositoryId, SessionContext sessionContext) throws org.osid.repository.RepositoryException
database - The database (or target) for this searchsearchProperties - Property list (search characteristics, provided by our caller)repositoryId - Unique Repository IDsessionContext - Context data for the current user/callerorg.osid.repository.RepositoryExceptionprotected void initialize(org.osid.shared.Properties searchProperties)
throws org.osid.shared.SharedException
searchProperties - Property list (search characteristics, provided by our caller)org.osid.shared.SharedExceptionpublic boolean hasNextAsset()
throws org.osid.repository.RepositoryException
hasNextAsset in interface org.osid.repository.AssetIteratorhasNextAsset in class AssetIteratororg.osid.repository.RepositoryExceptionpublic org.osid.repository.Asset nextAsset()
throws org.osid.repository.RepositoryException
nextAsset in interface org.osid.repository.AssetIteratornextAsset in class AssetIteratororg.osid.repository.RepositoryExceptionCopyright © 2023. All rights reserved.