コード例 #1
0
ファイル: EventLogic.cs プロジェクト: Rabka/BDSA2014
 /// <summary>
 /// Joins multiple components together to a composite.
 /// </summary>
 /// <returns>EventsComposite</returns>
 public EventsComposite JoinComponentsToNewComposite(Season season, params EventComponent[] components)
 {
     throw new NotImplementedException();
 }
コード例 #2
0
ファイル: EventLogic.cs プロジェクト: Rabka/BDSA2014
 /// <summary>
 /// updates a given event in the database
 /// </summary>
 public void UpdateEvent(Season season, EventComponent anEvent)
 {
     throw new NotImplementedException();
 }
コード例 #3
0
ファイル: EventLogic.cs プロジェクト: Rabka/BDSA2014
 /// <summary>
 /// Gets the list of all events from and to a specified date.
 /// </summary>
 /// <param name="name"></param>
 /// <returns>Event</returns>
 public EventComponent[] GetEvents(Season season, DateTime from, DateTime to)
 {
     throw new NotImplementedException();
 }
コード例 #4
0
ファイル: EventLogic.cs プロジェクト: Rabka/BDSA2014
 /// <summary>
 /// Gets a link for the user to visit for adding the component to his calendar.
 /// </summary>
 /// <returns>true if you are the owner of the event.</returns>
 public string GetSharedEventLink(Season season, EventComponent component)
 {
     throw new NotImplementedException();
 }
コード例 #5
0
ファイル: EventLogic.cs プロジェクト: Rabka/BDSA2014
 /// <summary>
 /// Adds a new event to the database
 /// </summary>
 /// <param name="description"></param>
 /// <param name="dateFrom"></param>
 /// <param name="dateTo"></param>
 /// <param name="notifications"></param>
 /// <returns>the event</returns>
 public EventLeaf AddEvent(Season season,string description, DateTime dateFrom, DateTime dateTo, Notification[] notifications)
 {
     throw new NotImplementedException();
 }
コード例 #6
0
ファイル: EventLogic.cs プロジェクト: Rabka/BDSA2014
 /// <summary>
 /// Gets an event with a specified ID
 /// </summary>
 /// <param name="name"></param>
 /// <returns>Event</returns>
 public EventComponent GetEventById(Season season, string name)
 {
     throw new NotImplementedException();
 }
コード例 #7
0
ファイル: TestSeason.cs プロジェクト: Rabka/BDSA2014
 public void SetUp(int i)
 {
     season = new Season();
 }
コード例 #8
0
ファイル: EventLogic.cs プロジェクト: Rabka/BDSA2014
 /// <summary>
 /// Add components to a given composite.
 /// </summary>
 public void AddComponentsToComposite(Season season, EventsComposite composite, EventComponent[] components)
 {
     throw new NotImplementedException();
 }
コード例 #9
0
ファイル: TestIntegrationES.cs プロジェクト: Rabka/BDSA2014
 public void SetUp()
 {
     season = new Season();
     season.CurrentAccount = new Account("account", "u", "e", false);
     eventLogic = new EventLogic(season);
 }
コード例 #10
0
ファイル: TestIntegrationAS.cs プロジェクト: Rabka/BDSA2014
        public void SetUp(int i)
        {
            seasonStub = new Season();
            accountLogic = new AccountLogic(seasonStub);

            Maccount = new Account("Maccount", "u", "*****@*****.**", true);
            seasonStub.CurrentAccount = Maccount;
            accountLogic.TryCreateAccount("Maccount", "Mpassword", "*****@*****.**");
            accountLogic = new AccountLogic(seasonStub);
        }
コード例 #11
0
ファイル: EventAdapter.cs プロジェクト: Rabka/BDSA2014
 public EventManagement.EventComponent[] List(Season season)
 {
     //adaptee.list(syncToken);
     throw new NotImplementedException();
 }
コード例 #12
0
ファイル: AccountLogic.cs プロジェクト: Rabka/BDSA2014
 /// <summary>
 /// Attempts a login and will return a seasonID if succeed.
 /// </summary>
 /// <param name="username"></param>
 /// <param name="password"></param>
 /// <returns>return true if success</returns>
 public bool TryLogin(Season season, string username, string password)
 {
     throw new NotImplementedException();
 }
コード例 #13
0
ファイル: AccountLogic.cs プロジェクト: Rabka/BDSA2014
 /// <summary>
 /// 
 /// </summary>
 /// <param name="username"></param>
 /// <param name="password"></param>
 /// <param name="email"></param>
 /// <returns>Succeded boolean</returns>
 public bool TryCreateAccount(Season season, string username, string password, string email)
 {
     throw new NotImplementedException();
 }
コード例 #14
0
ファイル: AccountLogic.cs プロジェクト: Rabka/BDSA2014
 /// <summary>
 /// Returns a list of accounts. Requires account type level of moderator.
 /// </summary>
 /// <param name="username"></param>
 /// <returns>Account</returns>
 public Account[] ListAccounts(Season season, int from, int maxAmount)
 {
     throw new NotImplementedException();
 }
コード例 #15
0
ファイル: AccountLogic.cs プロジェクト: Rabka/BDSA2014
 /// <summary>
 /// Removes a specified account.
 /// </summary>
 /// <param name="account"></param>
 public static void RemoveAccount(Season season, Account account)
 {
     throw new NotImplementedException();
 }