Project

General

Profile

« Previous | Next » 

Revision 50058

View differences:

modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/shared/AggregationDetails.java
1
package eu.dnetlib.repo.manager.shared;
2

  
3
import java.util.Date;
4

  
5
public class AggregationDetails {
6

  
7

  
8
    private String aggregationStage;
9
    private Date date;
10
    private int numberOfRecords;
11
    private String collectionMode;
12

  
13
    public AggregationDetails() {
14
    }
15

  
16
    public String getAggregationStage() {
17
        return aggregationStage;
18
    }
19

  
20
    public String getCollectionMode() {
21
        return collectionMode;
22
    }
23

  
24
    public void setCollectionMode(String collectionMode) {
25
        this.collectionMode = collectionMode;
26
    }
27

  
28
    public void setAggregationStage(String aggregationStage) {
29
        this.aggregationStage = aggregationStage;
30
    }
31

  
32
    public Date getDate() {
33
        return date;
34
    }
35

  
36
    public void setDate(Date date) {
37
        this.date = date;
38
    }
39

  
40
    public int getNumberOfRecords() {
41
        return numberOfRecords;
42
    }
43

  
44
    public void setNumberOfRecords(int numberOfRecords) {
45
        this.numberOfRecords = numberOfRecords;
46
    }
47
}
modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/shared/Triple.java
1
package eu.dnetlib.repo.manager.shared;
2

  
3
import com.google.gwt.user.client.rpc.IsSerializable;
4

  
5
/**
6
 * Created by stefania on 3/8/16.
7
 */
8
public class Triple<K, V, L> extends Tuple<K, V> implements IsSerializable {
9

  
10
    private L third;
11

  
12
    public Triple() {
13
    }
14

  
15
    public Triple(K first, V second, L third) {
16
        super(first, second);
17
        this.third = third;
18
    }
19

  
20
    public L getThird() {
21
        return third;
22
    }
23

  
24
    public void setThird(L third) {
25
        this.third = third;
26
    }
27
}
modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/shared/WizardState.java
1
package eu.dnetlib.repo.manager.shared;
2

  
3
import com.google.gwt.user.client.rpc.IsSerializable;
4

  
5
/**
6
 * Created by stefania on 2/10/16.
7
 */
8
public class WizardState implements IsSerializable {
9
}
modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/shared/BrokerException.java
1
package eu.dnetlib.repo.manager.shared;
2

  
3

  
4
/**
5
 * Created by stefanos on 27-Oct-16.
6
 */
7
public class BrokerException extends Exception {
8

  
9
    public BrokerException(Throwable th) {
10
        super(th);
11
    }
12

  
13
    public BrokerException() {
14
    }
15

  
16

  
17
}
modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/shared/Country.java
1
package eu.dnetlib.repo.manager.shared;
2

  
3
public class Country {
4

  
5
    private String name;
6
    private String code;
7

  
8

  
9
    public String getName() {
10
        return name;
11
    }
12

  
13
    public void setName(String name) {
14
        this.name = name;
15
    }
16

  
17
    public String getCode() {
18
        return code;
19
    }
20

  
21
    public void setCode(String code) {
22
        this.code = code;
23
    }
24
}
modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/shared/broker/Pid.java
1
package eu.dnetlib.repo.manager.shared.broker;
2

  
3
import com.google.gwt.user.client.rpc.IsSerializable;
4

  
5
/**
6
 * Created by claudio on 22/07/16.
7
 */
8
public class Pid implements IsSerializable {
9

  
10
    private String value;
11

  
12
    private String type;
13

  
14
    public Pid() {
15
    }
16

  
17
    public String getValue() {
18
        return value;
19
    }
20

  
21
    public void setValue(String value) {
22
        this.value = value;
23
    }
24

  
25
    public String getType() {
26
        return type;
27
    }
28

  
29
    public void setType(String type) {
30
        this.type = type;
31
    }
32
}
modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/shared/broker/MapValueType.java
1
package eu.dnetlib.repo.manager.shared.broker;
2

  
3
import com.google.gwt.user.client.rpc.IsSerializable;
4

  
5
/**
6
 * Created by stefanos on 17/3/2017.
7
 */
8
public enum MapValueType implements IsSerializable {
9
    STRING, INTEGER, FLOAT, DATE, BOOLEAN, LIST_STRING, LIST_INTEGER, LIST_FLOAT, LIST_DATE, LIST_BOOLEAN;
10
}
modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/shared/broker/OpenAireEventPayload.java
1
package eu.dnetlib.repo.manager.shared.broker;
2

  
3
import com.google.gwt.user.client.rpc.IsSerializable;
4

  
5
/**
6
 * Created by claudio on 11/07/16.
7
 */
8
public class OpenAireEventPayload implements IsSerializable {
9

  
10
    private Publication publication;
11

  
12
    private Publication highlight;
13

  
14
    private Provenance provenance;
15

  
16
    private float trust;
17

  
18
    public OpenAireEventPayload() {
19
    }
20

  
21
    public Publication getPublication() {
22
        return publication;
23
    }
24

  
25
    public void setPublication(Publication publication) {
26
        this.publication = publication;
27
    }
28

  
29
    public Publication getHighlight() {
30
        return highlight;
31
    }
32

  
33
    public void setHighlight(Publication highlight) {
34
        this.highlight = highlight;
35
    }
36

  
37
    public Provenance getProvenance() {
38
        return provenance;
39
    }
40

  
41
    public void setProvenance(Provenance provenance) {
42
        this.provenance = provenance;
43
    }
44

  
45
    public float getTrust() {
46
        return trust;
47
    }
48

  
49
    public void setTrust(float trust) {
50
        this.trust = trust;
51
    }
52
}
modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/shared/broker/DatasourcesBroker.java
1
package eu.dnetlib.repo.manager.shared.broker;
2

  
3
import com.google.gwt.user.client.rpc.IsSerializable;
4
import eu.dnetlib.repo.manager.shared.Tuple;
5

  
6
import java.util.List;
7

  
8
/**
9
 * Created by stefanos on 31/10/2016.
10
 */
11
public class DatasourcesBroker implements IsSerializable {
12

  
13
    private List<Tuple<BrowseEntry, String>> datasourcesOfUser;
14
    private List<Tuple<BrowseEntry, String>> sharedDatasources;
15
    private List<Tuple<BrowseEntry, String>> datasourcesOfOthers;
16

  
17
    public List<Tuple<BrowseEntry, String>> getDatasourcesOfUser() {
18
        return datasourcesOfUser;
19
    }
20

  
21
    public void setDatasourcesOfUser(List<Tuple<BrowseEntry, String>> datasourcesOfUser) {
22
        this.datasourcesOfUser = datasourcesOfUser;
23
    }
24

  
25
    public List<Tuple<BrowseEntry, String>> getSharedDatasources() {
26
        return sharedDatasources;
27
    }
28

  
29
    public void setSharedDatasources(List<Tuple<BrowseEntry, String>> sharedDatasources) {
30
        this.sharedDatasources = sharedDatasources;
31
    }
32

  
33
    public List<Tuple<BrowseEntry, String>> getDatasourcesOfOthers() {
34
        return datasourcesOfOthers;
35
    }
36

  
37
    public void setDatasourcesOfOthers(List<Tuple<BrowseEntry, String>> datasourcesOfOthers) {
38
        this.datasourcesOfOthers = datasourcesOfOthers;
39
    }
40
}
modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/shared/broker/BrowseEntry.java
1
package eu.dnetlib.repo.manager.shared.broker;
2

  
3
import com.google.gwt.user.client.rpc.IsSerializable;
4

  
5
/**
6
 * Created by stefanos on 26/10/2016.
7
 */
8
public class BrowseEntry implements Comparable<BrowseEntry>, IsSerializable{
9

  
10
    public String value;
11
    public Long size;
12

  
13
    public BrowseEntry() {
14
    }
15

  
16
    public BrowseEntry(final String value, final Long size) {
17
        this.value = value;
18
        this.size = size;
19
    }
20

  
21
    public String getValue() {
22
        return value;
23
    }
24

  
25
    public void setValue(String value) {
26
        this.value = value;
27
    }
28

  
29
    public Long getSize() {
30
        return size;
31
    }
32

  
33
    public void setSize(Long size) {
34
        this.size = size;
35
    }
36

  
37
    @Override
38
    public int compareTo(final BrowseEntry bv) {
39
        return Long.compare(getSize(), bv.getSize());
40
    }
41

  
42
}
modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/shared/broker/Subscription.java
1
package eu.dnetlib.repo.manager.shared.broker;
2

  
3
/**
4
 * Created by stefanos on 10-Mar-17.
5
 */
6

  
7

  
8
import com.google.gwt.user.client.rpc.IsSerializable;
9

  
10
import java.util.Date;
11
import java.util.List;
12

  
13

  
14
public class Subscription implements IsSerializable {
15

  
16
    private String subscriptionId;
17

  
18
    private String subscriber;
19

  
20
    private String topic;
21

  
22
    private NotificationFrequency frequency;
23

  
24
    private NotificationMode mode;
25

  
26
    private Date lastNotificationDate;
27

  
28
    private String conditions;
29

  
30
    private List<MapConditions> conditionsAsList;
31

  
32
    public Subscription() {
33
    }
34

  
35
    public String getSubscriptionId() {
36
        return subscriptionId;
37
    }
38

  
39
    public void setSubscriptionId(String subscriptionId) {
40
        this.subscriptionId = subscriptionId;
41
    }
42

  
43
    public String getSubscriber() {
44
        return subscriber;
45
    }
46

  
47
    public void setSubscriber(String subscriber) {
48
        this.subscriber = subscriber;
49
    }
50

  
51
    public String getTopic() {
52
        return topic;
53
    }
54

  
55
    public void setTopic(String topic) {
56
        this.topic = topic;
57
    }
58

  
59
    public NotificationFrequency getFrequency() {
60
        return frequency;
61
    }
62

  
63
    public void setFrequency(NotificationFrequency frequency) {
64
        this.frequency = frequency;
65
    }
66

  
67
    public NotificationMode getMode() {
68
        return mode;
69
    }
70

  
71
    public void setMode(NotificationMode mode) {
72
        this.mode = mode;
73
    }
74

  
75
    public Date getLastNotificationDate() {
76
        return lastNotificationDate;
77
    }
78

  
79
    public void setLastNotificationDate(Date lastNotificationDate) {
80
        this.lastNotificationDate = lastNotificationDate;
81
    }
82

  
83
    public String getConditions() {
84
        return conditions;
85
    }
86

  
87
    public void setConditions(String conditions) {
88
        this.conditions = conditions;
89
    }
90

  
91
    public List<MapConditions> getConditionsAsList() {
92
        return conditionsAsList;
93
    }
94

  
95
    public void setConditionsAsList(List<MapConditions> conditionsAsList) {
96
        this.conditionsAsList = conditionsAsList;
97
    }
98
}
modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/shared/broker/Dataset.java
1
package eu.dnetlib.repo.manager.shared.broker;
2

  
3
import com.google.gwt.user.client.rpc.IsSerializable;
4

  
5
import java.util.List;
6

  
7
public class Dataset implements IsSerializable {
8

  
9
    private List<String> titles;
10

  
11
    private List<String> collectedFrom;
12

  
13
    private List<Pid> pids;
14

  
15
    private List<Instance> instances;
16

  
17
    public Dataset() {
18
    }
19

  
20
    public Dataset(final List<String> titles, final List<String> collectedFrom, final List<Pid> pids, final List<Instance> instances) {
21
        this.titles = titles;
22
        this.collectedFrom = collectedFrom;
23
        this.pids = pids;
24
        this.instances = instances;
25
    }
26

  
27
    public List<String> getTitles() {
28
        return titles;
29
    }
30

  
31
    public void setTitles(List<String> titles) {
32
        this.titles = titles;
33
    }
34

  
35
    public List<String> getCollectedFrom() {
36
        return collectedFrom;
37
    }
38

  
39
    public void setCollectedFrom(List<String> collectedFrom) {
40
        this.collectedFrom = collectedFrom;
41
    }
42

  
43
    public List<Pid> getPids() {
44
        return pids;
45
    }
46

  
47
    public void setPids(List<Pid> pids) {
48
        this.pids = pids;
49
    }
50

  
51
    public List<Instance> getInstances() {
52
        return instances;
53
    }
54

  
55
    public void setInstances(List<Instance> instances) {
56
        this.instances = instances;
57
    }
58
}
modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/shared/broker/AdvQueryObject.java
1
package eu.dnetlib.repo.manager.shared.broker;
2

  
3
import com.google.gwt.user.client.rpc.IsSerializable;
4

  
5
import java.util.ArrayList;
6
import java.util.List;
7

  
8
public class AdvQueryObject implements IsSerializable {
9

  
10
    private String datasource = "";
11
    private String topic = "";
12
    private List<String> titles = new ArrayList<>();
13
    private List<String> subjects = new ArrayList<>();
14
    private List<String> authors = new ArrayList<>();
15
    private List<Range> dates = new ArrayList<>();
16
    private Range trust = new Range("0", "1");
17

  
18
    private long page = 0;
19

  
20
    public AdvQueryObject() {
21
    }
22

  
23
    public AdvQueryObject(String datasource, String topic, List<String> titles, List<String> subjects, List<String> authors,
24
                          List<Range> dates, Range trust, long page) {
25
        this.datasource = datasource;
26
        this.topic = topic;
27
        this.titles = titles;
28
        this.subjects = subjects;
29
        this.authors = authors;
30
        this.dates = dates;
31
        this.trust = trust;
32
        this.page = page;
33
    }
34

  
35
    public String getDatasource() {
36
        return datasource;
37
    }
38

  
39
    public void setDatasource(String datasource) {
40
        this.datasource = datasource;
41
    }
42

  
43
    public String getTopic() {
44
        return topic;
45
    }
46

  
47
    public void setTopic(String topic) {
48
        this.topic = topic;
49
    }
50

  
51
    public List<String> getTitles() {
52
        return titles;
53
    }
54

  
55
    public void setTitles(List<String> titles) {
56
        this.titles = titles;
57
    }
58

  
59
    public List<String> getSubjects() {
60
        return subjects;
61
    }
62

  
63
    public void setSubjects(List<String> subjects) {
64
        this.subjects = subjects;
65
    }
66

  
67
    public List<String> getAuthors() {
68
        return authors;
69
    }
70

  
71
    public void setAuthors(List<String> authors) {
72
        this.authors = authors;
73
    }
74

  
75
    public List<Range> getDates() {
76
        return dates;
77
    }
78

  
79
    public void setDates(List<Range> dates) {
80
        this.dates = dates;
81
    }
82

  
83
    public Range getTrust() {
84
        return trust;
85
    }
86

  
87
    public void setTrust(Range trust) {
88
        this.trust = trust;
89
    }
90

  
91
    public long getPage() {
92
        return page;
93
    }
94

  
95
    public void setPage(long page) {
96
        this.page = page;
97
    }
98
}
99

  
modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/shared/broker/ConditionParams.java
1
package eu.dnetlib.repo.manager.shared.broker;
2

  
3
import com.google.gwt.user.client.rpc.IsSerializable;
4

  
5
/**
6
 * Created by stefanos on 17/3/2017.
7
 */
