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/Repository.java $
005: * $Id: Repository.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 Repository implements
026: org.osid.repository.Repository {
027: public String getDisplayName()
028: throws org.osid.repository.RepositoryException {
029: throw new org.osid.repository.RepositoryException(
030: org.osid.OsidException.UNIMPLEMENTED);
031: }
032:
033: public void updateDisplayName(String displayName)
034: throws org.osid.repository.RepositoryException {
035: throw new org.osid.repository.RepositoryException(
036: org.osid.OsidException.UNIMPLEMENTED);
037: }
038:
039: public String getDescription()
040: throws org.osid.repository.RepositoryException {
041: throw new org.osid.repository.RepositoryException(
042: org.osid.OsidException.UNIMPLEMENTED);
043: }
044:
045: public void updateDescription(String description)
046: throws org.osid.repository.RepositoryException {
047: throw new org.osid.repository.RepositoryException(
048: org.osid.OsidException.UNIMPLEMENTED);
049: }
050:
051: public org.osid.shared.Id getId()
052: throws org.osid.repository.RepositoryException {
053: throw new org.osid.repository.RepositoryException(
054: org.osid.OsidException.UNIMPLEMENTED);
055: }
056:
057: public org.osid.shared.Type getType()
058: throws org.osid.repository.RepositoryException {
059: throw new org.osid.repository.RepositoryException(
060: org.osid.OsidException.UNIMPLEMENTED);
061: }
062:
063: public org.osid.repository.Asset createAsset(String displayName,
064: String description, org.osid.shared.Type assetType)
065: throws org.osid.repository.RepositoryException {
066: throw new org.osid.repository.RepositoryException(
067: org.osid.OsidException.UNIMPLEMENTED);
068: }
069:
070: public void deleteAsset(org.osid.shared.Id assetId)
071: throws org.osid.repository.RepositoryException {
072: throw new org.osid.repository.RepositoryException(
073: org.osid.OsidException.UNIMPLEMENTED);
074: }
075:
076: public org.osid.repository.AssetIterator getAssets()
077: throws org.osid.repository.RepositoryException {
078: throw new org.osid.repository.RepositoryException(
079: org.osid.OsidException.UNIMPLEMENTED);
080: }
081:
082: public org.osid.repository.AssetIterator getAssetsByType(
083: org.osid.shared.Type assetType)
084: throws org.osid.repository.RepositoryException {
085: throw new org.osid.repository.RepositoryException(
086: org.osid.OsidException.UNIMPLEMENTED);
087: }
088:
089: public org.osid.shared.TypeIterator getAssetTypes()
090: throws org.osid.repository.RepositoryException {
091: throw new org.osid.repository.RepositoryException(
092: org.osid.OsidException.UNIMPLEMENTED);
093: }
094:
095: public org.osid.repository.RecordStructureIterator getRecordStructures()
096: throws org.osid.repository.RepositoryException {
097: throw new org.osid.repository.RepositoryException(
098: org.osid.OsidException.UNIMPLEMENTED);
099: }
100:
101: public org.osid.repository.RecordStructureIterator getMandatoryRecordStructures(
102: org.osid.shared.Type assetType)
103: throws org.osid.repository.RepositoryException {
104: throw new org.osid.repository.RepositoryException(
105: org.osid.OsidException.UNIMPLEMENTED);
106: }
107:
108: public org.osid.shared.TypeIterator getSearchTypes()
109: throws org.osid.repository.RepositoryException {
110: throw new org.osid.repository.RepositoryException(
111: org.osid.OsidException.UNIMPLEMENTED);
112: }
113:
114: public org.osid.shared.TypeIterator getStatusTypes()
115: throws org.osid.repository.RepositoryException {
116: throw new org.osid.repository.RepositoryException(
117: org.osid.OsidException.UNIMPLEMENTED);
118: }
119:
120: public org.osid.shared.Type getStatus(org.osid.shared.Id assetId)
121: throws org.osid.repository.RepositoryException {
122: throw new org.osid.repository.RepositoryException(
123: org.osid.OsidException.UNIMPLEMENTED);
124: }
125:
126: public boolean validateAsset(org.osid.shared.Id assetId)
127: throws org.osid.repository.RepositoryException {
128: throw new org.osid.repository.RepositoryException(
129: org.osid.OsidException.UNIMPLEMENTED);
130: }
131:
132: public void invalidateAsset(org.osid.shared.Id assetId)
133: throws org.osid.repository.RepositoryException {
134: throw new org.osid.repository.RepositoryException(
135: org.osid.OsidException.UNIMPLEMENTED);
136: }
137:
138: public org.osid.repository.Asset getAsset(org.osid.shared.Id assetId)
139: throws org.osid.repository.RepositoryException {
140: throw new org.osid.repository.RepositoryException(
141: org.osid.OsidException.UNIMPLEMENTED);
142: }
143:
144: public org.osid.repository.Asset getAssetByDate(
145: org.osid.shared.Id assetId, long date)
146: throws org.osid.repository.RepositoryException {
147: throw new org.osid.repository.RepositoryException(
148: org.osid.OsidException.UNIMPLEMENTED);
149: }
150:
151: public org.osid.shared.LongValueIterator getAssetDates(
152: org.osid.shared.Id assetId)
153: throws org.osid.repository.RepositoryException {
154: throw new org.osid.repository.RepositoryException(
155: org.osid.OsidException.UNIMPLEMENTED);
156: }
157:
158: public org.osid.repository.AssetIterator getAssetsBySearch(
159: java.io.Serializable searchCriteria,
160: org.osid.shared.Type searchType,
161: org.osid.shared.Properties searchProperties)
162: throws org.osid.repository.RepositoryException {
163: throw new org.osid.repository.RepositoryException(
164: org.osid.OsidException.UNIMPLEMENTED);
165: }
166:
167: public org.osid.shared.Id copyAsset(org.osid.repository.Asset asset)
168: throws org.osid.repository.RepositoryException {
169: throw new org.osid.repository.RepositoryException(
170: org.osid.OsidException.UNIMPLEMENTED);
171: }
172:
173: public org.osid.repository.RecordStructureIterator getRecordStructuresByType(
174: org.osid.shared.Type recordStructureType)
175: throws org.osid.repository.RepositoryException {
176: throw new org.osid.repository.RepositoryException(
177: org.osid.OsidException.UNIMPLEMENTED);
178: }
179:
180: public org.osid.shared.PropertiesIterator getProperties()
181: throws org.osid.repository.RepositoryException {
182: throw new org.osid.repository.RepositoryException(
183: org.osid.OsidException.UNIMPLEMENTED);
184: }
185:
186: public org.osid.shared.Properties getPropertiesByType(
187: org.osid.shared.Type propertiesType)
188: throws org.osid.repository.RepositoryException {
189: throw new org.osid.repository.RepositoryException(
190: org.osid.OsidException.UNIMPLEMENTED);
191: }
192:
193: public org.osid.shared.TypeIterator getPropertyTypes()
194: throws org.osid.repository.RepositoryException {
195: throw new org.osid.repository.RepositoryException(
196: org.osid.OsidException.UNIMPLEMENTED);
197: }
198:
199: protected void addAsset(org.osid.repository.Asset asset)
200: throws org.osid.repository.RepositoryException {
201: throw new org.osid.repository.RepositoryException(
202: org.osid.OsidException.UNIMPLEMENTED);
203: }
204:
205: public boolean supportsUpdate()
206: throws org.osid.repository.RepositoryException {
207: throw new org.osid.repository.RepositoryException(
208: org.osid.OsidException.UNIMPLEMENTED);
209: }
210:
211: public boolean supportsVersioning()
212: throws org.osid.repository.RepositoryException {
213: throw new org.osid.repository.RepositoryException(
214: org.osid.OsidException.UNIMPLEMENTED);
215: }
216: }
|