public interface FriendProvider
Clients may implement this interface.
Friends.createFriendProvider(Collection)
Modifier and Type | Method and Description |
---|---|
default Optional<Friend> |
getFriend(URI resourceURI)
Returns the friend owning the given resource, if any.
|
Collection<Friend> |
getFriends()
Returns a list of known friends.
|
Collection<Friend> getFriends()
Returns a list of known friends.
This method shall be called frequently by the OslcClient. It is the responsibility of the implementing class to decide whether a cache is to use and to implement it if needed.