ScientificReport
ScientificReport.BLL.Interfaces.IUserProfileService Interface Reference
Inheritance diagram for ScientificReport.BLL.Interfaces.IUserProfileService:
Inheritance graph
Collaboration diagram for ScientificReport.BLL.Interfaces.IUserProfileService:
Collaboration graph

Public Member Functions

int GetCount ()
 
IEnumerable< UserProfile > GetAll ()
 
IEnumerable< UserProfile > Filter (UserProfileIndexModel model, ClaimsPrincipal userPrincipal, bool userIsAdmin)
 
IEnumerable< UserProfile > GetAllWhere (Func< UserProfile, bool > predicate)
 
IEnumerable< UserProfile > GetPage (int page, int count)
 
IEnumerable< UserProfile > GetPage (IEnumerable< UserProfile > userProfiles, int page, int count)
 
UserProfile GetById (Guid id)
 
UserProfile Get (ClaimsPrincipal claimsPrincipal)
 
UserProfile Get (Func< UserProfile, bool > predicate)
 
void CreateItem (UserProfile item)
 
void UpdateItem (UserProfile item)
 
void DeleteById (Guid id)
 
void SetActiveById (Guid id, bool isActive)
 
void SetApproved (Guid id, bool isApproved)
 
bool UserExists (Guid id)
 
Task< IdentityResult > AddToRoleAsync (UserProfile user, string roleName, UserManager< UserProfile > userManager)
 
Task< IdentityResult > RemoveFromRoleAsync (UserProfile user, string roleName, UserManager< UserProfile > userManager)
 
Task< bool > IsInRoleAsync (UserProfile user, string roleName, UserManager< UserProfile > userManager)
 
Task< string > ChangePassword (UserProfile user, string oldPassword, string newPassword, string newPasswordRepeat, UserManager< UserProfile > userManager)
 
Task< bool > IsTeacherOnlyAsync (UserProfile user, UserManager< UserProfile > userManager)
 
ICollection< Publication > GetUserPublications (Guid id)
 
ICollection< Grant > GetUserGrants (Guid id)
 
ICollection< ScientificWork > GetUserScientificWorks (Guid id)
 
ICollection< Article > GetUserArticles (Guid id)
 
ICollection< ReportThesis > GetUserReportTheses (Guid id)
 
ICollection< ScientificInternship > GetUserScientificInternships (Guid id)
 
ICollection< Review > GetUserReviews (Guid id)
 
ICollection< PatentLicenseActivity > GetUserPatentLicenseActivitiesAsAuthor (Guid id)
 
ICollection< PatentLicenseActivity > GetUserPatentLicenseActivitiesAsApplicant (Guid id)
 
ICollection< ScientificConsultation > GetUserScientificConsultations (Guid id)
 

Detailed Description

Definition at line 13 of file IUserProfileService.cs.

Member Function Documentation

Task<IdentityResult> ScientificReport.BLL.Interfaces.IUserProfileService.AddToRoleAsync ( UserProfile  user,
string  roleName,
UserManager< UserProfile >  userManager 
)
Task<string> ScientificReport.BLL.Interfaces.IUserProfileService.ChangePassword ( UserProfile  user,
string  oldPassword,
string  newPassword,
string  newPasswordRepeat,
UserManager< UserProfile >  userManager 
)
void ScientificReport.BLL.Interfaces.IUserProfileService.CreateItem ( UserProfile  item)
void ScientificReport.BLL.Interfaces.IUserProfileService.DeleteById ( Guid  id)
IEnumerable<UserProfile> ScientificReport.BLL.Interfaces.IUserProfileService.Filter ( UserProfileIndexModel  model,
ClaimsPrincipal  userPrincipal,
bool  userIsAdmin 
)
UserProfile ScientificReport.BLL.Interfaces.IUserProfileService.Get ( ClaimsPrincipal  claimsPrincipal)
UserProfile ScientificReport.BLL.Interfaces.IUserProfileService.Get ( Func< UserProfile, bool >  predicate)
IEnumerable<UserProfile> ScientificReport.BLL.Interfaces.IUserProfileService.GetAll ( )
IEnumerable<UserProfile> ScientificReport.BLL.Interfaces.IUserProfileService.GetAllWhere ( Func< UserProfile, bool >  predicate)
UserProfile ScientificReport.BLL.Interfaces.IUserProfileService.GetById ( Guid  id)
int ScientificReport.BLL.Interfaces.IUserProfileService.GetCount ( )
IEnumerable<UserProfile> ScientificReport.BLL.Interfaces.IUserProfileService.GetPage ( int  page,
int  count 
)
IEnumerable<UserProfile> ScientificReport.BLL.Interfaces.IUserProfileService.GetPage ( IEnumerable< UserProfile >  userProfiles,
int  page,
int  count 
)
ICollection<Article> ScientificReport.BLL.Interfaces.IUserProfileService.GetUserArticles ( Guid  id)
ICollection<Grant> ScientificReport.BLL.Interfaces.IUserProfileService.GetUserGrants ( Guid  id)
ICollection<PatentLicenseActivity> ScientificReport.BLL.Interfaces.IUserProfileService.GetUserPatentLicenseActivitiesAsApplicant ( Guid  id)
ICollection<PatentLicenseActivity> ScientificReport.BLL.Interfaces.IUserProfileService.GetUserPatentLicenseActivitiesAsAuthor ( Guid  id)
ICollection<Publication> ScientificReport.BLL.Interfaces.IUserProfileService.GetUserPublications ( Guid  id)
ICollection<ReportThesis> ScientificReport.BLL.Interfaces.IUserProfileService.GetUserReportTheses ( Guid  id)
ICollection<Review> ScientificReport.BLL.Interfaces.IUserProfileService.GetUserReviews ( Guid  id)
ICollection<ScientificConsultation> ScientificReport.BLL.Interfaces.IUserProfileService.GetUserScientificConsultations ( Guid  id)
ICollection<ScientificInternship> ScientificReport.BLL.Interfaces.IUserProfileService.GetUserScientificInternships ( Guid  id)
ICollection<ScientificWork> ScientificReport.BLL.Interfaces.IUserProfileService.GetUserScientificWorks ( Guid  id)
Task<bool> ScientificReport.BLL.Interfaces.IUserProfileService.IsInRoleAsync ( UserProfile  user,
string  roleName,
UserManager< UserProfile >  userManager 
)
Task<bool> ScientificReport.BLL.Interfaces.IUserProfileService.IsTeacherOnlyAsync ( UserProfile  user,
UserManager< UserProfile >  userManager 
)
Task<IdentityResult> ScientificReport.BLL.Interfaces.IUserProfileService.RemoveFromRoleAsync ( UserProfile  user,
string  roleName,
UserManager< UserProfile >  userManager 
)
void ScientificReport.BLL.Interfaces.IUserProfileService.SetActiveById ( Guid  id,
bool  isActive 
)
void ScientificReport.BLL.Interfaces.IUserProfileService.SetApproved ( Guid  id,
bool  isApproved 
)
void ScientificReport.BLL.Interfaces.IUserProfileService.UpdateItem ( UserProfile  item)
bool ScientificReport.BLL.Interfaces.IUserProfileService.UserExists ( Guid  id)

The documentation for this interface was generated from the following file: