package org.osid.registry; /** * RegistryManager implements a "straw-man" registry interface. * </p> * * @author Massachusetts Institute of Technology */ public interface RegistryManager extends org.osid.OsidManager { /** */ public org.osid.OsidContext getOsidContext() throws org.osid.registry.RegistryException; /** */ public void assignOsidContext(org.osid.OsidContext context) throws org.osid.repository.RepositoryException; /** */ public void assignConfiguration(java.util.Properties configuration) throws org.osid.repository.RepositoryException; /** */ public org.osid.registry.ProviderIterator getProviders() throws org.osid.registry.RegistryException; /** */ public org.osid.registry.ProviderIterator getProvidersByType(org.osid.shared.Type providerType) throws org.osid.registry.RegistryException; /** */ public org.osid.registry.Provider getProvider(org.osid.shared.Id providerId) throws org.osid.registry.RegistryException; /** */ public org.osid.registry.Provider createProvider(org.osid.shared.Id providerId, String osidService, int osidMajorVersion, int osidMinorVersion, String osidLoadKey, String displayName, String description, java.util.Vector keywordVector, java.util.Vector categoryVector, java.util.Vector categoryTypeVector, String creator, String publisher, String publisherURL, int majorVersion, int minorVersion, String releaseDate, String contactName, String contactPhone, String contactEMail, String licenseAgreement, java.util.Vector rightVector, java.util.Vector rightTypeVector, java.util.Vector configurationKeyVector, java.util.Vector configurationValueVector, java.util.Vector configurationMapVector, String readme, String implementationLangauge, boolean sourceAvailable, org.osid.shared.Id repositoryId, String repositoryImage, String registrationDate, java.util.Vector filenameVector, java.util.Vector fileDisplayName) throws org.osid.registry.RegistryException; /** */ public void deleteProvider(org.osid.shared.Id providerId) throws org.osid.registry.RegistryException; public java.io.InputStream downloadProviderImplementation(org.osid.shared.Id providerId); public void uploadProviderImplementation(org.osid.shared.Id providerId, String filenames[], String fileDisplayNames[], java.io.InputStream istreams[]); /** */ public void osidVersion_2_0() throws org.osid.registry.RegistryException; /** <p>MIT O.K.I. SID Implementation License. <p> <b>Copyright and license statement:</b> </p> <p> Copyright © 2003 Massachusetts Institute of Technology <or copyright holder> </p> <p> This work is being provided by the copyright holder(s) subject to the terms of the O.K.I. SID Implementation License. By obtaining, using and/or copying this Work, you agree that you have read, understand, and will comply with the O.K.I. SID Implementation License. </p> <p> THE WORK IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL MASSACHUSETTS INSTITUTE OF TECHNOLOGY, THE AUTHORS, OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE WORK OR THE USE OR OTHER DEALINGS IN THE WORK. </p> <p> <b>O.K.I. SID Implementation License</b> </p> <p> This work (the “Work”), including software, documents, or other items related to O.K.I. SID implementations, is being provided by the copyright holder(s) subject to the terms of the O.K.I. SID Implementation License. By obtaining, using and/or copying this Work, you agree that you have read, understand, and will comply with the following terms and conditions of the O.K.I. SID Implementation License: </p> <p> Permission to use, copy, modify, and distribute this Work and its documentation, with or without modification, for any purpose and without fee or royalty is hereby granted, provided that you include the following on ALL copies of the Work or portions thereof, including modifications or derivatives, that you make: </p> <ul> <li> The full text of the O.K.I. SID Implementation License in a location viewable to users of the redistributed or derivative work. </li> </ul> <ul> <li> Any pre-existing intellectual property disclaimers, notices, or terms and conditions. If none exist, a short notice similar to the following should be used within the body of any redistributed or derivative Work: “Copyright © 2003 Massachusetts Institute of Technology. All Rights Reserved.” </li> </ul> <ul> <li> Notice of any changes or modifications to the O.K.I. Work, including the date the changes were made. Any modified software must be distributed in such as manner as to avoid any confusion with the original O.K.I. Work. </li> </ul> <p> THE WORK IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL MASSACHUSETTS INSTITUTE OF TECHNOLOGY, THE AUTHORS, OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE WORK OR THE USE OR OTHER DEALINGS IN THE WORK. </p> <p> The name and trademarks of copyright holder(s) and/or O.K.I. may NOT be used in advertising or publicity pertaining to the Work without specific, written prior permission. Title to copyright in the Work and any associated documentation will at all times remain with the copyright holders. </p> <p> The export of software employing encryption technology may require a specific license from the United States Government. It is the responsibility of any person or organization contemplating export to obtain such a license before exporting this Work. </p>*/ }