8
public class ConditionParams implements IsSerializable {
9

  
10
    private String value;
11
    private String otherValue;
12

  
13
    public ConditionParams() {
14
    }
15

  
16
    public ConditionParams(final String value, final String otherValue) {
17
        this.value = value;
18
        this.otherValue = otherValue;
19
    }
20

  
21
    public String getValue() {
22
        return this.value;
23
    }
24

  
25
    public void setValue(final String value) {
26
        this.value = value;
27
    }
28

  
29
    public String getOtherValue() {
30
        return this.otherValue;
31
    }
32

  
33
    public void setOtherValue(final String otherValue) {
34
        this.otherValue = otherValue;
35
    }
36
}
modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/shared/broker/NotificationMode.java
1
package eu.dnetlib.repo.manager.shared.broker;
2

  
3
import com.google.gwt.user.client.rpc.IsSerializable;
4

  
5
/**
6
 * Created by stefanos on 10-Mar-17.
7
 */
8
public enum NotificationMode implements IsSerializable {
9
    MOCK, EMAIL
10
}
modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/shared/broker/Range.java
1
package eu.dnetlib.repo.manager.shared.broker;
2

  
3
import com.google.gwt.user.client.rpc.IsSerializable;
4

  
5
/**
6
 * Created by stefanos on 26/10/2016.
7
 */
8
public class Range implements IsSerializable {
9

  
10
    private String min;
11
    private String max;
12

  
13
    public Range() {
14
    }
15

  
16
    public Range(final String min, final String max) {
17
        super();
18
        this.min = min;
19
        this.max = max;
20
    }
21

  
22
    public String getMin() {
23
        return this.min;
24
    }
25

  
26
    public void setMin(final String min) {
27
        this.min = min;
28
    }
29

  
30
    public String getMax() {
31
        return this.max;
32
    }
33

  
34
    public void setMax(final String max) {
35
        this.max = max;
36
    }
37

  
38
}
modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/shared/broker/SimpleSubscriptionDesc.java
1
package eu.dnetlib.repo.manager.shared.broker;
2

  
3
import com.google.gwt.user.client.rpc.IsSerializable;
4

  
5
/**
6
 * Created by stefanos on 10-Mar-17.
7
 */
