mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-04 19:33:52 +00:00
Added java doc to leaderboard group specific methods
This commit is contained in:
1 parent
9ad6910637
commit
24e419f6e9
2 files changed
+20
-1
No files matched your search
+9
@@ -28,10 +28,19 @@ public interface DomainObjectFactory {
|
|||||||
|
|
||||||
RaceIdentifier loadRaceIdentifier(DBObject dbObject);
|
RaceIdentifier loadRaceIdentifier(DBObject dbObject);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return The group with the name <code>name</code>, or <code>null</code> if no such group exists.
|
||||||
|
*/
|
||||||
LeaderboardGroup loadLeaderboardGroup(String name);
|
LeaderboardGroup loadLeaderboardGroup(String name);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return All groups in the database.
|
||||||
|
*/
|
||||||
Iterable<LeaderboardGroup> getAllLeaderboardGroups();
|
Iterable<LeaderboardGroup> getAllLeaderboardGroups();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return All leaderboards in the database, which aren't contained by a leaderboard group
|
||||||
|
*/
|
||||||
Iterable<Leaderboard> getLeaderboardsNotInGroup();
|
Iterable<Leaderboard> getLeaderboardsNotInGroup();
|
||||||
|
|
||||||
}
|
}
|
||||||
+11
-1
@@ -43,10 +43,20 @@ public interface MongoObjectFactory {
|
|||||||
|
|
||||||
void storeRaceIdentifier(RaceIdentifier raceIdentifier, DBObject dbObject);
|
void storeRaceIdentifier(RaceIdentifier raceIdentifier, DBObject dbObject);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Stores the group, if it doesn't exist or updates it.<br />
|
||||||
|
* Leaderboards in the group, which aren't stored in the database, will be stored.
|
||||||
|
*/
|
||||||
void storeLeaderboardGroup(LeaderboardGroup leaderboardGroup);
|
void storeLeaderboardGroup(LeaderboardGroup leaderboardGroup);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Removes the group with the name <code>groupName</code> from the database.
|
||||||
|
*/
|
||||||
void removeLeaderboardGroup(String groupName);
|
void removeLeaderboardGroup(String groupName);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Renames the group with the name <code>oldName</code>.
|
||||||
|
*/
|
||||||
void renameLeaderboardGroup(String oldName, String newName);
|
void renameLeaderboardGroup(String oldName, String newName);
|
||||||
|
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user