Метод | Описание | |
---|---|---|
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 | |
Результат | void |
public AnswerLevelExamQuestion ( int answerId, int userInfoId ) : void | ||
answerId | int | Integer value of answer if |
userInfoId | int | Integer value of userinfoid |
Результат | void |
public CreateLevel ( |
||
level | Level instance to add. | |
Результат | void |
public CreateLevelExam ( |
||
levelExam | A levelexam persist. | |
Результат | void |
public CreateLevelExamAnswer ( |
||
levelExamAnswer | Levelexamanswer instance | |
Результат | void |
public CreateLevelExamQuestion ( |
||
levelExamQuestion | Levelexamquestion object | |
Результат | void |
public CreateLevelMaterial ( |
||
levelMaterial | levelmaterial object | |
courseId | int | Id of course |
Результат | void |
public CreateLevelProject ( |
||
levelProject | LEvelproject object | |
Результат | void |
public CreateLevelProjectResult ( |
||
levelProjectResult | ||
Результат | void |
public CreateUserLevelProjectResult ( |
||
levelProjectResult | ||
user | ||
Результат | void |
public DeleteLevelExamAnswer ( int levelExamAnswerId ) : void | ||
levelExamAnswerId | int | |
Результат | void |
public DeleteLevelExamQuestion ( int levelExamQuestionId ) : void | ||
levelExamQuestionId | int | |
Результат | void |
public DeleteLevelProject ( int levelProjectId ) : bool | ||
levelProjectId | int | |
Результат | bool |
public GetFirstQuestionByExamId ( int levelExamId ) : |
||
levelExamId | int | |
Результат |
public GetLevel ( int levelId ) : |
||
levelId | int | The id of a level object to get. |
Результат |
public GetLevelExam ( int levelExamId ) : |
||
levelExamId | int | |
Результат |
public GetLevelExamAnswer ( int levelExamAnswerId ) : |
||
levelExamAnswerId | int | |
Результат |
public GetLevelExamQuestion ( int levelExamQuestionsId ) : |
||
levelExamQuestionsId | int | |
Результат |
public GetLevelExamQuestionPlacement ( int levelExamQuestionId ) : int | ||
levelExamQuestionId | int | |
Результат | int |
public GetLevelExamsByCourseId ( int courseId, int userInfoId ) : IEnumerable |
||
courseId | int | |
userInfoId | int | |
Результат | IEnumerable |
public GetLevelExamsByLevelId ( int levelId, int userInfoId ) : IEnumerable |
||
levelId | int | |
userInfoId | int | |
Результат | IEnumerable |
public GetLevelMaterial ( int levelMaterialId ) : |
||
levelMaterialId | int | Id of levelmaterial |
Результат |
public GetLevelMaterials ( ) : IEnumerable |
||
Результат | IEnumerable |
public GetLevelMaterials ( int levelId ) : IEnumerable |
||
levelId | int | Id of level |
Результат | IEnumerable |
public GetLevelMaterials ( int levelId, int contentTypeId ) : IEnumerable |
||
levelId | int | Id of level |
contentTypeId | int | Type of levelmaterial |
Результат | IEnumerable |
public GetLevelProject ( int levelProjectId ) : |
||
levelProjectId | int | Id of a levelproject |
Результат |
public GetLevelProjectResultsByUserId ( int userInfoId ) : IEnumerable |
||
userInfoId | int | Id of a userInfo instance. |
Результат | IEnumerable |
public GetLevelProjectsByCourseId ( int courseId ) : IEnumerable |
||
courseId | int | Id of a course to find levelproject objects |
Результат | IEnumerable |
public GetLevelProjectsByCourseIdAndUserInfoId ( int userInfoId, int courseId ) : IEnumerable |
||
userInfoId | int | |
courseId | int | |
Результат | IEnumerable |
public GetLevelProjectsByLevelId ( int levelId ) : IEnumerable |
||
levelId | int | Integer vased value of levelid to find |
Результат | IEnumerable |
public GetLevelProjectsByUserId ( int userInfoId ) : IEnumerable |
||
userInfoId | int | |
Результат | IEnumerable |
public GetLevelTabsByCourseIdAndUserInfoId ( int courseId, int userInfoId ) : IEnumerable |
||
courseId | int | Id of a course to find |
userInfoId | int | Id of a userinfo to find |
Результат | IEnumerable |
public GetLevels ( int courseId ) : IEnumerable |
||
courseId | int | |
Результат | IEnumerable |
public GetLevelsByCourseId ( int courseId ) : IEnumerable |
||
courseId | int | Id of course |
Результат | IEnumerable |
public GetNextLevelExamQuestion ( int levelExamQuestionId ) : |
||
levelExamQuestionId | int | The current level exam question id. |
Результат |
public GetUserQuestionAnswer ( int levelExamQuestionId, int userInfoId ) : int | ||
levelExamQuestionId | int | |
userInfoId | int | |
Результат | int |
public GetlevelProjectResultByLevelProjectId ( int levelProjectId ) : |
||
levelProjectId | int | |
Результат |
public GetlevelProjectResultsByLevelProjectId ( int levelProjectId ) : IEnumerable |
||
levelProjectId | int | |
Результат | IEnumerable |
public GetlevelProjectResultsByLevelProjectResultId ( int id ) : |
||
id | int | Levelprojectresultid |
Результат |
public HasAccess ( int levelId, int userInfoId ) : bool | ||
levelId | int | Integer value of level |
userInfoId | int | Integer value of userinfo |
Результат | bool |
public HasAccessToExam ( int levelExamId, int userInfoId ) : bool | ||
levelExamId | int | Id of a levelexam |
userInfoId | int | |
Результат | bool |
public ReturnExam ( int levelExamId, int userInfoId ) : double | ||
levelExamId | int | id of a levelexam |
userInfoId | int | id of an userinfo |
Результат | double |
public UpdateLevel ( |
||
level | Level instance with updated values. | |
Результат | void |
public UpdateLevelExam ( |
||
levelExam | Levelexam instance to update. | |
Результат | void |
public UpdateLevelMaterial ( |
||
levelMaterial | Levelmaterial object | |
Результат | void |
public UpdateLevelProject ( |
||
levelProject | Levelproject object | |
Результат | void |
public UpdateLevelProjectFromResult ( |
||
levelProject | Integer value of levelproject | |
userInfoId | int | |
Результат | void |
public UpdateLevelProjectResult ( |
||
levelProjectResult | ||
Результат | void |