Class FriendService
- java.lang.Object
-
- com.sodius.oslc.server.oauth.services.FriendService
-
public class FriendService extends Object
Manages the edition of OAuth friends by an administrator.- Since:
- 1.3.0
-
-
Constructor Summary
Constructors Constructor Description FriendService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Response
createFriend()
Response
deleteFriend(String friendId)
Response
getFriend(String friendId)
Response
getFriendRootServices(URI rootservicesUrl)
Response
getFriends()
Response
getFriendState(String friendId)
Allows to know if a Friend is available or if there is a problem contacting it.Response
getGCFriends()
Gets all Jazz Global Configuration applications registered as friends, as well as friend applications that couldn't be reached.Response
updateFriend(String friendId)
-
-
-
Method Detail
-
getFriends
public Response getFriends()
-
createFriend
public Response createFriend()
-
getFriendState
public Response getFriendState(String friendId)
Allows to know if a Friend is available or if there is a problem contacting it.- Parameters:
friendId
- identifier of the friend we want to retrieve.- Returns:
- a Friend with its state.
- Since:
- 2.0
-
getGCFriends
public Response getGCFriends()
Gets all Jazz Global Configuration applications registered as friends, as well as friend applications that couldn't be reached.- Returns:
- the GC friends
- Since:
- 2.1.0
-
-