8
public class SimpleSubscriptionDesc implements IsSerializable {
9

  
10
    private String id;
11
    private String datasource;
12
    private String topic;
13
    private long count;
14

  
15
    public SimpleSubscriptionDesc() {
16
    }
17

  
18
    public SimpleSubscriptionDesc(final String id, final String datasource, final String topic, final long count) {
19
        this.id = id;
20
        this.datasource = datasource;
21
        this.topic = topic;
22
        this.count = count;
23
    }
24

  
25
    public String getId() {
26
        return this.id;
27
    }
28

  
29
    public void setId(final String id) {
30
        this.id = id;
31
    }
32

  
33
    public String getDatasource() {
34
        return this.datasource;
35
    }
36

  
37
    public void setDatasource(final String datasource) {
38
        this.datasource = datasource;
39
    }
40

  
41
    public String getTopic() {
42
        return this.topic;
43
    }
44

  
45
    public void setTopic(final String topic) {
46
        this.topic = topic;
47
    }
48

  
49
    public long getCount() {
50
        return this.count;
51
    }
52

  
53
    public void setCount(final long count) {
54
        this.count = count;
55
    }
56

  
57
}
modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/shared/broker/Provenance.java
1
package eu.dnetlib.repo.manager.shared.broker;
2

  
3
import com.google.gwt.user.client.rpc.IsSerializable;
4

  
5
/**
6
 * Created by claudio on 26/07/16.
7
 */
8
public class Provenance implements IsSerializable {
9

  
10
    private String repositoryName;
11

  
12
    private String url;
13

  
14
    private String id;
15

  
16
    public Provenance() {
17
    }
18

  
19
    public String getRepositoryName() {
20
        return repositoryName;
21
    }
22

  
23
    public void setRepositoryName(String repositoryName) {
24
        this.repositoryName = repositoryName;
25
    }
26

  
27
    public String getUrl() {
28
        return url;
29
    }
30

  
31
    public void setUrl(String url) {
32
        this.url = url;
33
    }
34

  
35
    public String getId() {
36
        return id;
37
    }
38

  
39
    public void setId(String id) {
40
        this.id = id;
41
    }
42
}
modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/shared/broker/EventsPage.java
1
package eu.dnetlib.repo.manager.shared.broker;
2

  
3
import com.google.gwt.user.client.rpc.IsSerializable;
4

  
5

  
6
import java.util.List;
7

  
8
/**
9
 * Created by stefanos on 26/10/2016.
10
 */
11
public class EventsPage implements IsSerializable{
12

  
13
    private String datasource;
14
    private String topic;
15
    private long currPage;
16
    private long totalPages;
17
    private long total;
18
    private List<OpenAireEventPayload> values;
19

  
20
    public EventsPage() {
21

  
22
    }
23
    public EventsPage(final String datasource, final String topic, final long currPage, final long totalPages, final long total,
24
                      final List<OpenAireEventPayload> values) {
25
        this.datasource = datasource;
26
        this.topic = topic;
27
        this.currPage = currPage;
28
        this.totalPages = totalPages;
29
        this.total = total;
30
        this.values = values;
31
    }
32

  
33
    public String getDatasource() {
34
        return datasource;
35
    }
36

  
37
    public void setDatasource(String datasource) {
38
        this.datasource = datasource;
39
    }
40

  
41
    public String getTopic() {
42
        return topic;
43
    }
44

  
45
    public void setTopic(String topic) {
46
        this.topic = topic;
47
    }
48

  
49
    public long getCurrPage() {
50
        return currPage;
51
    }
52

  
53
    public void setCurrPage(long currPage) {
54
        this.currPage = currPage;
55
    }
56

  
57
    public long getTotalPages() {
58
        return totalPages;
59
    }
60

  
61
    public void setTotalPages(long totalPages) {
62
        this.totalPages = totalPages;
63
    }
64

  
65
    public long getTotal() {
66
        return total;
67
    }
68

  
69
    public void setTotal(long total) {
70
        this.total = total;
71
    }
72

  
73
    public List<OpenAireEventPayload> getValues() {
74
        return values;
75
    }
76

  
77
    public void setValues(List<OpenAireEventPayload> values) {
78
        this.values = values;
79
    }
80
}
modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/shared/broker/ExternalReference.java
1
package eu.dnetlib.repo.manager.shared.broker;
2

  
3
import com.google.gwt.user.client.rpc.IsSerializable;
4

  
5
/**
6
 * Created by claudio on 22/07/16.
7
 */
