public static interface SubjectSDK.SubjectClient
Subject resource APIs.| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.CheckedFuture<Subject,com.covisint.core.http.service.core.ServiceException> |
delete(String subjectId)
Delete a subject by id.
|
com.google.common.util.concurrent.CheckedFuture<Subject,com.covisint.core.http.service.core.ServiceException> |
get(String subjectId)
Retrieves a subject by its id.
|
com.google.common.util.concurrent.CheckedFuture<List<Subject>,com.covisint.core.http.service.core.ServiceException> |
search(List<String> subjectIds,
com.covisint.core.http.service.core.Page page)
Searches for subjects.
|
com.google.common.util.concurrent.CheckedFuture<Subject,com.covisint.core.http.service.core.ServiceException> |
update(Subject subject)
Updates the given subject on the server.
|
@Nonnull com.google.common.util.concurrent.CheckedFuture<Subject,com.covisint.core.http.service.core.ServiceException> delete(@Nonnull@NotEmpty String subjectId)
subjectId - The id of the subject to delete.@Nonnull com.google.common.util.concurrent.CheckedFuture<Subject,com.covisint.core.http.service.core.ServiceException> update(@Nonnull Subject subject)
subject - The subject to persist. The id field must be populated.@Nonnull com.google.common.util.concurrent.CheckedFuture<Subject,com.covisint.core.http.service.core.ServiceException> get(@Nonnull@NotEmpty String subjectId)
subjectId - The id of the subject to retrieve.@Nonnull com.google.common.util.concurrent.CheckedFuture<List<Subject>,com.covisint.core.http.service.core.ServiceException> search(@Nonnull@NonnullElements List<String> subjectIds, @Nonnull com.covisint.core.http.service.core.Page page)
subjectIds - The subject ids to search for. Pass null to search across all subjects.page - The pagination criteria to apply. Pass Page.DEFAULT to return the standard result
collection.Copyright © 2015 Covisint. All rights reserved.