Méthode | Description | |
---|---|---|
AddLevelProjectToCourseAndLevel ( |
Adds a levelproject instance to a level
|
|
AnswerLevelExamQuestion ( int answerId, int userInfoId ) : void |
Creates a user answer for a specific exam question.
|
|
CreateLevel ( |
Persist a level instance object to the datasource.
|
|
CreateLevelExam ( |
Persist a levelexam instance object to the datasource.
|
|
CreateLevelExamAnswer ( |
Creates a LevelExamAnswer
|
|
CreateLevelExamQuestion ( |
Creates a level exam question.
|
|
CreateLevelMaterial ( |
Create level material item
|
|
CreateLevelProject ( |
Creates a levelproject instance
|
|
CreateLevelProjectResult ( |
checks if level
|
|
CreateUserLevelProjectResult ( |
|
|
DeleteLevelExamAnswer ( int levelExamAnswerId ) : void |
Deletes a level exam answer.
|
|
DeleteLevelExamQuestion ( int levelExamQuestionId ) : void |
Deletes a level exam question. Also deletes all children answers.
|
|
DeleteLevelProject ( int levelProjectId ) : bool |
checks if can delete
|
|
GetContentTypes ( ) : IEnumerable |
Get level material content types
|
|
GetFirstQuestionByExamId ( int levelExamId ) : |
Gets the first question for a given exam.
|
|
GetLevel ( int levelId ) : |
Gets a instance of Level from the datasource.
|
|
GetLevelExam ( int levelExamId ) : |
Get a level exam by LevelExamId.
|
|
GetLevelExamAnswer ( int levelExamAnswerId ) : |
Gets a level exam answer.
|
|
GetLevelExamQuestion ( int levelExamQuestionsId ) : |
Gets a level exam question.
|
|
GetLevelExamQuestionPlacement ( int levelExamQuestionId ) : int |
Get the placement of the question in the level exam question list.
|
|
GetLevelExamsByCourseId ( int courseId, int userInfoId ) : IEnumerable |
Gets a level exam by CourseId and UserInfoId.
|
|
GetLevelExamsByLevelId ( int levelId, int userInfoId ) : IEnumerable |
Gets a level exam by LevelId and UserInfoId.
|
|
GetLevelMaterial ( int levelMaterialId ) : |
Get single level material with specific id
|
|
GetLevelMaterials ( ) : IEnumerable |
Gets level materials
|
|
GetLevelMaterials ( int levelId ) : IEnumerable |
Get level materials for a specified level
|
|
GetLevelMaterials ( int levelId, int contentTypeId ) : IEnumerable |
Get level materials of a certain contenttype for a specified level
|
|
GetLevelProject ( int levelProjectId ) : |
Return a instance of levelproject by levelproject id
|
|
GetLevelProjectResultsByUserId ( int userInfoId ) : IEnumerable |
Get a collection of levelprojectresult instances by userinfoid
|
|
GetLevelProjects ( ) : IEnumerable |
Returns all instances of levelprojects
|
|
GetLevelProjectsByCourseId ( int courseId ) : IEnumerable |
Gets all levelproject objects by course id
|
|
GetLevelProjectsByCourseIdAndUserInfoId ( int userInfoId, int courseId ) : IEnumerable |
returns a collection
|
|
GetLevelProjectsByLevelId ( int levelId ) : IEnumerable |
Returns a collection of levelproject by levelid
|
|
GetLevelProjectsByUserId ( int userInfoId ) : IEnumerable |
returns a collection
|
|
GetLevelTabsByCourseIdAndUserInfoId ( int courseId, int userInfoId ) : IEnumerable |
Get leveltabs by course id and user info id
|
|
GetLevels ( ) : IEnumerable |
Returns a collection of levels
|
|
GetLevels ( int courseId ) : IEnumerable |
Returns a collection of level instances
|
|
GetLevelsByCourseId ( int courseId ) : IEnumerable |
Returns all level instances by course id
|
|
GetNextLevelExamQuestion ( int levelExamQuestionId ) : |
Gets the next question in a level exam.
|
|
GetUserQuestionAnswer ( int levelExamQuestionId, int userInfoId ) : int |
Gets the users LevelExamAnswerId for an exam question.
|
|
GetlevelProjectResultByLevelProjectId ( int levelProjectId ) : |
Returns a instance of levelprojectresult by levelproject id
|
|
GetlevelProjectResultsByLevelProjectId ( int levelProjectId ) : IEnumerable |
|
|
GetlevelProjectResultsByLevelProjectResultId ( int id ) : |
Returns a instance of levelprojectresult by levelprojectresultid
|
|
HasAccess ( int levelId, int userInfoId ) : bool |
CHecks if a user has acces to a particular level
|
|
HasAccessToExam ( int levelExamId, int userInfoId ) : bool |
Checks if the user has access to an exam.
|
|
ReturnExam ( int levelExamId, int userInfoId ) : double |
Closes an exam and gives the user a grade, points and notification.
|
|
UpdateLevel ( |
Update a level object with new changes and persist it to the datasource.
|
|
UpdateLevelExam ( |
Updates a levelexam.
|
|
UpdateLevelMaterial ( |
Update level material item
|
|
UpdateLevelProject ( |
Updates a levelproject instance
|
|
UpdateLevelProjectFromResult ( |
Updates a levelproject from levelrpojectresult
|
|
UpdateLevelProjectResult ( |
Updates a instance of levelproject
|
public AddLevelProjectToCourseAndLevel ( |
||
levelproject | ||
courseId | int | |
Résultat | void |
public AnswerLevelExamQuestion ( int answerId, int userInfoId ) : void | ||
answerId | int | Integer value of answer if |
userInfoId | int | Integer value of userinfoid |
Résultat | void |
public CreateLevel ( |
||
level | Level instance to add. | |
Résultat | void |
public CreateLevelExam ( |
||
levelExam | A levelexam persist. | |
Résultat | void |
public CreateLevelExamAnswer ( |
||
levelExamAnswer | Levelexamanswer instance | |
Résultat | void |
public CreateLevelExamQuestion ( |
||
levelExamQuestion | Levelexamquestion object | |
Résultat | void |
public CreateLevelMaterial ( |
||
levelMaterial | levelmaterial object | |
courseId | int | Id of course |
Résultat | void |
public CreateLevelProject ( |
||
levelProject | LEvelproject object | |
Résultat | void |
public CreateLevelProjectResult ( |
||
levelProjectResult | ||
Résultat | void |
public CreateUserLevelProjectResult ( |
||
levelProjectResult | ||
user | ||
Résultat | void |
public DeleteLevelExamAnswer ( int levelExamAnswerId ) : void | ||
levelExamAnswerId | int | |
Résultat | void |
public DeleteLevelExamQuestion ( int levelExamQuestionId ) : void | ||
levelExamQuestionId | int | |
Résultat | void |
public DeleteLevelProject ( int levelProjectId ) : bool | ||
levelProjectId | int | |
Résultat | bool |
public GetFirstQuestionByExamId ( int levelExamId ) : |
||
levelExamId | int | |
Résultat |
public GetLevel ( int levelId ) : |
||
levelId | int | The id of a level object to get. |
Résultat |
public GetLevelExam ( int levelExamId ) : |
||
levelExamId | int | |
Résultat |
public GetLevelExamAnswer ( int levelExamAnswerId ) : |
||
levelExamAnswerId | int | |
Résultat |
public GetLevelExamQuestion ( int levelExamQuestionsId ) : |
||
levelExamQuestionsId | int | |
Résultat |
public GetLevelExamQuestionPlacement ( int levelExamQuestionId ) : int | ||
levelExamQuestionId | int | |
Résultat | int |
public GetLevelExamsByCourseId ( int courseId, int userInfoId ) : IEnumerable |
||
courseId | int | |
userInfoId | int | |
Résultat | IEnumerable |
public GetLevelExamsByLevelId ( int levelId, int userInfoId ) : IEnumerable |
||
levelId | int | |
userInfoId | int | |
Résultat | IEnumerable |
public GetLevelMaterial ( int levelMaterialId ) : |
||
levelMaterialId | int | Id of levelmaterial |
Résultat |
public GetLevelMaterials ( int levelId ) : IEnumerable |
||
levelId | int | Id of level |
Résultat | IEnumerable |
public GetLevelMaterials ( int levelId, int contentTypeId ) : IEnumerable |
||
levelId | int | Id of level |
contentTypeId | int | Type of levelmaterial |
Résultat | IEnumerable |
public GetLevelProject ( int levelProjectId ) : |
||
levelProjectId | int | Id of a levelproject |
Résultat |
public GetLevelProjectResultsByUserId ( int userInfoId ) : IEnumerable |
||
userInfoId | int | Id of a userInfo instance. |
Résultat | IEnumerable |
public GetLevelProjectsByCourseId ( int courseId ) : IEnumerable |
||
courseId | int | Id of a course to find levelproject objects |
Résultat | IEnumerable |
public GetLevelProjectsByCourseIdAndUserInfoId ( int userInfoId, int courseId ) : IEnumerable |
||
userInfoId | int | |
courseId | int | |
Résultat | IEnumerable |
public GetLevelProjectsByLevelId ( int levelId ) : IEnumerable |
||
levelId | int | Integer vased value of levelid to find |
Résultat | IEnumerable |
public GetLevelProjectsByUserId ( int userInfoId ) : IEnumerable |
||
userInfoId | int | |
Résultat | IEnumerable |
public GetLevelTabsByCourseIdAndUserInfoId ( int courseId, int userInfoId ) : IEnumerable |
||
courseId | int | Id of a course to find |
userInfoId | int | Id of a userinfo to find |
Résultat | IEnumerable |
public GetLevels ( int courseId ) : IEnumerable |
||
courseId | int | |
Résultat | IEnumerable |
public GetLevelsByCourseId ( int courseId ) : IEnumerable |
||
courseId | int | Id of course |
Résultat | IEnumerable |
public GetNextLevelExamQuestion ( int levelExamQuestionId ) : |
||
levelExamQuestionId | int | The current level exam question id. |
Résultat |
public GetUserQuestionAnswer ( int levelExamQuestionId, int userInfoId ) : int | ||
levelExamQuestionId | int | |
userInfoId | int | |
Résultat | int |
public GetlevelProjectResultByLevelProjectId ( int levelProjectId ) : |
||
levelProjectId | int | |
Résultat |
public GetlevelProjectResultsByLevelProjectId ( int levelProjectId ) : IEnumerable |
||
levelProjectId | int | |
Résultat | IEnumerable |
public GetlevelProjectResultsByLevelProjectResultId ( int id ) : |
||
id | int | Levelprojectresultid |
Résultat |
public HasAccess ( int levelId, int userInfoId ) : bool | ||
levelId | int | Integer value of level |
userInfoId | int | Integer value of userinfo |
Résultat | bool |
public HasAccessToExam ( int levelExamId, int userInfoId ) : bool | ||
levelExamId | int | Id of a levelexam |
userInfoId | int | |
Résultat | bool |
public ReturnExam ( int levelExamId, int userInfoId ) : double | ||
levelExamId | int | id of a levelexam |
userInfoId | int | id of an userinfo |
Résultat | double |
public UpdateLevel ( |
||
level | Level instance with updated values. | |
Résultat | void |
public UpdateLevelExam ( |
||
levelExam | Levelexam instance to update. | |
Résultat | void |
public UpdateLevelMaterial ( |
||
levelMaterial | Levelmaterial object | |
Résultat | void |
public UpdateLevelProject ( |
||
levelProject | Levelproject object | |
Résultat | void |
public UpdateLevelProjectFromResult ( |
||
levelProject | Integer value of levelproject | |
userInfoId | int | |
Résultat | void |
public UpdateLevelProjectResult ( |
||
levelProjectResult | ||
Résultat | void |