public abstract class RepositoryManager extends Object implements org.osid.repository.RepositoryManager
| Constructor and Description |
|---|
RepositoryManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
assignConfiguration(Properties configuration) |
void |
assignOsidContext(org.osid.OsidContext context) |
org.osid.shared.Id |
copyAsset(org.osid.repository.Repository repository,
org.osid.shared.Id assetId) |
org.osid.repository.Repository |
createRepository(String displayName,
String description,
org.osid.shared.Type repositoryType) |
void |
deleteRepository(org.osid.shared.Id repositoryId) |
org.osid.repository.Asset |
getAsset(org.osid.shared.Id assetId) |
org.osid.repository.Asset |
getAssetByDate(org.osid.shared.Id assetId,
long date) |
org.osid.shared.LongValueIterator |
getAssetDates(org.osid.shared.Id assetId) |
org.osid.repository.AssetIterator |
getAssetsBySearch(org.osid.repository.Repository[] repositories,
Serializable searchCriteria,
org.osid.shared.Type searchType,
org.osid.shared.Properties searchProperties) |
org.osid.OsidContext |
getOsidContext() |
org.osid.repository.RepositoryIterator |
getRepositories() |
org.osid.repository.RepositoryIterator |
getRepositoriesByType(org.osid.shared.Type repositoryType) |
org.osid.repository.Repository |
getRepository(org.osid.shared.Id repositoryId) |
org.osid.shared.TypeIterator |
getRepositoryTypes() |
void |
osidVersion_2_0() |
public org.osid.OsidContext getOsidContext()
throws org.osid.repository.RepositoryException
getOsidContext in interface org.osid.OsidManagerorg.osid.repository.RepositoryExceptionpublic void assignOsidContext(org.osid.OsidContext context)
throws org.osid.repository.RepositoryException
assignOsidContext in interface org.osid.OsidManagerorg.osid.repository.RepositoryExceptionpublic void assignConfiguration(Properties configuration) throws org.osid.repository.RepositoryException
assignConfiguration in interface org.osid.OsidManagerorg.osid.repository.RepositoryExceptionpublic org.osid.repository.Repository createRepository(String displayName, String description, org.osid.shared.Type repositoryType) throws org.osid.repository.RepositoryException
createRepository in interface org.osid.repository.RepositoryManagerorg.osid.repository.RepositoryExceptionpublic void deleteRepository(org.osid.shared.Id repositoryId)
throws org.osid.repository.RepositoryException
deleteRepository in interface org.osid.repository.RepositoryManagerorg.osid.repository.RepositoryExceptionpublic org.osid.repository.RepositoryIterator getRepositories()
throws org.osid.repository.RepositoryException
getRepositories in interface org.osid.repository.RepositoryManagerorg.osid.repository.RepositoryExceptionpublic org.osid.repository.RepositoryIterator getRepositoriesByType(org.osid.shared.Type repositoryType)
throws org.osid.repository.RepositoryException
getRepositoriesByType in interface org.osid.repository.RepositoryManagerorg.osid.repository.RepositoryExceptionpublic org.osid.repository.Repository getRepository(org.osid.shared.Id repositoryId)
throws org.osid.repository.RepositoryException
getRepository in interface org.osid.repository.RepositoryManagerorg.osid.repository.RepositoryExceptionpublic org.osid.repository.Asset getAsset(org.osid.shared.Id assetId)
throws org.osid.repository.RepositoryException
getAsset in interface org.osid.repository.RepositoryManagerorg.osid.repository.RepositoryExceptionpublic org.osid.repository.Asset getAssetByDate(org.osid.shared.Id assetId,
long date)
throws org.osid.repository.RepositoryException
getAssetByDate in interface org.osid.repository.RepositoryManagerorg.osid.repository.RepositoryExceptionpublic org.osid.shared.LongValueIterator getAssetDates(org.osid.shared.Id assetId)
throws org.osid.repository.RepositoryException
getAssetDates in interface org.osid.repository.RepositoryManagerorg.osid.repository.RepositoryExceptionpublic org.osid.repository.AssetIterator getAssetsBySearch(org.osid.repository.Repository[] repositories,
Serializable searchCriteria,
org.osid.shared.Type searchType,
org.osid.shared.Properties searchProperties)
throws org.osid.repository.RepositoryException
getAssetsBySearch in interface org.osid.repository.RepositoryManagerorg.osid.repository.RepositoryExceptionpublic org.osid.shared.Id copyAsset(org.osid.repository.Repository repository,
org.osid.shared.Id assetId)
throws org.osid.repository.RepositoryException
copyAsset in interface org.osid.repository.RepositoryManagerorg.osid.repository.RepositoryExceptionpublic org.osid.shared.TypeIterator getRepositoryTypes()
throws org.osid.repository.RepositoryException
getRepositoryTypes in interface org.osid.repository.RepositoryManagerorg.osid.repository.RepositoryExceptionpublic void osidVersion_2_0()
throws org.osid.repository.RepositoryException
osidVersion_2_0 in interface org.osid.OsidManagerorg.osid.repository.RepositoryExceptionCopyright © 2004–2020 Indiana University Library Information Technology. All rights reserved.