Class Repository

    • Constructor Detail

      • Repository

        protected Repository​(String displayName,
                             String description,
                             String idString,
                             Vector searchTypeVector,
                             Vector queryHandlerVector,
                             Vector responseHandlerVector,
                             org.osid.id.IdManager idManager)
                      throws org.osid.repository.RepositoryException
        Throws:
        org.osid.repository.RepositoryException
    • Method Detail

      • getDisplayName

        public String getDisplayName()
                              throws org.osid.repository.RepositoryException
        Specified by:
        getDisplayName in interface org.osid.repository.Repository
        Overrides:
        getDisplayName in class Repository
        Throws:
        org.osid.repository.RepositoryException
      • getDescription

        public String getDescription()
                              throws org.osid.repository.RepositoryException
        Specified by:
        getDescription in interface org.osid.repository.Repository
        Overrides:
        getDescription in class Repository
        Throws:
        org.osid.repository.RepositoryException
      • getId

        public org.osid.shared.Id getId()
                                 throws org.osid.repository.RepositoryException
        Specified by:
        getId in interface org.osid.repository.Repository
        Overrides:
        getId in class Repository
        Throws:
        org.osid.repository.RepositoryException
      • getType

        public org.osid.shared.Type getType()
                                     throws org.osid.repository.RepositoryException
        Specified by:
        getType in interface org.osid.repository.Repository
        Overrides:
        getType in class Repository
        Throws:
        org.osid.repository.RepositoryException
      • getAssetTypes

        public org.osid.shared.TypeIterator getAssetTypes()
                                                   throws org.osid.repository.RepositoryException
        Specified by:
        getAssetTypes in interface org.osid.repository.Repository
        Overrides:
        getAssetTypes in class Repository
        Throws:
        org.osid.repository.RepositoryException
      • getRecordStructures

        public org.osid.repository.RecordStructureIterator getRecordStructures()
                                                                        throws org.osid.repository.RepositoryException
        Specified by:
        getRecordStructures in interface org.osid.repository.Repository
        Overrides:
        getRecordStructures in class Repository
        Throws:
        org.osid.repository.RepositoryException
      • getMandatoryRecordStructures

        public org.osid.repository.RecordStructureIterator getMandatoryRecordStructures​(org.osid.shared.Type assetType)
                                                                                 throws org.osid.repository.RepositoryException
        Specified by:
        getMandatoryRecordStructures in interface org.osid.repository.Repository
        Overrides:
        getMandatoryRecordStructures in class Repository
        Throws:
        org.osid.repository.RepositoryException
      • getSearchTypes

        public org.osid.shared.TypeIterator getSearchTypes()
                                                    throws org.osid.repository.RepositoryException
        Specified by:
        getSearchTypes in interface org.osid.repository.Repository
        Overrides:
        getSearchTypes in class Repository
        Throws:
        org.osid.repository.RepositoryException
      • getStatusTypes

        public org.osid.shared.TypeIterator getStatusTypes()
                                                    throws org.osid.repository.RepositoryException
        Specified by:
        getStatusTypes in interface org.osid.repository.Repository
        Overrides:
        getStatusTypes in class Repository
        Throws:
        org.osid.repository.RepositoryException
      • getStatus

        public org.osid.shared.Type getStatus​(org.osid.shared.Id assetId)
                                       throws org.osid.repository.RepositoryException
        Specified by:
        getStatus in interface org.osid.repository.Repository
        Overrides:
        getStatus in class Repository
        Throws:
        org.osid.repository.RepositoryException
      • validateAsset

        public boolean validateAsset​(org.osid.shared.Id assetId)
                              throws org.osid.repository.RepositoryException
        Specified by:
        validateAsset in interface org.osid.repository.Repository
        Overrides:
        validateAsset in class Repository
        Throws:
        org.osid.repository.RepositoryException
      • getAssetsBySearch

        public org.osid.repository.AssetIterator getAssetsBySearch​(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.Repository
        Overrides:
        getAssetsBySearch in class Repository
        Throws:
        org.osid.repository.RepositoryException
      • getRecordStructuresByType

        public org.osid.repository.RecordStructureIterator getRecordStructuresByType​(org.osid.shared.Type recordStructureType)
                                                                              throws org.osid.repository.RepositoryException
        Specified by:
        getRecordStructuresByType in interface org.osid.repository.Repository
        Overrides:
        getRecordStructuresByType in class Repository
        Throws:
        org.osid.repository.RepositoryException
      • getProperties

        public org.osid.shared.PropertiesIterator getProperties()
                                                         throws org.osid.repository.RepositoryException
        Specified by:
        getProperties in interface org.osid.repository.Repository
        Overrides:
        getProperties in class Repository
        Throws:
        org.osid.repository.RepositoryException
      • getPropertiesByType

        public org.osid.shared.Properties getPropertiesByType​(org.osid.shared.Type propertiesType)
                                                       throws org.osid.repository.RepositoryException
        Specified by:
        getPropertiesByType in interface org.osid.repository.Repository
        Overrides:
        getPropertiesByType in class Repository
        Throws:
        org.osid.repository.RepositoryException
      • getPropertyTypes

        public org.osid.shared.TypeIterator getPropertyTypes()
                                                      throws org.osid.repository.RepositoryException
        Specified by:
        getPropertyTypes in interface org.osid.repository.Repository
        Overrides:
        getPropertyTypes in class Repository
        Throws:
        org.osid.repository.RepositoryException
      • addAsset

        protected void addAsset​(org.osid.repository.Asset asset)
                         throws org.osid.repository.RepositoryException
        Overrides:
        addAsset in class Repository
        Throws:
        org.osid.repository.RepositoryException
      • supportsUpdate

        public boolean supportsUpdate()
                               throws org.osid.repository.RepositoryException
        Specified by:
        supportsUpdate in interface org.osid.repository.Repository
        Overrides:
        supportsUpdate in class Repository
        Throws:
        org.osid.repository.RepositoryException
      • supportsVersioning

        public boolean supportsVersioning()
                                   throws org.osid.repository.RepositoryException
        Specified by:
        supportsVersioning in interface org.osid.repository.Repository
        Overrides:
        supportsVersioning in class Repository
        Throws:
        org.osid.repository.RepositoryException