Package com.djrapitops.plan.api
Class CommonAPI
- java.lang.Object
-
- com.djrapitops.plan.api.CommonAPI
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.djrapitops.plan.api.PlanAPI
PlanAPI.PlanAPIHolder
-
-
Constructor Summary
Constructors Constructor Description CommonAPI(DBSystem dbSystem, UUIDUtility uuidUtility, net.playeranalytics.plugin.server.PluginLogger logger, ErrorLogger errorLogger)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addPluginDataSource(PluginData pluginData)
Deprecated.PlayerContainer
fetchPlayerContainer(java.util.UUID uuid)
Deprecated.Fetch PlayerContainer from the database.ServerContainer
fetchServerContainer(java.util.UUID serverUUID)
Deprecated.Fetch a ServerContainer from the database.java.util.Collection<java.util.UUID>
fetchServerUUIDs()
Deprecated.Fetch server UUIDs.java.util.Map<java.util.UUID,java.lang.String>
getKnownPlayerNames()
Deprecated.java.lang.String
getPlayerInspectPageLink(java.lang.String playerName)
Deprecated.java.lang.String
getPlayerInspectPageLink(java.util.UUID uuid)
Deprecated.java.lang.String
getPlayerName(java.util.UUID playerUUID)
Deprecated.java.util.UUID
playerNameToUUID(java.lang.String playerName)
Deprecated.
-
-
-
Constructor Detail
-
CommonAPI
@Inject public CommonAPI(DBSystem dbSystem, UUIDUtility uuidUtility, net.playeranalytics.plugin.server.PluginLogger logger, ErrorLogger errorLogger)
Deprecated.
-
-
Method Detail
-
addPluginDataSource
public void addPluginDataSource(PluginData pluginData)
Deprecated.- Specified by:
addPluginDataSource
in interfacePlanAPI
-
getPlayerInspectPageLink
public java.lang.String getPlayerInspectPageLink(java.util.UUID uuid)
Deprecated.- Specified by:
getPlayerInspectPageLink
in interfacePlanAPI
-
getPlayerInspectPageLink
public java.lang.String getPlayerInspectPageLink(java.lang.String playerName)
Deprecated.- Specified by:
getPlayerInspectPageLink
in interfacePlanAPI
-
playerNameToUUID
public java.util.UUID playerNameToUUID(java.lang.String playerName)
Deprecated.- Specified by:
playerNameToUUID
in interfacePlanAPI
-
getKnownPlayerNames
public java.util.Map<java.util.UUID,java.lang.String> getKnownPlayerNames()
Deprecated.- Specified by:
getKnownPlayerNames
in interfacePlanAPI
-
fetchPlayerContainer
public PlayerContainer fetchPlayerContainer(java.util.UUID uuid)
Deprecated.Description copied from interface:PlanAPI
Fetch PlayerContainer from the database.Blocking operation.
- Specified by:
fetchPlayerContainer
in interfacePlanAPI
- Parameters:
uuid
- UUID of the player.- Returns:
- a
PlayerContainer
.
-
fetchServerContainer
public ServerContainer fetchServerContainer(java.util.UUID serverUUID)
Deprecated.Description copied from interface:PlanAPI
Fetch a ServerContainer from the database.Blocking operation.
- Specified by:
fetchServerContainer
in interfacePlanAPI
- Parameters:
serverUUID
- UUID of the server.- Returns:
- a
ServerContainer
.
-
fetchServerUUIDs
public java.util.Collection<java.util.UUID> fetchServerUUIDs()
Deprecated.Description copied from interface:PlanAPI
Fetch server UUIDs.- Specified by:
fetchServerUUIDs
in interfacePlanAPI
- Returns:
- All Plan server UUIDs.
-
getPlayerName
public java.lang.String getPlayerName(java.util.UUID playerUUID)
Deprecated.- Specified by:
getPlayerName
in interfacePlanAPI
-
-