public class SelectiveDataImpl extends BaseImpl<SelectiveData,SelectiveDataReader,CanvasWriter> implements SelectiveDataReader
apiVersion, canvasBaseUrl, canvasMessenger, masqueradeAs, masqueradeType, oauthToken, paginationPageSize, responseCallback, responseParser, serializeNulls| Constructor and Description |
|---|
SelectiveDataImpl(String canvasBaseUrl,
Integer apiVersion,
OauthToken oauthToken,
RestClient restClient,
int connectTimeout,
int readTimeout,
Integer paginationPageSize,
Boolean serializeNulls) |
| Modifier and Type | Method and Description |
|---|---|
List<SelectiveData> |
getAccountSelectiveDataFromMigration(GetSelectiveDataOptions options)
Get selective data of an account migration.
|
List<SelectiveData> |
getCourseSelectiveDataFromMigration(GetSelectiveDataOptions options)
NOTE : Urls for subitems are expected to be on the same endpoint as the top-level but adding a type parameter
The available types can be retrieved in the top-level GET, then a type can be added to the GetSelectiveDataOptions object on the following call
|
List<SelectiveData> |
getGroupSelectiveDataFromMigration(GetSelectiveDataOptions options)
Get selective data of a group migration.
|
List<SelectiveData> |
getUserSelectiveDataFromMigration(GetSelectiveDataOptions options)
Get selective data of a user migration.
|
protected Type |
listType() |
protected Class<SelectiveData> |
objectType() |
buildCanvasUrl, encode, getFromCanvas, getListFromCanvas, parseListOfResponses, readAsCanvasUser, readAsSisUser, withCallback, writeAsCanvasUser, writeAsSisUserclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreadAsCanvasUser, readAsSisUser, withCallbackpublic SelectiveDataImpl(String canvasBaseUrl, Integer apiVersion, OauthToken oauthToken, RestClient restClient, int connectTimeout, int readTimeout, Integer paginationPageSize, Boolean serializeNulls)
public List<SelectiveData> getCourseSelectiveDataFromMigration(GetSelectiveDataOptions options) throws IOException
getCourseSelectiveDataFromMigration in interface SelectiveDataReaderoptions - The destination item ID for the migration, the migration id and the typeIOException - When there is an error communicating with Canvaspublic List<SelectiveData> getUserSelectiveDataFromMigration(GetSelectiveDataOptions options) throws IOException
SelectiveDataReadergetUserSelectiveDataFromMigration in interface SelectiveDataReaderoptions - The destination item ID for the migration, the migration id and the typeIOException - When there is an error communicating with Canvaspublic List<SelectiveData> getGroupSelectiveDataFromMigration(GetSelectiveDataOptions options) throws IOException
SelectiveDataReadergetGroupSelectiveDataFromMigration in interface SelectiveDataReaderoptions - The destination item ID for the migration, the migration id and the typeIOException - When there is an error communicating with Canvaspublic List<SelectiveData> getAccountSelectiveDataFromMigration(GetSelectiveDataOptions options) throws IOException
SelectiveDataReadergetAccountSelectiveDataFromMigration in interface SelectiveDataReaderoptions - The destination item ID for the migration, the migration id and the typeIOException - When there is an error communicating with Canvasprotected Type listType()
listType in class BaseImpl<SelectiveData,SelectiveDataReader,CanvasWriter>protected Class<SelectiveData> objectType()
objectType in class BaseImpl<SelectiveData,SelectiveDataReader,CanvasWriter>Copyright © 2021 Kansas State University, Office of Mediated Education. All rights reserved.