/src/main/java/org/exoplatform/social/client/api/ClientServiceFactory.java
Java | 51 lines | 9 code | 5 blank | 37 comment | 0 complexity | f5c1b111c6eee081cdde5aa78a2b7ce7 MD5 | raw file
Possible License(s): AGPL-3.0
1/* 2 * Copyright (C) 2003-2011 eXo Platform SAS. 3 * 4 * This program is free software: you can redistribute it and/or modify 5 * it under the terms of the GNU Affero General Public License as published by 6 * the Free Software Foundation, either version 3 of the License, or 7 * (at your option) any later version. 8 * 9 * This program is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 * GNU Affero General Public License for more details. 13 * 14 * You should have received a copy of the GNU Affero General Public License 15 * along with this program. If not, see <http://www.gnu.org/licenses/>. 16 */ 17package org.exoplatform.social.client.api; 18 19import org.exoplatform.social.client.api.service.ActivityService; 20import org.exoplatform.social.client.api.service.IdentityService; 21import org.exoplatform.social.client.api.service.VersionService; 22 23/** 24 * The main entry point to get eXo Social Services. 25 * 26 * @author <a href="http://hoatle.net">hoatle (hoatlevan at gmail dot com)</a> 27 * @since May 19, 2011 28 */ 29public interface ClientServiceFactory { 30 31 /** 32 * Gets version service to find information about latest and supported social rest ap versions. 33 * 34 * @return the version service 35 */ 36 VersionService createVersionService(); 37 38 /** 39 * Gets activity service to work with activities. 40 * 41 * @return the activity service 42 */ 43 ActivityService createActivityService(); 44 /** 45 * Gets account service for getting or updating identity info. 46 * 47 * @return the identity service 48 */ 49 IdentityService createIdentityService(); 50 51}