// // SkillProvider.cs // // Author: // Paul Schneider // // Copyright (c) 2015 GNU GPL // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Lesser General Public License for more details. // // You should have received a copy of the GNU Lesser General Public License // along with this program. If not, see . using System; using System.Configuration.Provider; using Yavsc.Model.FrontOffice; namespace Yavsc.Model.Skill { /// /// Skill provider. /// public abstract class SkillProvider: ProviderBase { /// /// Declare the specified skill. /// /// Skill. public abstract long Declare(SkillEntity skill) ; /// /// Declare the specified user skill. /// /// Userskill. public abstract long Declare(UserSkillDeclaration userskill) ; /// /// Rate the specified user skill. /// /// Userskill. public abstract long Rate(UserSkillRating userskill) ; /// /// Rate the specified skill. /// /// Skill. public abstract void Rate(SkillRating skill) ; /// /// Finds the skill identifier. /// /// The skill identifier. /// Pattern. public abstract SkillEntity [] FindSkill(string pattern); /// /// Gets the user skills. /// /// The user skills. /// Username. public abstract PerformerProfile GetUserSkills(string username) ; /// /// Finds the performer. /// /// The performer. /// Skill identifiers. public abstract string [] FindPerformer(long []skillIds); /// /// Deletes the skill. /// /// Skill identifier. public abstract void DeleteSkill(long skillId); /// /// Deletes the user skill. /// /// User skill identifier. public abstract void DeleteUserSkill(long userSkillId); } }