public interface DirectoryEntryForm extends OsidObjectForm
DirectoryEntryForm defines methods in common to both
FileForm and DirectoryForm.
| Modifier and Type | Method and Description |
|---|---|
void |
clearOwner()
Clears the owner.
|
Metadata |
getOwnerMetadata()
Gets the metadata for the owner.
|
void |
setOwner(Id agentId)
Sets the owner.
|
clearDescription, clearDisplayName, clearGenusType, getDescriptionMetadata, getDisplayNameMetadata, getGenusTypeMetadata, setDescription, setDisplayName, setGenusTypegetRequiredRecordTypesgetRecordTypes, hasRecordTypegetDefaultLocale, getInvalidMetadata, getJournalCommentMetadata, getLocales, getValidationMessages, isForUpdate, isValid, setJournalComment, setLocalegetId, isCurrentMetadata getOwnerMetadata()
mandatory - This method must be implemented. void setOwner(Id agentId)
agentId - the new ownerInvalidArgumentException - agentId is
invalidNoAccessException - Metadata.isReadOnly()
is true NullArgumentException - agentId is
null mandatory - This method must be implemented. void clearOwner()
NoAccessException - Metadata.isRequired()
or Metadata.isReadOnly() is true
mandatory - This method must be implemented.