|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface UserIntegrationManager
User-related integration methods.
| Method Summary | |
|---|---|
boolean |
doesUserHaveIntegrations(Id userId)
Determines if a user is a member of any integrations |
java.util.List<UserLmsIntegration> |
getAllIntegrationsByUserId(Id userId)
Gets a list of all integration records for a user. |
UserLmsIntegration |
getUserLmsIntegrationBySourcedid(Id integrationId,
java.lang.String sourcedidSource,
java.lang.String sourcedidId)
Gets a user's integration record for a single integration based on their LMS IMS SourcedId. |
UserLmsIntegration |
getUserLmsIntegrationByUserId(Id integrationId,
Id userId)
Gets a user's integration record for a single integration based on their User Id. |
boolean |
isUserOwnedByIntegration(Id userId)
Determines if a user is owned by the integration. |
void |
removeUserFromLmsIntegration(Id userId,
Id lmsIntegrationId,
boolean heavy)
Removes a user from an integration. |
void |
saveUserIntegration(UserLmsIntegration userLmsIntegration)
Saves a user-integration mapping |
| Method Detail |
|---|
boolean isUserOwnedByIntegration(Id userId)
throws IntegrationException
userId - Id of the User
IntegrationException - if a problem occurs
boolean doesUserHaveIntegrations(Id userId)
throws IntegrationException
userId - Id of the User
IntegrationException - if a problem occurs
UserLmsIntegration getUserLmsIntegrationBySourcedid(Id integrationId,
java.lang.String sourcedidSource,
java.lang.String sourcedidId)
throws IntegrationException
integrationId - Id of the LmsIntegration to search insourcedidSource - IMS SourcedId.Source from the LMSsourcedidId - IMS SourcedId.Id from the LMS
IntegrationException - if a problem occurs
UserLmsIntegration getUserLmsIntegrationByUserId(Id integrationId,
Id userId)
throws IntegrationException
integrationId - Id of the LmsIntegration to search inuserId - Id of the User
IntegrationException - if a problem occurs
java.util.List<UserLmsIntegration> getAllIntegrationsByUserId(Id userId)
throws IntegrationException
userId - Id of the User
IntegrationException - if a problem occurs
void saveUserIntegration(UserLmsIntegration userLmsIntegration)
throws IntegrationException
IntegrationException - if a problem occurs
void removeUserFromLmsIntegration(Id userId,
Id lmsIntegrationId,
boolean heavy)
throws IntegrationException
userId - Id of the UserlmsIntegrationId - Id of the LmsIntegrationheavy - In addition to removing the user from the integration, the following will happen:
IntegrationException - if a problem occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||