public abstract class Asset extends Object implements org.osid.repository.Asset
| Constructor and Description |
|---|
Asset() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAsset(org.osid.shared.Id assetId) |
void |
copyRecordStructure(org.osid.shared.Id assetId,
org.osid.shared.Id recordStructureId) |
org.osid.repository.Record |
createRecord(org.osid.shared.Id recordStructureId) |
void |
deleteRecord(org.osid.shared.Id recordId) |
org.osid.repository.AssetIterator |
getAssets() |
org.osid.repository.AssetIterator |
getAssetsByType(org.osid.shared.Type assetType) |
Serializable |
getContent() |
org.osid.repository.RecordStructure |
getContentRecordStructure() |
String |
getDescription() |
String |
getDisplayName() |
long |
getEffectiveDate() |
long |
getExpirationDate() |
org.osid.shared.Id |
getId() |
org.osid.repository.Part |
getPart(org.osid.shared.Id partId) |
org.osid.repository.PartIterator |
getPartByPart(org.osid.shared.Id partStructureId) |
org.osid.repository.PartIterator |
getPartsByPartStructure(org.osid.shared.Id partStructureId) |
Serializable |
getPartValue(org.osid.shared.Id partId) |
org.osid.shared.ObjectIterator |
getPartValueByPart(org.osid.shared.Id partStructureId) |
org.osid.shared.ObjectIterator |
getPartValuesByPartStructure(org.osid.shared.Id partStructureId) |
org.osid.repository.Record |
getRecord(org.osid.shared.Id recordId) |
org.osid.repository.RecordIterator |
getRecords() |
org.osid.repository.RecordIterator |
getRecordsByRecordStructure(org.osid.shared.Id recordStructureId) |
org.osid.repository.RecordStructureIterator |
getRecordStructures() |
org.osid.shared.Id |
getRepository() |
void |
inheritRecordStructure(org.osid.shared.Id assetId,
org.osid.shared.Id recordStructureId) |
void |
removeAsset(org.osid.shared.Id assetId,
boolean includeChildren) |
void |
updateContent(Serializable content) |
void |
updateDescription(String description) |
void |
updateDisplayName(String displayName) |
void |
updateEffectiveDate(long effectiveDate) |
void |
updateExpirationDate(long expirationDate) |
public String getDisplayName() throws org.osid.repository.RepositoryException
getDisplayName in interface org.osid.repository.Assetorg.osid.repository.RepositoryExceptionpublic void updateDisplayName(String displayName) throws org.osid.repository.RepositoryException
updateDisplayName in interface org.osid.repository.Assetorg.osid.repository.RepositoryExceptionpublic String getDescription() throws org.osid.repository.RepositoryException
getDescription in interface org.osid.repository.Assetorg.osid.repository.RepositoryExceptionpublic void updateDescription(String description) throws org.osid.repository.RepositoryException
updateDescription in interface org.osid.repository.Assetorg.osid.repository.RepositoryExceptionpublic org.osid.shared.Id getId()
throws org.osid.repository.RepositoryException
getId in interface org.osid.repository.Assetorg.osid.repository.RepositoryExceptionpublic org.osid.shared.Id getRepository()
throws org.osid.repository.RepositoryException
getRepository in interface org.osid.repository.Assetorg.osid.repository.RepositoryExceptionpublic Serializable getContent() throws org.osid.repository.RepositoryException
getContent in interface org.osid.repository.Assetorg.osid.repository.RepositoryExceptionpublic void updateContent(Serializable content) throws org.osid.repository.RepositoryException
updateContent in interface org.osid.repository.Assetorg.osid.repository.RepositoryExceptionpublic void addAsset(org.osid.shared.Id assetId)
throws org.osid.repository.RepositoryException
addAsset in interface org.osid.repository.Assetorg.osid.repository.RepositoryExceptionpublic void removeAsset(org.osid.shared.Id assetId,
boolean includeChildren)
throws org.osid.repository.RepositoryException
removeAsset in interface org.osid.repository.Assetorg.osid.repository.RepositoryExceptionpublic org.osid.repository.AssetIterator getAssets()
throws org.osid.repository.RepositoryException
getAssets in interface org.osid.repository.Assetorg.osid.repository.RepositoryExceptionpublic org.osid.repository.AssetIterator getAssetsByType(org.osid.shared.Type assetType)
throws org.osid.repository.RepositoryException
getAssetsByType in interface org.osid.repository.Assetorg.osid.repository.RepositoryExceptionpublic org.osid.repository.Record createRecord(org.osid.shared.Id recordStructureId)
throws org.osid.repository.RepositoryException
createRecord in interface org.osid.repository.Assetorg.osid.repository.RepositoryExceptionpublic void inheritRecordStructure(org.osid.shared.Id assetId,
org.osid.shared.Id recordStructureId)
throws org.osid.repository.RepositoryException
inheritRecordStructure in interface org.osid.repository.Assetorg.osid.repository.RepositoryExceptionpublic void copyRecordStructure(org.osid.shared.Id assetId,
org.osid.shared.Id recordStructureId)
throws org.osid.repository.RepositoryException
copyRecordStructure in interface org.osid.repository.Assetorg.osid.repository.RepositoryExceptionpublic void deleteRecord(org.osid.shared.Id recordId)
throws org.osid.repository.RepositoryException
deleteRecord in interface org.osid.repository.Assetorg.osid.repository.RepositoryExceptionpublic org.osid.repository.RecordIterator getRecords()
throws org.osid.repository.RepositoryException
getRecords in interface org.osid.repository.Assetorg.osid.repository.RepositoryExceptionpublic org.osid.repository.RecordIterator getRecordsByRecordStructure(org.osid.shared.Id recordStructureId)
throws org.osid.repository.RepositoryException
getRecordsByRecordStructure in interface org.osid.repository.Assetorg.osid.repository.RepositoryExceptionpublic org.osid.repository.RecordStructureIterator getRecordStructures()
throws org.osid.repository.RepositoryException
getRecordStructures in interface org.osid.repository.Assetorg.osid.repository.RepositoryExceptionpublic org.osid.repository.RecordStructure getContentRecordStructure()
throws org.osid.repository.RepositoryException
getContentRecordStructure in interface org.osid.repository.Assetorg.osid.repository.RepositoryExceptionpublic org.osid.repository.Record getRecord(org.osid.shared.Id recordId)
throws org.osid.repository.RepositoryException
getRecord in interface org.osid.repository.Assetorg.osid.repository.RepositoryExceptionpublic org.osid.repository.Part getPart(org.osid.shared.Id partId)
throws org.osid.repository.RepositoryException
getPart in interface org.osid.repository.Assetorg.osid.repository.RepositoryExceptionpublic Serializable getPartValue(org.osid.shared.Id partId) throws org.osid.repository.RepositoryException
getPartValue in interface org.osid.repository.Assetorg.osid.repository.RepositoryExceptionpublic org.osid.repository.PartIterator getPartByPart(org.osid.shared.Id partStructureId)
throws org.osid.repository.RepositoryException
org.osid.repository.RepositoryExceptionpublic org.osid.shared.ObjectIterator getPartValueByPart(org.osid.shared.Id partStructureId)
throws org.osid.repository.RepositoryException
org.osid.repository.RepositoryExceptionpublic long getEffectiveDate()
throws org.osid.repository.RepositoryException
getEffectiveDate in interface org.osid.repository.Assetorg.osid.repository.RepositoryExceptionpublic void updateEffectiveDate(long effectiveDate)
throws org.osid.repository.RepositoryException
updateEffectiveDate in interface org.osid.repository.Assetorg.osid.repository.RepositoryExceptionpublic long getExpirationDate()
throws org.osid.repository.RepositoryException
getExpirationDate in interface org.osid.repository.Assetorg.osid.repository.RepositoryExceptionpublic void updateExpirationDate(long expirationDate)
throws org.osid.repository.RepositoryException
updateExpirationDate in interface org.osid.repository.Assetorg.osid.repository.RepositoryExceptionpublic org.osid.shared.ObjectIterator getPartValuesByPartStructure(org.osid.shared.Id partStructureId)
throws org.osid.repository.RepositoryException
getPartValuesByPartStructure in interface org.osid.repository.Assetorg.osid.repository.RepositoryExceptionpublic org.osid.repository.PartIterator getPartsByPartStructure(org.osid.shared.Id partStructureId)
throws org.osid.repository.RepositoryException
getPartsByPartStructure in interface org.osid.repository.Assetorg.osid.repository.RepositoryExceptionCopyright © 2004–2017 Indiana University Library Information Technology. All rights reserved.