update diagramme
continuous-integration/drone/push Build is failing Details

master
Antoine PEREDERII 1 year ago
parent 872f848a11
commit 16228a51fe

@ -13,16 +13,54 @@ abstract class IGenericRepository {
+ deleteItem(item) : bool + deleteItem(item) : bool
} }
abstract class IUserRepository extends IGenericRepository { abstract class IUserRepository extends IGenericRepository {
+ addFriend(int user1,int user2) : void
+ deleteFriend(int user1,int user2) : void
} }
interface INotificationRepository extends IGenericRepository { interface INotificationRepository extends IGenericRepository {
} }
interface IRelationshipRequestRepository extends IGenericRepository { interface IRelationshipRequestRepository extends IGenericRepository {
} }
abstract class dataManager { interface ITrainingRepository extends IGenericRepository {
//possede tout les IRepository extends de IGenericRepository }
+ void save() class NotificationRepository implements INotificationRepository {
+ void load() - notifications : array
+ getItemById(int id) : object
+ getNbItems() : int
+ getItems(int index, int count, string orderingPropertyName, bool descending) : array
+ getItemsByName(string substring, int index, int count, string orderingPropertyName, bool descending) : array
+ getItemByName(string substring, int index, int count, string orderingPropertyName, bool descending) : object
+ updateItem(oldItem, newItem) : void
+ addItem(item) : void
+ deleteItem(item) : bool
}
class RelationshipRequestRepository implements IRelationshipRequestRepository {
- requests : array
+ getItemById(int id) : object
+ getNbItems() : int
+ getItems(int index, int count, string orderingPropertyName, bool descending) : array
+ getItemsByName(string substring, int index, int count, string orderingPropertyName, bool descending) : array
+ getItemByName(string substring, int index, int count, string orderingPropertyName, bool descending) : object
+ updateItem(oldItem, newItem) : void
+ addItem(item) : void
+ deleteItem(item) : bool
}
class TrainingRepository implements ITrainingRepository {
- trainings : array
+ getItemById(int id) : object
+ getNbItems() : int
+ getItems(int index, int count, string orderingPropertyName, bool descending) : array
+ getItemsByDate(date, int index, int count, string orderingPropertyName, bool descending) : array
+ updateItem(oldItem, newItem) : void
+ addItem(item) : void
+ deleteItem(item) : bool
}
class UserRepository implements IUserRepository {
- users : array
+ getItemById(int id) : object
+ getNbItems() : int
+ getItems(int index, int count, string orderingPropertyName, bool descending) : array
+ getItemsByName(string substring, int index, int count, string orderingPropertyName, bool descending) : array
+ getItemByName(string substring, int index, int count, string orderingPropertyName, bool descending) : object
+ updateItem(oldItem, newItem) : void
+ addItem(item) : void
+ deleteItem(item) : bool
} }
``` ```
Loading…
Cancel
Save