mirror of
https://bitbucket.org/projectswg/lightspeed.git
synced 2026-08-04 04:16:04 -04:00
Refactored how data is stored on the server side
This commit is contained in:
@@ -29,17 +29,17 @@ package com.projectswg.common.data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.projectswg.lightspeed_frontend.data.SharedBuildData;
|
||||
import com.projectswg.lightspeed_frontend.data.SharedDeploymentData;
|
||||
import com.projectswg.lightspeed_frontend.data.SharedServerData;
|
||||
import com.projectswg.lightspeed.build.ServerBuildData;
|
||||
import com.projectswg.lightspeed.deployment.ServerDeploymentData;
|
||||
import com.projectswg.lightspeed.server.ServerServerData;
|
||||
|
||||
public interface BackendData {
|
||||
|
||||
SharedServerData getServer(String serverId);
|
||||
List<SharedServerData> getServerList();
|
||||
void insertServer(SharedServerData server);
|
||||
void insertBuild(SharedBuildData build);
|
||||
void insertDeployment(SharedDeploymentData deployment);
|
||||
ServerServerData getServer(String serverId);
|
||||
List<ServerServerData> getServerList();
|
||||
void insertServer(ServerServerData server);
|
||||
void insertBuild(ServerBuildData build);
|
||||
void insertDeployment(ServerDeploymentData deployment);
|
||||
void removeServer(String serverId);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user