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/Asset.java $
005: * $Id: Asset.java 22624 2007-03-14 20:17:21Z 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 Asset implements org.osid.repository.Asset {
026: public String getDisplayName()
027: throws org.osid.repository.RepositoryException {
028: throw new org.osid.repository.RepositoryException(
029: org.osid.OsidException.UNIMPLEMENTED);
030: }
031:
032: public void updateDisplayName(String displayName)
033: throws org.osid.repository.RepositoryException {
034: throw new org.osid.repository.RepositoryException(
035: org.osid.OsidException.UNIMPLEMENTED);
036: }
037:
038: public String getDescription()
039: throws org.osid.repository.RepositoryException {
040: throw new org.osid.repository.RepositoryException(
041: org.osid.OsidException.UNIMPLEMENTED);
042: }
043:
044: public void updateDescription(String description)
045: throws org.osid.repository.RepositoryException {
046: throw new org.osid.repository.RepositoryException(
047: org.osid.OsidException.UNIMPLEMENTED);
048: }
049:
050: public org.osid.shared.Id getId()
051: throws org.osid.repository.RepositoryException {
052: throw new org.osid.repository.RepositoryException(
053: org.osid.OsidException.UNIMPLEMENTED);
054: }
055:
056: public org.osid.shared.Id getRepository()
057: throws org.osid.repository.RepositoryException {
058: throw new org.osid.repository.RepositoryException(
059: org.osid.OsidException.UNIMPLEMENTED);
060: }
061:
062: public java.io.Serializable getContent()
063: throws org.osid.repository.RepositoryException {
064: throw new org.osid.repository.RepositoryException(
065: org.osid.OsidException.UNIMPLEMENTED);
066: }
067:
068: public void updateContent(java.io.Serializable content)
069: throws org.osid.repository.RepositoryException {
070: throw new org.osid.repository.RepositoryException(
071: org.osid.OsidException.UNIMPLEMENTED);
072: }
073:
074: public void addAsset(org.osid.shared.Id assetId)
075: throws org.osid.repository.RepositoryException {
076: throw new org.osid.repository.RepositoryException(
077: org.osid.OsidException.UNIMPLEMENTED);
078: }
079:
080: public void removeAsset(org.osid.shared.Id assetId,
081: boolean includeChildren)
082: throws org.osid.repository.RepositoryException {
083: throw new org.osid.repository.RepositoryException(
084: org.osid.OsidException.UNIMPLEMENTED);
085: }
086:
087: public org.osid.repository.AssetIterator getAssets()
088: throws org.osid.repository.RepositoryException {
089: throw new org.osid.repository.RepositoryException(
090: org.osid.OsidException.UNIMPLEMENTED);
091: }
092:
093: public org.osid.repository.AssetIterator getAssetsByType(
094: org.osid.shared.Type assetType)
095: throws org.osid.repository.RepositoryException {
096: throw new org.osid.repository.RepositoryException(
097: org.osid.OsidException.UNIMPLEMENTED);
098: }
099:
100: public org.osid.repository.Record createRecord(
101: org.osid.shared.Id recordStructureId)
102: throws org.osid.repository.RepositoryException {
103: throw new org.osid.repository.RepositoryException(
104: org.osid.OsidException.UNIMPLEMENTED);
105: }
106:
107: public void inheritRecordStructure(org.osid.shared.Id assetId,
108: org.osid.shared.Id recordStructureId)
109: throws org.osid.repository.RepositoryException {
110: throw new org.osid.repository.RepositoryException(
111: org.osid.OsidException.UNIMPLEMENTED);
112: }
113:
114: public void copyRecordStructure(org.osid.shared.Id assetId,
115: org.osid.shared.Id recordStructureId)
116: throws org.osid.repository.RepositoryException {
117: throw new org.osid.repository.RepositoryException(
118: org.osid.OsidException.UNIMPLEMENTED);
119: }
120:
121: public void deleteRecord(org.osid.shared.Id recordId)
122: throws org.osid.repository.RepositoryException {
123: throw new org.osid.repository.RepositoryException(
124: org.osid.OsidException.UNIMPLEMENTED);
125: }
126:
127: public org.osid.repository.RecordIterator getRecords()
128: throws org.osid.repository.RepositoryException {
129: throw new org.osid.repository.RepositoryException(
130: org.osid.OsidException.UNIMPLEMENTED);
131: }
132:
133: public org.osid.repository.RecordIterator getRecordsByRecordStructure(
134: org.osid.shared.Id recordStructureId)
135: throws org.osid.repository.RepositoryException {
136: throw new org.osid.repository.RepositoryException(
137: org.osid.OsidException.UNIMPLEMENTED);
138: }
139:
140: public org.osid.repository.RecordStructureIterator getRecordStructures()
141: throws org.osid.repository.RepositoryException {
142: throw new org.osid.repository.RepositoryException(
143: org.osid.OsidException.UNIMPLEMENTED);
144: }
145:
146: public org.osid.repository.RecordStructure getContentRecordStructure()
147: throws org.osid.repository.RepositoryException {
148: throw new org.osid.repository.RepositoryException(
149: org.osid.OsidException.UNIMPLEMENTED);
150: }
151:
152: public org.osid.repository.Record getRecord(
153: org.osid.shared.Id recordId)
154: throws org.osid.repository.RepositoryException {
155: throw new org.osid.repository.RepositoryException(
156: org.osid.OsidException.UNIMPLEMENTED);
157: }
158:
159: public org.osid.repository.Part getPart(org.osid.shared.Id partId)
160: throws org.osid.repository.RepositoryException {
161: throw new org.osid.repository.RepositoryException(
162: org.osid.OsidException.UNIMPLEMENTED);
163: }
164:
165: public java.io.Serializable getPartValue(org.osid.shared.Id partId)
166: throws org.osid.repository.RepositoryException {
167: throw new org.osid.repository.RepositoryException(
168: org.osid.OsidException.UNIMPLEMENTED);
169: }
170:
171: public org.osid.repository.PartIterator getPartByPart(
172: org.osid.shared.Id partStructureId)
173: throws org.osid.repository.RepositoryException {
174: throw new org.osid.repository.RepositoryException(
175: org.osid.OsidException.UNIMPLEMENTED);
176: }
177:
178: public org.osid.shared.ObjectIterator getPartValueByPart(
179: org.osid.shared.Id partStructureId)
180: throws org.osid.repository.RepositoryException {
181: throw new org.osid.repository.RepositoryException(
182: org.osid.OsidException.UNIMPLEMENTED);
183: }
184:
185: public long getEffectiveDate()
186: throws org.osid.repository.RepositoryException {
187: throw new org.osid.repository.RepositoryException(
188: org.osid.OsidException.UNIMPLEMENTED);
189: }
190:
191: public void updateEffectiveDate(long effectiveDate)
192: throws org.osid.repository.RepositoryException {
193: throw new org.osid.repository.RepositoryException(
194: org.osid.OsidException.UNIMPLEMENTED);
195: }
196:
197: public long getExpirationDate()
198: throws org.osid.repository.RepositoryException {
199: throw new org.osid.repository.RepositoryException(
200: org.osid.OsidException.UNIMPLEMENTED);
201: }
202:
203: public void updateExpirationDate(long expirationDate)
204: throws org.osid.repository.RepositoryException {
205: throw new org.osid.repository.RepositoryException(
206: org.osid.OsidException.UNIMPLEMENTED);
207: }
208:
209: public org.osid.shared.ObjectIterator getPartValuesByPartStructure(
210: org.osid.shared.Id partStructureId)
211: throws org.osid.repository.RepositoryException {
212: throw new org.osid.repository.RepositoryException(
213: org.osid.OsidException.UNIMPLEMENTED);
214: }
215:
216: public org.osid.repository.PartIterator getPartsByPartStructure(
217: org.osid.shared.Id partStructureId)
218: throws org.osid.repository.RepositoryException {
219: throw new org.osid.repository.RepositoryException(
220: org.osid.OsidException.UNIMPLEMENTED);
221: }
222: }
|