Class Asset
- java.lang.Object
-
- edu.indiana.lib.osid.base.repository.Asset
-
- edu.indiana.lib.osid.base.repository.http.Asset
-
- All Implemented Interfaces:
Serializable,org.osid.repository.Asset
public class Asset extends Asset
- Version:
- Author:
- Massachusetts Institute of Techbology, Sakai Software Development Team
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.osid.repository.RecordcreateRecord(org.osid.shared.Id recordStructureId)voiddeleteRecord(org.osid.shared.Id recordId)org.osid.repository.AssetIteratorgetAssets()org.osid.repository.AssetIteratorgetAssetsByType(org.osid.shared.Type assetType)org.osid.shared.TypegetAssetType()SerializablegetContent()org.osid.repository.RecordStructuregetContentRecordStructure()StringgetDescription()StringgetDisplayName()org.osid.shared.IdgetId()org.osid.repository.PartgetPart(org.osid.shared.Id partId)org.osid.repository.PartIteratorgetPartByPart(org.osid.shared.Id partStructureId)org.osid.repository.PartIteratorgetPartsByPartStructure(org.osid.shared.Id partStructureId)SerializablegetPartValue(org.osid.shared.Id partId)org.osid.shared.ObjectIteratorgetPartValueByPart(org.osid.shared.Id partStructureId)org.osid.shared.ObjectIteratorgetPartValuesByPartStructure(org.osid.shared.Id partStructureId)org.osid.repository.RecordgetRecord(org.osid.shared.Id recordId)org.osid.repository.RecordIteratorgetRecords()org.osid.repository.RecordIteratorgetRecordsByRecordStructure(org.osid.shared.Id recordStructureId)org.osid.repository.RecordIteratorgetRecordsByRecordStructureType(org.osid.shared.Type recordStructureType)org.osid.repository.RecordStructureIteratorgetRecordStructures()org.osid.shared.IdgetRepository()voidupdateContent(Serializable content)-
Methods inherited from class edu.indiana.lib.osid.base.repository.Asset
addAsset, copyRecordStructure, getEffectiveDate, getExpirationDate, inheritRecordStructure, removeAsset, updateDescription, updateDisplayName, updateEffectiveDate, updateExpirationDate
-
-
-
-
Method Detail
-
getDisplayName
public String getDisplayName() throws org.osid.repository.RepositoryException
- Specified by:
getDisplayNamein interfaceorg.osid.repository.Asset- Overrides:
getDisplayNamein classAsset- Throws:
org.osid.repository.RepositoryException
-
getDescription
public String getDescription() throws org.osid.repository.RepositoryException
- Specified by:
getDescriptionin interfaceorg.osid.repository.Asset- Overrides:
getDescriptionin classAsset- Throws:
org.osid.repository.RepositoryException
-
getId
public org.osid.shared.Id getId() throws org.osid.repository.RepositoryException
-
getRepository
public org.osid.shared.Id getRepository() throws org.osid.repository.RepositoryException- Specified by:
getRepositoryin interfaceorg.osid.repository.Asset- Overrides:
getRepositoryin classAsset- Throws:
org.osid.repository.RepositoryException
-
getContent
public Serializable getContent() throws org.osid.repository.RepositoryException
- Specified by:
getContentin interfaceorg.osid.repository.Asset- Overrides:
getContentin classAsset- Throws:
org.osid.repository.RepositoryException
-
updateContent
public void updateContent(Serializable content) throws org.osid.repository.RepositoryException
- Specified by:
updateContentin interfaceorg.osid.repository.Asset- Overrides:
updateContentin classAsset- Throws:
org.osid.repository.RepositoryException
-
getAssets
public org.osid.repository.AssetIterator getAssets() throws org.osid.repository.RepositoryException
-
getAssetsByType
public org.osid.repository.AssetIterator getAssetsByType(org.osid.shared.Type assetType) throws org.osid.repository.RepositoryException- Specified by:
getAssetsByTypein interfaceorg.osid.repository.Asset- Overrides:
getAssetsByTypein classAsset- Throws:
org.osid.repository.RepositoryException
-
createRecord
public org.osid.repository.Record createRecord(org.osid.shared.Id recordStructureId) throws org.osid.repository.RepositoryException- Specified by:
createRecordin interfaceorg.osid.repository.Asset- Overrides:
createRecordin classAsset- Throws:
org.osid.repository.RepositoryException
-
deleteRecord
public void deleteRecord(org.osid.shared.Id recordId) throws org.osid.repository.RepositoryException- Specified by:
deleteRecordin interfaceorg.osid.repository.Asset- Overrides:
deleteRecordin classAsset- Throws:
org.osid.repository.RepositoryException
-
getRecords
public org.osid.repository.RecordIterator getRecords() throws org.osid.repository.RepositoryException- Specified by:
getRecordsin interfaceorg.osid.repository.Asset- Overrides:
getRecordsin classAsset- Throws:
org.osid.repository.RepositoryException
-
getRecordsByRecordStructure
public org.osid.repository.RecordIterator getRecordsByRecordStructure(org.osid.shared.Id recordStructureId) throws org.osid.repository.RepositoryException- Specified by:
getRecordsByRecordStructurein interfaceorg.osid.repository.Asset- Overrides:
getRecordsByRecordStructurein classAsset- Throws:
org.osid.repository.RepositoryException
-
getAssetType
public org.osid.shared.Type getAssetType() throws org.osid.repository.RepositoryException- Throws:
org.osid.repository.RepositoryException
-
getRecordStructures
public org.osid.repository.RecordStructureIterator getRecordStructures() throws org.osid.repository.RepositoryException- Specified by:
getRecordStructuresin interfaceorg.osid.repository.Asset- Overrides:
getRecordStructuresin classAsset- Throws:
org.osid.repository.RepositoryException
-
getContentRecordStructure
public org.osid.repository.RecordStructure getContentRecordStructure() throws org.osid.repository.RepositoryException- Specified by:
getContentRecordStructurein interfaceorg.osid.repository.Asset- Overrides:
getContentRecordStructurein classAsset- Throws:
org.osid.repository.RepositoryException
-
getRecord
public org.osid.repository.Record getRecord(org.osid.shared.Id recordId) throws org.osid.repository.RepositoryException
-
getPart
public org.osid.repository.Part getPart(org.osid.shared.Id partId) throws org.osid.repository.RepositoryException
-
getPartValue
public Serializable getPartValue(org.osid.shared.Id partId) throws org.osid.repository.RepositoryException
- Specified by:
getPartValuein interfaceorg.osid.repository.Asset- Overrides:
getPartValuein classAsset- Throws:
org.osid.repository.RepositoryException
-
getPartByPart
public org.osid.repository.PartIterator getPartByPart(org.osid.shared.Id partStructureId) throws org.osid.repository.RepositoryException- Overrides:
getPartByPartin classAsset- Throws:
org.osid.repository.RepositoryException
-
getPartValueByPart
public org.osid.shared.ObjectIterator getPartValueByPart(org.osid.shared.Id partStructureId) throws org.osid.repository.RepositoryException- Overrides:
getPartValueByPartin classAsset- Throws:
org.osid.repository.RepositoryException
-
getPartValuesByPartStructure
public org.osid.shared.ObjectIterator getPartValuesByPartStructure(org.osid.shared.Id partStructureId) throws org.osid.repository.RepositoryException- Specified by:
getPartValuesByPartStructurein interfaceorg.osid.repository.Asset- Overrides:
getPartValuesByPartStructurein classAsset- Throws:
org.osid.repository.RepositoryException
-
getPartsByPartStructure
public org.osid.repository.PartIterator getPartsByPartStructure(org.osid.shared.Id partStructureId) throws org.osid.repository.RepositoryException- Specified by:
getPartsByPartStructurein interfaceorg.osid.repository.Asset- Overrides:
getPartsByPartStructurein classAsset- Throws:
org.osid.repository.RepositoryException
-
getRecordsByRecordStructureType
public org.osid.repository.RecordIterator getRecordsByRecordStructureType(org.osid.shared.Type recordStructureType) throws org.osid.repository.RepositoryException- Throws:
org.osid.repository.RepositoryException
-
-