| |
|
| java.lang.Object org.sakaiproject.component.osid.registry.Provider
Provider | public class Provider implements edu.mit.osid.registry.Provider(Code) | |
Provider implements a "straw-man" registry interface. Each RepositoryManager
is a separate Provider. RepositoryManagers are the top-level object in the
O.K.I. Repository OSID. Providers have several attributes.
author: Massachusetts Institute of Technology |
Constructor Summary | |
protected | Provider(edu.mit.osid.registry.RegistryManager registryManager, String osidService, String osidVersion, String osidLoadKey, String displayName, String description, org.osid.shared.Id id, String creator, String publisher, String registrationDate, String rights) Store away the input arguments for use by accessors. |
Provider | protected Provider(edu.mit.osid.registry.RegistryManager registryManager, String osidService, String osidVersion, String osidLoadKey, String displayName, String description, org.osid.shared.Id id, String creator, String publisher, String registrationDate, String rights)(Code) | | Store away the input arguments for use by accessors.
|
getCreator | public String getCreator() throws edu.mit.osid.registry.RegistryException(Code) | | The author of the implementation.
Get the value stored at construction or during an update.
|
getDescription | public String getDescription() throws edu.mit.osid.registry.RegistryException(Code) | | Longer and more informative text than the display name.
Get the value stored at construction or during an update.
|
getDisplayName | public String getDisplayName() throws edu.mit.osid.registry.RegistryException(Code) | | A short name for this implementation suitable for display in a picklist.
Get the value stored at construction or during an update.
|
getId | public org.osid.shared.Id getId() throws edu.mit.osid.registry.RegistryException(Code) | | A unique identifier for the Repository.
Get the value stored at construction or during an update.
|
getOsidLoadKey | public String getOsidLoadKey() throws edu.mit.osid.registry.RegistryException(Code) | | The information a loader / factory would need to return an instance of an implementation.
An example is edu.mit.osidimpl.repository.xyz
Get the value stored at construction or during an update.
|
getOsidService | public String getOsidService() throws edu.mit.osid.registry.RegistryException(Code) | | The OSID Service is the package name defined by O.K.I.
An example is org.osid.repository
Get the value stored at construction or during an update.
|
getOsidVersion | public String getOsidVersion() throws edu.mit.osid.registry.RegistryException(Code) | | The version of the OSID -- not the version of the implementation. An example is 2.0.
Get the value stored at construction or during an update.
|
getPublisher | public String getPublisher() throws edu.mit.osid.registry.RegistryException(Code) | | The institution that developed or is providing the implementation.
Get the value stored at construction or during an update.
|
getRegistrationDate | public String getRegistrationDate() throws edu.mit.osid.registry.RegistryException(Code) | | The timestamp for this registration. This is set by the RegistryManager.createProvider()
method. Consumers of the Registry may use this date to determine which of two versions
of a Provider is more recent.
Get the value stored at construction or during an update.
|
getRights | public String getRights() throws edu.mit.osid.registry.RegistryException(Code) | | A description of how the Repository may be used. Note there is no digital rights enforcement
in the Registry, so this is descriptive only.
Get the value stored at construction or during an update.
|
updateCreator | public void updateCreator(String creator) throws edu.mit.osid.registry.RegistryException(Code) | | The author of the implementation.
Update the value stored at construction or during an earlier update.
This change is immediately written to the registry.
|
updateDescription | public void updateDescription(String description) throws edu.mit.osid.registry.RegistryException(Code) | | Longer and more informative text than the display name.
Update the value stored at construction or during an earlier update.
This change is immediately written to the registry.
|
updateDisplayName | public void updateDisplayName(String displayName) throws edu.mit.osid.registry.RegistryException(Code) | | A short name for this implementation suitable for display in a picklist.
Update the value stored at construction or during an earlier update.
This change is immediately written to the registry.
|
updateId | public void updateId(org.osid.shared.Id id) throws edu.mit.osid.registry.RegistryException(Code) | | A unique identifier for the Repository.
Update the value stored at construction or during an earlier update.
This change is immediately written to the registry.
|
updateOsidLoadKey | public void updateOsidLoadKey(String osidLoadKey) throws edu.mit.osid.registry.RegistryException(Code) | | The information a loader / factory would need to return an instance of an implementation.
An example is edu.mit.osidimpl.repository.xyz
Update the value stored at construction or during an earlier update.
This change is immediately written to the registry.
|
updateOsidService | public void updateOsidService(String osidService) throws edu.mit.osid.registry.RegistryException(Code) | | The OSID Service is the package name defined by O.K.I.
An example is org.osid.repositor
Update the value stored at construction or during an earlier update.
This change is immediately written to the registry.
|
updateOsidVersion | public void updateOsidVersion(String osidVersion) throws edu.mit.osid.registry.RegistryException(Code) | | The version of the OSID -- not the version of the implementation. An example is 2.0.
Update the value stored at construction or during an earlier update.
This change is immediately written to the registry.
|
updatePublisher | public void updatePublisher(String publisher) throws edu.mit.osid.registry.RegistryException(Code) | | The institution that developed or is providing the implementation.
Update the value stored at construction or during an earlier update.
This change is immediately written to the registry.
|
updateRegistrationDate | public void updateRegistrationDate(String registrationDate) throws edu.mit.osid.registry.RegistryException(Code) | | The timestamp for this registration. This is set by the RegistryManager.createProvider()
method. Consumers of the Registry may use this date to determine which of two versions
of a Provider is more recent. Call this method with care. Letting createProvider()
populate this value may be safer.
Update the value stored at construction or during an earlier update.
This change is immediately written to the registry.
|
updateRights | public void updateRights(String rights) throws edu.mit.osid.registry.RegistryException(Code) | | A description of how the Repository may be used. Note there is no digital rights enforcement
in the Registry, so this is descriptive only.
Update the value stored at construction or during an earlier update.
This change is immediately written to the registry.
|
|
|
|