/// <summary> /// Joins multiple components together to a composite. /// </summary> /// <returns>EventsComposite</returns> public EventsComposite JoinComponentsToNewComposite(Season season, params EventComponent[] components) { throw new NotImplementedException(); }
/// <summary> /// updates a given event in the database /// </summary> public void UpdateEvent(Season season, EventComponent anEvent) { throw new NotImplementedException(); }
/// <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(); }
/// <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(); }
/// <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(); }
/// <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(); }
public void SetUp(int i) { season = new Season(); }
/// <summary> /// Add components to a given composite. /// </summary> public void AddComponentsToComposite(Season season, EventsComposite composite, EventComponent[] components) { throw new NotImplementedException(); }
public void SetUp() { season = new Season(); season.CurrentAccount = new Account("account", "u", "e", false); eventLogic = new EventLogic(season); }
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); }
public EventManagement.EventComponent[] List(Season season) { //adaptee.list(syncToken); throw new NotImplementedException(); }
/// <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(); }
/// <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(); }
/// <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(); }
/// <summary> /// Removes a specified account. /// </summary> /// <param name="account"></param> public static void RemoveAccount(Season season, Account account) { throw new NotImplementedException(); }