| java.lang.Object org.sakaiproject.component.osid.registry.RegistryManager
RegistryManager | public class RegistryManager implements edu.mit.osid.registry.RegistryManager(Code) | |
RegistryManager implements a "straw-man" registry interface.
author: Massachusetts Institute of Technology version: $Id: PresenceTool.java 632 2005-07-14 21:22:50Z jeffkahn@mit.edu $ |
Method Summary | |
public void | assignConfiguration(java.util.Properties configuration) Store the configuration from the consumer and perform other intialization. | public void | assignOsidContext(org.osid.OsidContext context) Store away an OsidContext from the consumer. | public edu.mit.osid.registry.Provider | createProvider(String osidService, String osidVersion, String osidLoadKey, String displayName, String description, org.osid.shared.Id id, String creator, String publisher, String registrationDate, String rights) Append a new record element to registry XML file. | public void | deleteProvider(org.osid.shared.Id providerId) Find the record element in the registry XML file whose identifier node matches the
input. | public org.osid.OsidContext | getOsidContext() Return the OsidContext assigned earlier. | public edu.mit.osid.registry.Provider | getProvider(org.osid.shared.Id providerId) | public edu.mit.osid.registry.ProviderIterator | getProviders() | public edu.mit.osid.registry.ProviderIterator | getProvidersByType(org.osid.shared.Type providerType) Unimplemented method. | public void | osidVersion_2_0() |
assignConfiguration | public void assignConfiguration(java.util.Properties configuration) throws org.osid.repository.RepositoryException(Code) | | Store the configuration from the consumer and perform other intialization.
This method should be called after assignOsidContext() and before any others.
The default OsidLoader does this automatically.
|
assignOsidContext | public void assignOsidContext(org.osid.OsidContext context) throws org.osid.repository.RepositoryException(Code) | | Store away an OsidContext from the consumer.
|
createProvider | public edu.mit.osid.registry.Provider createProvider(String osidService, String osidVersion, String osidLoadKey, String displayName, String description, org.osid.shared.Id id, String creator, String publisher, String registrationDate, String rights) throws edu.mit.osid.registry.RegistryException(Code) | | Append a new record element to registry XML file. Omit any nodes where the input argument is
null, except for the Registration Date. If that is null, insert the current date and time.
|
deleteProvider | public void deleteProvider(org.osid.shared.Id providerId) throws edu.mit.osid.registry.RegistryException(Code) | | Find the record element in the registry XML file whose identifier node matches the
input. Remove that record and re-save the XML.
|
getOsidContext | public org.osid.OsidContext getOsidContext() throws edu.mit.osid.registry.RegistryException(Code) | | Return the OsidContext assigned earlier.
|
getProvider | public edu.mit.osid.registry.Provider getProvider(org.osid.shared.Id providerId) throws edu.mit.osid.registry.RegistryException(Code) | | Return a Provider from the content in the registry XML file
|
getProviders | public edu.mit.osid.registry.ProviderIterator getProviders() throws edu.mit.osid.registry.RegistryException(Code) | | Examine the registry XML for information and maker Providers
|
getProvidersByType | public edu.mit.osid.registry.ProviderIterator getProvidersByType(org.osid.shared.Type providerType) throws edu.mit.osid.registry.RegistryException(Code) | | Unimplemented method. We have no Provider Types for the community at this time.
|
osidVersion_2_0 | public void osidVersion_2_0() throws edu.mit.osid.registry.RegistryException(Code) | | Checked by the org.osid.OsidLoader.getManager() method
|
|
|