8
public class ExternalReference implements IsSerializable {
9

  
10
    private String url;
11

  
12
    private String sitename;
13

  
14
    private String type;
15

  
16
    private String refidentifier;
17

  
18
    public ExternalReference() {
19
    }
20

  
21
    public String getUrl() {
22
        return url;
23
    }
24

  
25
    public void setUrl(String url) {
26
        this.url = url;
27
    }
28

  
29
    public String getSitename() {
30
        return sitename;
31
    }
32

  
33
    public void setSitename(String sitename) {
34
        this.sitename = sitename;
35
    }
36

  
37
    public String getType() {
38
        return type;
39
    }
40

  
41
    public void setType(String type) {
42
        this.type = type;
43
    }
44

  
45
    public String getRefidentifier() {
46
        return refidentifier;
47
    }
48

  
49
    public void setRefidentifier(String refidentifier) {
50
        this.refidentifier = refidentifier;
51
    }
52
}
modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/shared/broker/ConditionOperator.java
1
package eu.dnetlib.repo.manager.shared.broker;
2

  
3
import com.google.gwt.user.client.rpc.IsSerializable;
4

  
5
/**
6
 * Created by stefanos on 17/3/2017.
7
 */
8
public enum ConditionOperator implements IsSerializable {
9
    EXACT, MATCH_ANY, MATCH_ALL, RANGE
10
}
modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/shared/broker/Instance.java
1
package eu.dnetlib.repo.manager.shared.broker;
2

  
3
import com.google.gwt.user.client.rpc.IsSerializable;
4

  
5
/**
6
 * Created by claudio on 22/07/16.
7
 */
8
public class Instance implements IsSerializable {
9

  
10
    private String url;
11

  
12
    private String license;
13

  
14
    private String hostedby;
15

  
16
    private String instancetype;
17

  
18
    public Instance() {
19
    }
20

  
21
    public String getUrl() {
22
        return url;
23
    }
24

  
25
    public void setUrl(String url) {
26
        this.url = url;
27
    }
28

  
29
    public String getLicense() {
30
        return license;
31
    }
32

  
33
    public void setLicense(String license) {
34
        this.license = license;
35
    }
36

  
37
    public String getHostedby() {
38
        return hostedby;
39
    }
40

  
41
    public void setHostedby(String hostedby) {
42
        this.hostedby = hostedby;
43
    }
44

  
45
    public String getInstancetype() {
46
        return instancetype;
47
    }
48

  
49
    public void setInstancetype(String instancetype) {
50
        this.instancetype = instancetype;
51
    }
52
}
modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/shared/broker/Project.java
1
package eu.dnetlib.repo.manager.shared.broker;
2

  
3
import com.google.gwt.user.client.rpc.IsSerializable;
4

  
5
public class Project implements IsSerializable {
6

  
7
    private String code;
8
    private String acronym;
9
    private String title;
10
    private String funder;
11
    private String fundingProgram;
12
    private String jurisdiction;
13

  
14
    public Project() {
15
    }
16

  
17
    public Project(final String code, final String acronym, final String title, final String funder, final String fundingProgram, final String jurisdiction) {
18
        this.code = code;
19
        this.acronym = acronym;
20
        this.title = title;
21
        this.funder = funder;
22
        this.fundingProgram = fundingProgram;
23
        this.jurisdiction = jurisdiction;
24
    }
25

  
26
    public String getCode() {
27
        return code;
28
    }
29

  
30
    public void setCode(String code) {
31
        this.code = code;
32
    }
33

  
34
    public String getAcronym() {
35
        return acronym;
36
    }
37

  
38
    public void setAcronym(String acronym) {
39
        this.acronym = acronym;
40
    }
41

  
42
    public String getTitle() {
43
        return title;
44
    }
45

  
46
    public void setTitle(String title) {
47
        this.title = title;
48
    }
49

  
50
    public String getFunder() {
51
        return funder;
52
    }
53

  
54
    public void setFunder(String funder) {
55
        this.funder = funder;
56
    }
57

  
58
    public String getFundingProgram() {
59
        return fundingProgram;
60
    }
61

  
62
    public void setFundingProgram(String fundingProgram) {
63
        this.fundingProgram = fundingProgram;
64
    }
65

  
66
    public String getJurisdiction() {
67
        return jurisdiction;
68
    }
69

  
70
    public void setJurisdiction(String jurisdiction) {
71
        this.jurisdiction = jurisdiction;
72
    }
73
}
modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/shared/broker/MapConditions.java
1
package eu.dnetlib.repo.manager.shared.broker;
2

  
3
import com.google.gwt.user.client.rpc.IsSerializable;
4

  
5
import java.util.ArrayList;
6
import java.util.List;
7

  
8
/**
9
 * Created by stefanos on 17/3/2017.
10
 */
