001: package edu.indiana.lib.osid.base.repository;
002:
003: /**********************************************************************************
004: * $URL: https://source.sakaiproject.org/svn/citations/tags/sakai_2-4-1/citations-osid/web2bridge/src/java/edu/indiana/lib/osid/base/repository/RepositoryManager.java $
005: * $Id: RepositoryManager.java 22657 2007-03-15 13:21:23Z jimeng@umich.edu $
006: **********************************************************************************
007: *
008: * Copyright (c) 2003, 2004, 2005 The Regents of the University of Michigan, Trustees of Indiana University,
009: * Board of Trustees of the Leland Stanford, Jr., University, and The MIT Corporation
010: *
011: * Licensed under the Educational Community License Version 1.0 (the "License");
012: * By obtaining, using and/or copying this Original Work, you agree that you have read,
013: * understand, and will comply with the terms and conditions of the Educational Community License.
014: * You may obtain a copy of the License at:
015: *
016: * http://cvs.sakaiproject.org/licenses/license_1_0.html
017: *
018: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
019: * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
020: * AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
021: * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
022: * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
023: *
024: **********************************************************************************/
025: public abstract class RepositoryManager implements
026: org.osid.repository.RepositoryManager {
027: public org.osid.OsidContext getOsidContext()
028: throws org.osid.repository.RepositoryException {
029: throw new org.osid.repository.RepositoryException(
030: org.osid.OsidException.UNIMPLEMENTED);
031: }
032:
033: public void assignOsidContext(org.osid.OsidContext context)
034: throws org.osid.repository.RepositoryException {
035: throw new org.osid.repository.RepositoryException(
036: org.osid.OsidException.UNIMPLEMENTED);
037: }
038:
039: public void assignConfiguration(java.util.Properties configuration)
040: throws org.osid.repository.RepositoryException {
041: throw new org.osid.repository.RepositoryException(
042: org.osid.OsidException.UNIMPLEMENTED);
043: }
044:
045: public org.osid.repository.Repository createRepository(
046: String displayName, String description,
047: org.osid.shared.Type repositoryType)
048: throws org.osid.repository.RepositoryException {
049: throw new org.osid.repository.RepositoryException(
050: org.osid.OsidException.UNIMPLEMENTED);
051: }
052:
053: public void deleteRepository(org.osid.shared.Id repositoryId)
054: throws org.osid.repository.RepositoryException {
055: throw new org.osid.repository.RepositoryException(
056: org.osid.OsidException.UNIMPLEMENTED);
057: }
058:
059: public org.osid.repository.RepositoryIterator getRepositories()
060: throws org.osid.repository.RepositoryException {
061: throw new org.osid.repository.RepositoryException(
062: org.osid.OsidException.UNIMPLEMENTED);
063: }
064:
065: public org.osid.repository.RepositoryIterator getRepositoriesByType(
066: org.osid.shared.Type repositoryType)
067: throws org.osid.repository.RepositoryException {
068: throw new org.osid.repository.RepositoryException(
069: org.osid.OsidException.UNIMPLEMENTED);
070: }
071:
072: public org.osid.repository.Repository getRepository(
073: org.osid.shared.Id repositoryId)
074: throws org.osid.repository.RepositoryException {
075: throw new org.osid.repository.RepositoryException(
076: org.osid.OsidException.UNIMPLEMENTED);
077: }
078:
079: public org.osid.repository.Asset getAsset(org.osid.shared.Id assetId)
080: throws org.osid.repository.RepositoryException {
081: throw new org.osid.repository.RepositoryException(
082: org.osid.OsidException.UNIMPLEMENTED);
083: }
084:
085: public org.osid.repository.Asset getAssetByDate(
086: org.osid.shared.Id assetId, long date)
087: throws org.osid.repository.RepositoryException {
088: throw new org.osid.repository.RepositoryException(
089: org.osid.OsidException.UNIMPLEMENTED);
090: }
091:
092: public org.osid.shared.LongValueIterator getAssetDates(
093: org.osid.shared.Id assetId)
094: throws org.osid.repository.RepositoryException {
095: throw new org.osid.repository.RepositoryException(
096: org.osid.OsidException.UNIMPLEMENTED);
097: }
098:
099: public org.osid.repository.AssetIterator getAssetsBySearch(
100: org.osid.repository.Repository[] repositories,
101: java.io.Serializable searchCriteria,
102: org.osid.shared.Type searchType,
103: org.osid.shared.Properties searchProperties)
104: throws org.osid.repository.RepositoryException {
105: throw new org.osid.repository.RepositoryException(
106: org.osid.OsidException.UNIMPLEMENTED);
107: }
108:
109: public org.osid.shared.Id copyAsset(
110: org.osid.repository.Repository repository,
111: org.osid.shared.Id assetId)
112: throws org.osid.repository.RepositoryException {
113: throw new org.osid.repository.RepositoryException(
114: org.osid.OsidException.UNIMPLEMENTED);
115: }
116:
117: public org.osid.shared.TypeIterator getRepositoryTypes()
118: throws org.osid.repository.RepositoryException {
119: throw new org.osid.repository.RepositoryException(
120: org.osid.OsidException.UNIMPLEMENTED);
121: }
122:
123: public void osidVersion_2_0()
124: throws org.osid.repository.RepositoryException {
125: /*
126: * What should this do? The "real" implememtation does nothing.
127: */
128: }
129: }
|