| Interface | osid.blogging.EntryBlogAssignmentSession | ||
|---|---|---|---|
| Implements | osid.OsidSession | ||
| Description |
This session provides methods to re-assign Moving or adding a reference of a | ||
| Method | canAssignEntries | ||
| Description |
Tests if this user can alter entry/blog mappings. A
return of true does not guarantee successful
authorization. A return of false indicates that it is
known mapping methods in this session will result in a
| ||
| Return | boolean | false if mapping is not authorized, true
otherwise | |
| Compliance | mandatory | This method must be implemented. | |
| Method | canAssignEntriesToBlog | ||
| Description |
Tests if this user can alter entry/blog mappings. A
return of true does not guarantee successful
authorization. A return of false indicates that it is
known mapping methods in this session will result in a
| ||
| Parameters | osid.id.Id | blogId | the Id of the Blog |
| Return | boolean | false if mapping is not authorized, true
otherwise | |
| Errors | NULL_ARGUMENT | blogId is null | |
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssignableBlogIds | ||
| Description |
Gets a list of blogs including and under the given blogs node in which any entry can be assigned. | ||
| Parameters | osid.id.Id | blogId | the Id of the Blog |
| Return | osid.id.IdList | list of assignable blog Ids | |
| Errors | NULL_ARGUMENT | blogId is null | |
| OPERATION_FAILED | unable to complete request | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | getAssignableBlogIdsForEntry | ||
| Description |
Gets a list of blogs including and under the given blog node in which a specific entry can be assigned. | ||
| Parameters | osid.id.Id | blogId | the Id of the Blog |
osid.id.Id | entryId | the Id of the Entry | |
| Return | osid.id.IdList | list of assignable blog Ids | |
| Errors | NULL_ARGUMENT | blogId or entryId is null | |
| OPERATION_FAILED | unable to complete request | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | assignEntryToBlog | ||
| Description |
Adds an existing | ||
| Parameters | osid.id.Id | entryId | the Id of the Entry |
osid.id.Id | blogId | the Id of the Blog | |
| Errors | ALREADY_EXISTS | entryId is already assigned to blogId | |
| NOT_FOUND | entryId or blogId not found | ||
| NULL_ARGUMENT | entryId or blogId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | unassignEntryFromBlog | ||
| Description |
Removes an | ||
| Parameters | osid.id.Id | entryId | the Id of the Entry |
osid.id.Id | blogId | the Id of the Blog | |
| Errors | NOT_FOUND | entryId or blogId not found or entryId
not assigned to blogId | |
| NULL_ARGUMENT | entryId or blogId is null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |
| Method | reassignEntryToBlog | ||
| Description |
Moves an | ||
| Parameters | osid.id.Id | entryId | the Id of the Entry |
osid.id.Id | fromBlogId | the Id of the current Blog | |
osid.id.Id | toBlogId | the Id of the destination Blog | |
| Errors | NOT_FOUND | entryId, fromBlogId, or toBlogId not found or
entryId not mapped to fromBlogId | |
| NULL_ARGUMENT | entryId, fromBlogId, or toBlogId is
null | ||
| OPERATION_FAILED | unable to complete request | ||
| PERMISSION_DENIED | authorization failure | ||
| Compliance | mandatory | This method must be implemented. | |