View Javadoc
1   package org.kuali.mobility.shared;
2   
3   import java.util.concurrent.ConcurrentHashMap;
4   import java.util.concurrent.ConcurrentMap;
5   
6   public class CoreServiceImpl implements CoreService {
7   
8   	private String googleAnalyticsProfileId;
9       private String googleAnalyticsProfileDomain;
10      private String googleAnalyticsUniversal;
11  
12  	private final ConcurrentMap<String, String> cssCustomizations = new ConcurrentHashMap<String, String>();
13  	
14  	@Override
15  	public String findGoogleAnalyticsProfileId() {
16  		return googleAnalyticsProfileId;
17  	}
18  
19  	@Override
20  	public void setGoogleAnalyticsProfileId(String id) {
21  		googleAnalyticsProfileId = id;
22  	}
23  
24      public boolean isGoogleUniversalAnalytics() {
25          if ("true".equalsIgnoreCase(this.googleAnalyticsUniversal)) {
26              return true;
27          }
28          else
29              return false;
30      }
31  
32      public void setGoogleAnalyticsUniversal(String googleAnalyticsUniversal) {
33          this.googleAnalyticsUniversal = googleAnalyticsUniversal;
34      }
35  
36      public String getGoogleAnalyticsProfileDomain() {
37          return googleAnalyticsProfileDomain;
38      }
39  
40      public void setGoogleAnalyticsProfileDomain(String googleAnalyticsProfileDomain) {
41          this.googleAnalyticsProfileDomain = googleAnalyticsProfileDomain;
42      }
43  }