| Interface | osid.resource.Resource | ||
|---|---|---|---|
| Implements | osid.OsidObject | ||
| Description |
A A | ||
| Method | isGroup | ||
| Description |
Tests if this resource is a group. A resource that is a group can be used in the group sessions. | ||
| Return | boolean | true if this resource is a group, false
otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | isDemographic | ||
| Description |
Tests if this resource is a demographic. A resource that is a demographic can be used in the demographic service and the group sessions. | ||
| Return | boolean | true if this resource is a demographic, false
otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | hasAvatar | ||
| Description |
Tests if this resource has an avatar. | ||
| Return | boolean | true if this resource has an avatar, false
otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAvatarId | ||
| Description |
Gets the asset | ||
| Return | osid.id.Id | the asset Id | |
| Errors | ILLEGAL_STATE | hasAvatar() is false | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAvatar | ||
| Description |
Gets the asset. | ||
| Return | osid.repository.Asset | the asset | |
| Errors | ILLEGAL_STATE | hasAvatar() is false | |
| OPERATION_FAILED | unable to complete request | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getResourceRecord | ||
| Description |
Gets the resource record corresponding to the given
| ||
| Parameters | osid.type.Type | resourceRecordType | the resource record type |
| Return | osid.resource.records.ResourceRecord | the resource record | |
| Errors | NULL_ARGUMENT | resourceRecordType is null | |
| OPERATION_FAILED | unable to complete request | ||
| UNSUPPORTED | hasRecordType(resourceRecordType) is false | ||
| Compliance | mandatory | This method must be implemented. | |