org.jafer.osid.provider
Class RepositoryManager
java.lang.Object
org.jafer.osid.provider.RepositoryManager
- All Implemented Interfaces:
- java.io.Serializable, org.osid.OsidManager, org.osid.repository.RepositoryManager
public class RepositoryManager
- extends java.lang.Object
- implements org.osid.repository.RepositoryManager
- See Also:
- Serialized Form
Field Summary |
(package private) java.util.Properties |
configuration
|
(package private) org.osid.OsidContext |
context
|
Method Summary |
void |
assignConfiguration(java.util.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(java.lang.String displayName,
java.lang.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,
java.io.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()
Verify to OsidLoader that it is loading |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
context
org.osid.OsidContext context
configuration
java.util.Properties configuration
RepositoryManager
public RepositoryManager()
assignOsidContext
public void assignOsidContext(org.osid.OsidContext context)
throws org.osid.OsidException
- Specified by:
assignOsidContext
in interface org.osid.OsidManager
- Throws:
org.osid.OsidException
assignConfiguration
public void assignConfiguration(java.util.Properties configuration)
throws org.osid.OsidException
- Specified by:
assignConfiguration
in interface org.osid.OsidManager
- Throws:
org.osid.OsidException
getOsidContext
public org.osid.OsidContext getOsidContext()
throws org.osid.OsidException
- Specified by:
getOsidContext
in interface org.osid.OsidManager
- Throws:
org.osid.OsidException
getRepositories
public org.osid.repository.RepositoryIterator getRepositories()
throws org.osid.repository.RepositoryException
- Specified by:
getRepositories
in interface org.osid.repository.RepositoryManager
- Throws:
org.osid.repository.RepositoryException
getRepository
public org.osid.repository.Repository getRepository(org.osid.shared.Id repositoryId)
throws org.osid.repository.RepositoryException
- Specified by:
getRepository
in interface org.osid.repository.RepositoryManager
- Throws:
org.osid.repository.RepositoryException
createRepository
public org.osid.repository.Repository createRepository(java.lang.String displayName,
java.lang.String description,
org.osid.shared.Type repositoryType)
throws org.osid.repository.RepositoryException
- Specified by:
createRepository
in interface org.osid.repository.RepositoryManager
- Throws:
org.osid.repository.RepositoryException
deleteRepository
public void deleteRepository(org.osid.shared.Id repositoryId)
throws org.osid.repository.RepositoryException
- Specified by:
deleteRepository
in interface org.osid.repository.RepositoryManager
- Throws:
org.osid.repository.RepositoryException
getRepositoriesByType
public org.osid.repository.RepositoryIterator getRepositoriesByType(org.osid.shared.Type repositoryType)
throws org.osid.repository.RepositoryException
- Specified by:
getRepositoriesByType
in interface org.osid.repository.RepositoryManager
- Throws:
org.osid.repository.RepositoryException
getAsset
public org.osid.repository.Asset getAsset(org.osid.shared.Id assetId)
throws org.osid.repository.RepositoryException
- Specified by:
getAsset
in interface org.osid.repository.RepositoryManager
- Throws:
org.osid.repository.RepositoryException
getAssetByDate
public org.osid.repository.Asset getAssetByDate(org.osid.shared.Id assetId,
long date)
throws org.osid.repository.RepositoryException
- Specified by:
getAssetByDate
in interface org.osid.repository.RepositoryManager
- Throws:
org.osid.repository.RepositoryException
getAssetDates
public org.osid.shared.LongValueIterator getAssetDates(org.osid.shared.Id assetId)
throws org.osid.repository.RepositoryException
- Specified by:
getAssetDates
in interface org.osid.repository.RepositoryManager
- Throws:
org.osid.repository.RepositoryException
getAssetsBySearch
public org.osid.repository.AssetIterator getAssetsBySearch(org.osid.repository.Repository[] repositories,
java.io.Serializable searchCriteria,
org.osid.shared.Type searchType,
org.osid.shared.Properties searchProperties)
throws org.osid.repository.RepositoryException
- Specified by:
getAssetsBySearch
in interface org.osid.repository.RepositoryManager
- Throws:
org.osid.repository.RepositoryException
copyAsset
public org.osid.shared.Id copyAsset(org.osid.repository.Repository repository,
org.osid.shared.Id assetId)
throws org.osid.repository.RepositoryException
- Specified by:
copyAsset
in interface org.osid.repository.RepositoryManager
- Throws:
org.osid.repository.RepositoryException
getRepositoryTypes
public org.osid.shared.TypeIterator getRepositoryTypes()
throws org.osid.repository.RepositoryException
- Specified by:
getRepositoryTypes
in interface org.osid.repository.RepositoryManager
- Throws:
org.osid.repository.RepositoryException
osidVersion_2_0
public void osidVersion_2_0()
throws org.osid.OsidException
- Verify to OsidLoader that it is loading
OSID Version: 2.0
.
- Specified by:
osidVersion_2_0
in interface org.osid.OsidManager
- Throws:
org.osid.OsidException