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.RepositoryException
protected void initialize(org.osid.shared.Properties searchProperties) throws org.osid.shared.SharedException
searchProperties
- Property list (search characteristics, provided by our caller)org.osid.shared.SharedException
public boolean hasNextAsset() throws org.osid.repository.RepositoryException
hasNextAsset
in interface org.osid.repository.AssetIterator
hasNextAsset
in class AssetIterator
org.osid.repository.RepositoryException
public org.osid.repository.Asset nextAsset() throws org.osid.repository.RepositoryException
nextAsset
in interface org.osid.repository.AssetIterator
nextAsset
in class AssetIterator
org.osid.repository.RepositoryException
Copyright © 2003–2019 The Sakai Foundation. All rights reserved.