public abstract class Repository extends Object implements org.osid.repository.Repository
| Constructor and Description |
|---|
Repository() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addAsset(org.osid.repository.Asset asset) |
org.osid.shared.Id |
copyAsset(org.osid.repository.Asset asset) |
org.osid.repository.Asset |
createAsset(String displayName,
String description,
org.osid.shared.Type assetType) |
void |
deleteAsset(org.osid.shared.Id assetId) |
org.osid.repository.Asset |
getAsset(org.osid.shared.Id assetId) |
org.osid.repository.Asset |
getAssetByDate(org.osid.shared.Id assetId,
long date) |
org.osid.shared.LongValueIterator |
getAssetDates(org.osid.shared.Id assetId) |
org.osid.repository.AssetIterator |
getAssets() |
org.osid.repository.AssetIterator |
getAssetsBySearch(Serializable searchCriteria,
org.osid.shared.Type searchType,
org.osid.shared.Properties searchProperties) |
org.osid.repository.AssetIterator |
getAssetsByType(org.osid.shared.Type assetType) |
org.osid.shared.TypeIterator |
getAssetTypes() |
String |
getDescription() |
String |
getDisplayName() |
org.osid.shared.Id |
getId() |
org.osid.repository.RecordStructureIterator |
getMandatoryRecordStructures(org.osid.shared.Type assetType) |
org.osid.shared.PropertiesIterator |
getProperties() |
org.osid.shared.Properties |
getPropertiesByType(org.osid.shared.Type propertiesType) |
org.osid.shared.TypeIterator |
getPropertyTypes() |
org.osid.repository.RecordStructureIterator |
getRecordStructures() |
org.osid.repository.RecordStructureIterator |
getRecordStructuresByType(org.osid.shared.Type recordStructureType) |
org.osid.shared.TypeIterator |
getSearchTypes() |
org.osid.shared.Type |
getStatus(org.osid.shared.Id assetId) |
org.osid.shared.TypeIterator |
getStatusTypes() |
org.osid.shared.Type |
getType() |
void |
invalidateAsset(org.osid.shared.Id assetId) |
boolean |
supportsUpdate() |
boolean |
supportsVersioning() |
void |
updateDescription(String description) |
void |
updateDisplayName(String displayName) |
boolean |
validateAsset(org.osid.shared.Id assetId) |
public String getDisplayName() throws org.osid.repository.RepositoryException
getDisplayName in interface org.osid.repository.Repositoryorg.osid.repository.RepositoryExceptionpublic void updateDisplayName(String displayName) throws org.osid.repository.RepositoryException
updateDisplayName in interface org.osid.repository.Repositoryorg.osid.repository.RepositoryExceptionpublic String getDescription() throws org.osid.repository.RepositoryException
getDescription in interface org.osid.repository.Repositoryorg.osid.repository.RepositoryExceptionpublic void updateDescription(String description) throws org.osid.repository.RepositoryException
updateDescription in interface org.osid.repository.Repositoryorg.osid.repository.RepositoryExceptionpublic org.osid.shared.Id getId()
throws org.osid.repository.RepositoryException
getId in interface org.osid.repository.Repositoryorg.osid.repository.RepositoryExceptionpublic org.osid.shared.Type getType()
throws org.osid.repository.RepositoryException
getType in interface org.osid.repository.Repositoryorg.osid.repository.RepositoryExceptionpublic org.osid.repository.Asset createAsset(String displayName, String description, org.osid.shared.Type assetType) throws org.osid.repository.RepositoryException
createAsset in interface org.osid.repository.Repositoryorg.osid.repository.RepositoryExceptionpublic void deleteAsset(org.osid.shared.Id assetId)
throws org.osid.repository.RepositoryException
deleteAsset in interface org.osid.repository.Repositoryorg.osid.repository.RepositoryExceptionpublic org.osid.repository.AssetIterator getAssets()
throws org.osid.repository.RepositoryException
getAssets in interface org.osid.repository.Repositoryorg.osid.repository.RepositoryExceptionpublic org.osid.repository.AssetIterator getAssetsByType(org.osid.shared.Type assetType)
throws org.osid.repository.RepositoryException
getAssetsByType in interface org.osid.repository.Repositoryorg.osid.repository.RepositoryExceptionpublic org.osid.shared.TypeIterator getAssetTypes()
throws org.osid.repository.RepositoryException
getAssetTypes in interface org.osid.repository.Repositoryorg.osid.repository.RepositoryExceptionpublic org.osid.repository.RecordStructureIterator getRecordStructures()
throws org.osid.repository.RepositoryException
getRecordStructures in interface org.osid.repository.Repositoryorg.osid.repository.RepositoryExceptionpublic org.osid.repository.RecordStructureIterator getMandatoryRecordStructures(org.osid.shared.Type assetType)
throws org.osid.repository.RepositoryException
getMandatoryRecordStructures in interface org.osid.repository.Repositoryorg.osid.repository.RepositoryExceptionpublic org.osid.shared.TypeIterator getSearchTypes()
throws org.osid.repository.RepositoryException
getSearchTypes in interface org.osid.repository.Repositoryorg.osid.repository.RepositoryExceptionpublic org.osid.shared.TypeIterator getStatusTypes()
throws org.osid.repository.RepositoryException
getStatusTypes in interface org.osid.repository.Repositoryorg.osid.repository.RepositoryExceptionpublic org.osid.shared.Type getStatus(org.osid.shared.Id assetId)
throws org.osid.repository.RepositoryException
getStatus in interface org.osid.repository.Repositoryorg.osid.repository.RepositoryExceptionpublic boolean validateAsset(org.osid.shared.Id assetId)
throws org.osid.repository.RepositoryException
validateAsset in interface org.osid.repository.Repositoryorg.osid.repository.RepositoryExceptionpublic void invalidateAsset(org.osid.shared.Id assetId)
throws org.osid.repository.RepositoryException
invalidateAsset in interface org.osid.repository.Repositoryorg.osid.repository.RepositoryExceptionpublic org.osid.repository.Asset getAsset(org.osid.shared.Id assetId)
throws org.osid.repository.RepositoryException
getAsset in interface org.osid.repository.Repositoryorg.osid.repository.RepositoryExceptionpublic org.osid.repository.Asset getAssetByDate(org.osid.shared.Id assetId,
long date)
throws org.osid.repository.RepositoryException
getAssetByDate in interface org.osid.repository.Repositoryorg.osid.repository.RepositoryExceptionpublic org.osid.shared.LongValueIterator getAssetDates(org.osid.shared.Id assetId)
throws org.osid.repository.RepositoryException
getAssetDates in interface org.osid.repository.Repositoryorg.osid.repository.RepositoryExceptionpublic org.osid.repository.AssetIterator getAssetsBySearch(Serializable searchCriteria, org.osid.shared.Type searchType, org.osid.shared.Properties searchProperties) throws org.osid.repository.RepositoryException
getAssetsBySearch in interface org.osid.repository.Repositoryorg.osid.repository.RepositoryExceptionpublic org.osid.shared.Id copyAsset(org.osid.repository.Asset asset)
throws org.osid.repository.RepositoryException
copyAsset in interface org.osid.repository.Repositoryorg.osid.repository.RepositoryExceptionpublic org.osid.repository.RecordStructureIterator getRecordStructuresByType(org.osid.shared.Type recordStructureType)
throws org.osid.repository.RepositoryException
getRecordStructuresByType in interface org.osid.repository.Repositoryorg.osid.repository.RepositoryExceptionpublic org.osid.shared.PropertiesIterator getProperties()
throws org.osid.repository.RepositoryException
getProperties in interface org.osid.repository.Repositoryorg.osid.repository.RepositoryExceptionpublic org.osid.shared.Properties getPropertiesByType(org.osid.shared.Type propertiesType)
throws org.osid.repository.RepositoryException
getPropertiesByType in interface org.osid.repository.Repositoryorg.osid.repository.RepositoryExceptionpublic org.osid.shared.TypeIterator getPropertyTypes()
throws org.osid.repository.RepositoryException
getPropertyTypes in interface org.osid.repository.Repositoryorg.osid.repository.RepositoryExceptionprotected void addAsset(org.osid.repository.Asset asset)
throws org.osid.repository.RepositoryException
org.osid.repository.RepositoryExceptionpublic boolean supportsUpdate()
throws org.osid.repository.RepositoryException
supportsUpdate in interface org.osid.repository.Repositoryorg.osid.repository.RepositoryExceptionpublic boolean supportsVersioning()
throws org.osid.repository.RepositoryException
supportsVersioning in interface org.osid.repository.Repositoryorg.osid.repository.RepositoryExceptionCopyright © 2004–2019 Indiana University Library Information Technology. All rights reserved.