SocialGraphConfig.java
1.93 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/*
* Decompiled with CFR 0_118.
*/
package com.adobe.granite.socialgraph.impl;
import java.util.Arrays;
import java.util.Collection;
import java.util.HashSet;
import java.util.Set;
/*
* This class specifies class file version 49.0 but uses Java 6 signatures. Assumed Java 6.
*/
public class SocialGraphConfig {
private String groupIncomingRelationship = "member";
private String groupOutgoingRelationship = "following";
private Set<String> incomingExcludedGroups = new HashSet<String>(Arrays.asList("everyone"));
private Set<String> outgoingExcludedGroups = new HashSet<String>(Arrays.asList("everyone"));
public String getGroupIncomingRelationship() {
return this.groupIncomingRelationship;
}
public void setGroupIncomingRelationship(String groupIncomingRelationship) {
this.groupIncomingRelationship = groupIncomingRelationship;
}
public Set<String> getIncomingExcludedGroups() {
return this.incomingExcludedGroups;
}
public /* varargs */ void setIncomingExcludedGroups(String ... names) {
this.incomingExcludedGroups = new HashSet<String>();
if (names != null) {
this.incomingExcludedGroups.addAll(Arrays.asList(names));
}
this.incomingExcludedGroups.add("everyone");
}
public String getGroupOutgoingRelationship() {
return this.groupOutgoingRelationship;
}
public void setGroupOutgoingRelationship(String groupOutgoingRelationship) {
this.groupOutgoingRelationship = groupOutgoingRelationship;
}
public Set<String> getOutgoingExcludedGroups() {
return this.outgoingExcludedGroups;
}
public /* varargs */ void setOutgoingExcludedGroups(String ... names) {
this.outgoingExcludedGroups = new HashSet<String>();
if (names != null) {
this.outgoingExcludedGroups.addAll(Arrays.asList(names));
}
this.outgoingExcludedGroups.add("everyone");
}
}