Class RepositoryManager

  • All Implemented Interfaces:
    Serializable, org.osid.OsidManager, org.osid.repository.RepositoryManager

    public class RepositoryManager
    extends RepositoryManager
    Version:
    Author:
    Massachusetts Institute of Techbology, Sakai Software Development Team
    See Also:
    Serialized Form
    • Constructor Detail

      • RepositoryManager

        public RepositoryManager()
    • Method Detail

      • getOsidContext

        public org.osid.OsidContext getOsidContext()
                                            throws org.osid.repository.RepositoryException
        Specified by:
        getOsidContext in interface org.osid.OsidManager
        Overrides:
        getOsidContext in class RepositoryManager
        Throws:
        org.osid.repository.RepositoryException
      • assignOsidContext

        public void assignOsidContext​(org.osid.OsidContext context)
                               throws org.osid.repository.RepositoryException
        Specified by:
        assignOsidContext in interface org.osid.OsidManager
        Overrides:
        assignOsidContext in class RepositoryManager
        Throws:
        org.osid.repository.RepositoryException
      • assignConfiguration

        public void assignConfiguration​(Properties configuration)
                                 throws org.osid.repository.RepositoryException
        Specified by:
        assignConfiguration in interface org.osid.OsidManager
        Overrides:
        assignConfiguration in class RepositoryManager
        Throws:
        org.osid.repository.RepositoryException
      • getRepositories

        public org.osid.repository.RepositoryIterator getRepositories()
                                                               throws org.osid.repository.RepositoryException
        Specified by:
        getRepositories in interface org.osid.repository.RepositoryManager
        Overrides:
        getRepositories in class RepositoryManager
        Throws:
        org.osid.repository.RepositoryException
      • getRepositoriesByType

        public org.osid.repository.RepositoryIterator getRepositoriesByType​(org.osid.shared.Type repositoryType)
                                                                     throws org.osid.repository.RepositoryException
        Specified by:
        getRepositoriesByType in interface org.osid.repository.RepositoryManager
        Overrides:
        getRepositoriesByType in class RepositoryManager
        Throws:
        org.osid.repository.RepositoryException
      • getRepository

        public org.osid.repository.Repository getRepository​(org.osid.shared.Id repositoryId)
                                                     throws org.osid.repository.RepositoryException
        Specified by:
        getRepository in interface org.osid.repository.RepositoryManager
        Overrides:
        getRepository in class RepositoryManager
        Throws:
        org.osid.repository.RepositoryException
      • getAsset

        public org.osid.repository.Asset getAsset​(org.osid.shared.Id assetId)
                                           throws org.osid.repository.RepositoryException
        Specified by:
        getAsset in interface org.osid.repository.RepositoryManager
        Overrides:
        getAsset in class RepositoryManager
        Throws:
        org.osid.repository.RepositoryException
      • getAssetByDate

        public org.osid.repository.Asset getAssetByDate​(org.osid.shared.Id assetId,
                                                        long date)
                                                 throws org.osid.repository.RepositoryException
        Specified by:
        getAssetByDate in interface org.osid.repository.RepositoryManager
        Overrides:
        getAssetByDate in class RepositoryManager
        Throws:
        org.osid.repository.RepositoryException
      • getAssetDates

        public org.osid.shared.LongValueIterator getAssetDates​(org.osid.shared.Id assetId)
                                                        throws org.osid.repository.RepositoryException
        Specified by:
        getAssetDates in interface org.osid.repository.RepositoryManager
        Overrides:
        getAssetDates in class RepositoryManager
        Throws:
        org.osid.repository.RepositoryException
      • getAssetsBySearch

        public org.osid.repository.AssetIterator getAssetsBySearch​(org.osid.repository.Repository[] repositories,
                                                                   Serializable searchCriteria,
                                                                   org.osid.shared.Type searchType,
                                                                   org.osid.shared.Properties searchProperties)
                                                            throws org.osid.repository.RepositoryException
        Specified by:
        getAssetsBySearch in interface org.osid.repository.RepositoryManager
        Overrides:
        getAssetsBySearch in class RepositoryManager
        Throws:
        org.osid.repository.RepositoryException
      • copyAsset

        public org.osid.shared.Id copyAsset​(org.osid.repository.Repository repository,
                                            org.osid.shared.Id assetId)
                                     throws org.osid.repository.RepositoryException
        Specified by:
        copyAsset in interface org.osid.repository.RepositoryManager
        Overrides:
        copyAsset in class RepositoryManager
        Throws:
        org.osid.repository.RepositoryException
      • getRepositoryTypes

        public org.osid.shared.TypeIterator getRepositoryTypes()
                                                        throws org.osid.repository.RepositoryException
        Specified by:
        getRepositoryTypes in interface org.osid.repository.RepositoryManager
        Overrides:
        getRepositoryTypes in class RepositoryManager
        Throws:
        org.osid.repository.RepositoryException
      • osidVersion_2_0

        public void osidVersion_2_0()
                             throws org.osid.repository.RepositoryException
        Specified by:
        osidVersion_2_0 in interface org.osid.OsidManager
        Overrides:
        osidVersion_2_0 in class RepositoryManager
        Throws:
        org.osid.repository.RepositoryException
      • getConfigStream

        public InputStream getConfigStream​(String fileName)
                                    throws org.osid.repository.RepositoryException
        Throws:
        org.osid.repository.RepositoryException