Class RepositoryManager
- java.lang.Object
-
- edu.indiana.lib.osid.base.repository.RepositoryManager
-
- All Implemented Interfaces:
Serializable,org.osid.OsidManager,org.osid.repository.RepositoryManager
- Direct Known Subclasses:
RepositoryManager
public abstract class RepositoryManager extends Object implements org.osid.repository.RepositoryManager
$URL$ $Id$ Copyright (c) 2003, 2004, 2005, 2007, 2008 The Sakai Foundation Licensed under the Educational Community License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.opensource.org/licenses/ECL-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RepositoryManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidassignConfiguration(Properties configuration)voidassignOsidContext(org.osid.OsidContext context)org.osid.shared.IdcopyAsset(org.osid.repository.Repository repository, org.osid.shared.Id assetId)org.osid.repository.RepositorycreateRepository(String displayName, String description, org.osid.shared.Type repositoryType)voiddeleteRepository(org.osid.shared.Id repositoryId)org.osid.repository.AssetgetAsset(org.osid.shared.Id assetId)org.osid.repository.AssetgetAssetByDate(org.osid.shared.Id assetId, long date)org.osid.shared.LongValueIteratorgetAssetDates(org.osid.shared.Id assetId)org.osid.repository.AssetIteratorgetAssetsBySearch(org.osid.repository.Repository[] repositories, Serializable searchCriteria, org.osid.shared.Type searchType, org.osid.shared.Properties searchProperties)org.osid.OsidContextgetOsidContext()org.osid.repository.RepositoryIteratorgetRepositories()org.osid.repository.RepositoryIteratorgetRepositoriesByType(org.osid.shared.Type repositoryType)org.osid.repository.RepositorygetRepository(org.osid.shared.Id repositoryId)org.osid.shared.TypeIteratorgetRepositoryTypes()voidosidVersion_2_0()
-
-
-
Method Detail
-
getOsidContext
public org.osid.OsidContext getOsidContext() throws org.osid.repository.RepositoryException- Specified by:
getOsidContextin interfaceorg.osid.OsidManager- Throws:
org.osid.repository.RepositoryException
-
assignOsidContext
public void assignOsidContext(org.osid.OsidContext context) throws org.osid.repository.RepositoryException- Specified by:
assignOsidContextin interfaceorg.osid.OsidManager- Throws:
org.osid.repository.RepositoryException
-
assignConfiguration
public void assignConfiguration(Properties configuration) throws org.osid.repository.RepositoryException
- Specified by:
assignConfigurationin interfaceorg.osid.OsidManager- Throws:
org.osid.repository.RepositoryException
-
createRepository
public org.osid.repository.Repository createRepository(String displayName, String description, org.osid.shared.Type repositoryType) throws org.osid.repository.RepositoryException
- Specified by:
createRepositoryin interfaceorg.osid.repository.RepositoryManager- Throws:
org.osid.repository.RepositoryException
-
deleteRepository
public void deleteRepository(org.osid.shared.Id repositoryId) throws org.osid.repository.RepositoryException- Specified by:
deleteRepositoryin interfaceorg.osid.repository.RepositoryManager- Throws:
org.osid.repository.RepositoryException
-
getRepositories
public org.osid.repository.RepositoryIterator getRepositories() throws org.osid.repository.RepositoryException- Specified by:
getRepositoriesin interfaceorg.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:
getRepositoriesByTypein interfaceorg.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:
getRepositoryin interfaceorg.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:
getAssetin interfaceorg.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:
getAssetByDatein interfaceorg.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:
getAssetDatesin interfaceorg.osid.repository.RepositoryManager- Throws:
org.osid.repository.RepositoryException
-
getAssetsBySearch
public 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- Specified by:
getAssetsBySearchin interfaceorg.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:
copyAssetin interfaceorg.osid.repository.RepositoryManager- Throws:
org.osid.repository.RepositoryException
-
getRepositoryTypes
public org.osid.shared.TypeIterator getRepositoryTypes() throws org.osid.repository.RepositoryException- Specified by:
getRepositoryTypesin interfaceorg.osid.repository.RepositoryManager- Throws:
org.osid.repository.RepositoryException
-
osidVersion_2_0
public void osidVersion_2_0() throws org.osid.repository.RepositoryException- Specified by:
osidVersion_2_0in interfaceorg.osid.OsidManager- Throws:
org.osid.repository.RepositoryException
-
-