summaryrefslogtreecommitdiffstats
path: root/Dozentenmodulserver/src/server/ServerInterface.java
blob: fffcb0643094866e769408ef6fe879a76f7ab903 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package server;
import java.rmi.*;
import java.sql.ResultSet;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Map;

import Models.User;

public interface ServerInterface extends Remote
{
        public User getFtpUser() throws RemoteException;
        public int DeleteFtpUser(String user) throws RemoteException;
        public ArrayList<String> getImages() throws RemoteException;
        public String getPathOfImage(String name) throws RemoteException;
        public boolean writeVLdata(String imagename, String firstname, String lastname,String university, String Mail, String Tel, String Fak, boolean license, boolean internet, int ram, int cpu) throws RemoteException;
        public List<Object[]> getImageList() throws RemoteException;
        public List<String> getAllOS() throws RemoteException;
        public Map<String,String> getPersonData(String Vorname, String Nachname) throws RemoteException;
        public boolean writeLecturedata(String name, String shortdesc, String desc,Date start, Date end, boolean isActive, String imagename,String firstname,
    			String lastname, String university, String Mail, String Tel,
    			String Fak) throws RemoteException;
}