public interface OsidSourceableForm extends OsidForm
This form is used to create and update sourceables.
| Modifier and Type | Method and Description |
|---|---|
void |
clearBranding()
Removes the branding.
|
void |
clearLicense()
Removes the license.
|
void |
clearProvider()
Removes the provider.
|
Metadata |
getBrandingMetadata()
Gets the metadata for the asset branding.
|
Metadata |
getLicenseMetadata()
Gets the metadata for the license.
|
Metadata |
getProviderMetadata()
Gets the metadata for a provider.
|
void |
setBranding(Id[] assetIds)
Sets the branding.
|
void |
setLicense(java.lang.String license)
Sets the license.
|
void |
setProvider(Id providerId)
Sets a provider.
|
getDefaultLocale, getInvalidMetadata, getJournalCommentMetadata, getLocales, getValidationMessages, isForUpdate, isValid, setJournalComment, setLocalegetId, isCurrentMetadata getProviderMetadata()
mandatory - This method must be implemented. void setProvider(Id providerId)
providerId - the new providerInvalidArgumentException - providerId is
invalidNoAccessException - Metadata.isReadOnly()
is true NullArgumentException - providerId is
null mandatory - This method must be implemented. void clearProvider()
NoAccessException - Metadata.isRequired()
is true or Metadata.isReadOnly()
is true mandatory - This method must be implemented. Metadata getBrandingMetadata()
mandatory - This method must be implemented. void setBranding(Id[] assetIds)
assetIds - the new assetsInvalidArgumentException - assetIds is
invalidNoAccessException - Metadata.isReadOnly()
is true NullArgumentException - assetIds is
null mandatory - This method must be implemented. void clearBranding()
NoAccessException - Metadata.isRequired()
is true or Metadata.isReadOnly()
is true mandatory - This method must be implemented. Metadata getLicenseMetadata()
mandatory - This method must be implemented. void setLicense(java.lang.String license)
license - the new licenseInvalidArgumentException - license is
invalidNoAccessException - Metadata.isReadOnly()
is true NullArgumentException - license is
null mandatory - This method must be implemented. void clearLicense()
NoAccessException - Metadata.isRequired()
is true or Metadata.isReadOnly()
is true mandatory - This method must be implemented.