11
public class MapConditions implements IsSerializable {
12

  
13
    private String field;
14
    private MapValueType fieldType;
15
    private ConditionOperator operator;
16
    private List<ConditionParams> listParams = new ArrayList<>();
17

  
18
    public MapConditions() {
19
    }
20

  
21
    public String getField() {
22
        return field;
23
    }
24

  
25
    public void setField(String field) {
26
        this.field = field;
27
    }
28

  
29
    public MapValueType getFieldType() {
30
        return fieldType;
31
    }
32

  
33
    public void setFieldType(MapValueType fieldType) {
34
        this.fieldType = fieldType;
35
    }
36

  
37
    public ConditionOperator getOperator() {
38
        return operator;
39
    }
40

  
41
    public void setOperator(ConditionOperator operator) {
42
        this.operator = operator;
43
    }
44

  
45
    public List<ConditionParams> getListParams() {
46
        return listParams;
47
    }
48

  
49
    public void setListParams(List<ConditionParams> listParams) {
50
        this.listParams = listParams;
51
    }
52
}
modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/shared/broker/OpenaireSubscription.java
1
package eu.dnetlib.repo.manager.shared.broker;
2

  
3
import com.google.gwt.user.client.rpc.IsSerializable;
4

  
5
/**
6
 * Created by stefanos on 10-Mar-17.
7
 */
8

  
9
public class OpenaireSubscription implements IsSerializable {
10

  
11
    private String subscriber;
12
    private NotificationFrequency frequency;
13
    private NotificationMode mode;
14
    private AdvQueryObject query;
15

  
16
    public OpenaireSubscription() {
17
    }
18

  
19
    public OpenaireSubscription(final String subscriber, final NotificationFrequency frequency, final
20
    NotificationMode mode,
21
                                final AdvQueryObject query) {
22
        this.subscriber = subscriber;
23
        this.frequency = frequency;
24
        this.mode = mode;
25
        this.query = query;
26
    }
27

  
28
    public String getSubscriber() {
29
        return this.subscriber;
30
    }
31

  
32
    public void setSubscriber(final String subscriber) {
33
        this.subscriber = subscriber;
34
    }
35

  
36
    public NotificationFrequency getFrequency() {
37
        return this.frequency;
38
    }
39

  
40
    public void setFrequency(final NotificationFrequency frequency) {
41
        this.frequency = frequency;
42
    }
43

  
44
    public NotificationMode getMode() {
45
        return this.mode;
46
    }
47

  
48
    public void setMode(final NotificationMode mode) {
49
        this.mode = mode;
50
    }
51

  
52
    public AdvQueryObject getQuery() {
53
        return this.query;
54
    }
55

  
56
    public void setQuery(final AdvQueryObject query) {
57
        this.query = query;
58
    }
59

  
60

  
61
}
modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/shared/broker/NotificationFrequency.java
1
package eu.dnetlib.repo.manager.shared.broker;
2

  
3
import com.google.gwt.user.client.rpc.IsSerializable;
4

  
5
/**
6
 * Created by stefanos on 10-Mar-17.
7
 */
8
public enum NotificationFrequency implements IsSerializable {
9
    never, realtime, daily, weekly, monthly
10
}
modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/shared/broker/Publication.java
1
package eu.dnetlib.repo.manager.shared.broker;
2

  
3
import com.google.gwt.user.client.rpc.IsSerializable;
4

  
5
import java.util.ArrayList;
6
import java.util.List;
7

  
8
/**
9
 * Created by claudio on 22/07/16.
10
 */
