public interface Block extends OsidObject
A Block . A Block maps to a set of
Issues and whose impact is interpreted outside this service.
| Modifier and Type | Method and Description |
|---|---|
BlockRecord |
getBlockRecord(Type blockRecordType)
Gets the block record corresponding to the given
Block
record Type. |
IdList |
getIssueIds()
Gets the
Ids of the issues. |
IssueList |
getIssues()
Gets the issues.
|
getDescription, getDisplayName, getGenusType, isOfGenusTypegetId, isCurrentgetRecordTypes, hasRecordTypegetProperties, getPropertiesByRecordTypeIdList getIssueIds()
Ids of the issues. Ids mandatory - This method must be implemented. IssueList getIssues() throws OperationFailedException
OperationFailedException - unable to complete requestmandatory - This method must be implemented. BlockRecord getBlockRecord(Type blockRecordType) throws OperationFailedException, PermissionDeniedException
Block
record Type. This method is used to retrieve an object
implementing the requested record. The blockRecordType
may be the Type returned in getRecordTypes()
or any of its parents in a Type hierarchy where
hasRecordType(blockRecordType) is true .blockRecordType - the type of block record to retrieveNullArgumentException - blockRecordType
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failure
occurredUnsupportedException -
hasRecordType(blockRecordType) is false mandatory - This method must be implemented.