11
public class Publication implements IsSerializable {
12

  
13
    private String originalId;
14

  
15
    private List<String> titles = new ArrayList<>();
16

  
17
    private List<String> abstracts = new ArrayList<>();
18

  
19
    private String language;
20

  
21
    private List<String> subjects = new ArrayList<>();
22

  
23
    private List<String> creators = new ArrayList<>();
24

  
25
    private String publicationdate;
26

  
27
    private String publisher;
28

  
29
    private String embargoenddate;
30

  
31
    private List<String> contributor = new ArrayList<>();
32

  
33
    private Journal journal;
34

  
35
    private List<String> collectedFrom = new ArrayList<>();
36

  
37
    private List<Pid> pids = new ArrayList<>();
38

  
39
    private List<Instance> instances = new ArrayList<>();
40

  
41
    private List<ExternalReference> externalReferences = new ArrayList<>();
42

  
43
    private List<Project> projects = new ArrayList<>();
44

  
45
    private List<Dataset> datasets = new ArrayList<>();
46

  
47
    public Publication() {
48
    }
49

  
50
    public String getOriginalId() {
51
        return originalId;
52
    }
53

  
54
    public void setOriginalId(String originalId) {
55
        this.originalId = originalId;
56
    }
57

  
58
    public List<String> getTitles() {
59
        return titles;
60
    }
61

  
62
    public void setTitles(List<String> titles) {
63
        this.titles = titles;
64
    }
65

  
66
    public List<String> getAbstracts() {
67
        return abstracts;
68
    }
69

  
70
    public void setAbstracts(List<String> abstracts) {
71
        this.abstracts = abstracts;
72
    }
73

  
74
    public String getLanguage() {
75
        return language;
76
    }
77

  
78
    public void setLanguage(String language) {
79
        this.language = language;
80
    }
81

  
82
    public List<String> getSubjects() {
83
        return subjects;
84
    }
85

  
86
    public void setSubjects(List<String> subjects) {
87
        this.subjects = subjects;
88
    }
89

  
90
    public List<String> getCreators() {
91
        return creators;
92
    }
93

  
94
    public void setCreators(List<String> creators) {
95
        this.creators = creators;
96
    }
97

  
98
    public String getPublicationdate() {
99
        return publicationdate;
100
    }
101

  
102
    public void setPublicationdate(String publicationdate) {
103
        this.publicationdate = publicationdate;
104
    }
105

  
106
    public String getPublisher() {
107
        return publisher;
108
    }
109

  
110
    public void setPublisher(String publisher) {
111
        this.publisher = publisher;
112
    }
113

  
114
    public String getEmbargoenddate() {
115
        return embargoenddate;
116
    }
117

  
118
    public void setEmbargoenddate(String embargoenddate) {
119
        this.embargoenddate = embargoenddate;
120
    }
121

  
122
    public List<String> getContributor() {
123
        return contributor;
124
    }
125

  
126
    public void setContributor(List<String> contributor) {
127
        this.contributor = contributor;
128
    }
129

  
130
    public Journal getJournal() {
131
        return journal;
132
    }
133

  
134
    public void setJournal(Journal journal) {
135
        this.journal = journal;
136
    }
137

  
138
    public List<String> getCollectedFrom() {
139
        return collectedFrom;
140
    }
141

  
142
    public void setCollectedFrom(List<String> collectedFrom) {
143
        this.collectedFrom = collectedFrom;
144
    }
145

  
146
    public List<Pid> getPids() {
147
        return pids;
148
    }
149

  
150
    public void setPids(List<Pid> pids) {
151
        this.pids = pids;
152
    }
153

  
154
    public List<Instance> getInstances() {
155
        return instances;
156
    }
157

  
158
    public void setInstances(List<Instance> instances) {
159
        this.instances = instances;
160
    }
161

  
162
    public List<ExternalReference> getExternalReferences() {
163
        return externalReferences;
164
    }
165

  
166
    public void setExternalReferences(List<ExternalReference> externalReferences) {
167
        this.externalReferences = externalReferences;
168
    }
169

  
170
    public List<Project> getProjects() {
171
        return projects;
172
    }
173

  
174
    public void setProjects(List<Project> projects) {
175
        this.projects = projects;
176
    }
177

  
178
    public List<Dataset> getDatasets() {
179
        return datasets;
180
    }
181

  
182
    public void setDatasets(List<Dataset> datasets) {
183
        this.datasets = datasets;
184
    }
185
}
modules/uoa-repository-manager-service/trunk/src/main/java/eu/dnetlib/repo/manager/shared/broker/Journal.java
1
package eu.dnetlib.repo.manager.shared.broker;
2

  
3
import com.google.gwt.user.client.rpc.IsSerializable;
4

  
5
/**
6
 * Created by claudio on 22/07/16.
7
 */
8
public class Journal implements IsSerializable {
9

  
10
    private String name;
11

  
12
    private String issn;
13

  
14
    private String eissn;
15

  
16
    private String lissn;
17

  
18
    public Journal() {
19
    }
20

  
21
    public String getName() {
22
        return name;
23
    }
24

  
25
    public void setName(String name) {
26
        this.name = name;
27
    }
28

  
29
    public String getIssn() {
30
        return issn;
31
    }
32

  
33
    public void setIssn(String issn) {
34
        this.issn = issn;
35
    }
36

  
37
    public String getEissn() {
38
        return eissn;
39
    }
40

  
41
    public void setEissn(String eissn) {
42
        this.eissn = eissn;
43
    }
44

  
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff