Class SodiusOAuth.GenericEntities
java.lang.Object
com.sodius.oslc.server.oauth.model.SodiusOAuth.GenericEntities
- Enclosing class:
SodiusOAuth
Generic Entities for Sodius OAuth shapes, used when replying with a collection of entities in a Response object.
- Since:
- 1.3.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic GenericEntity<ResponseInfoCollection<Consumer>> forConsumers(Collection<Consumer> consumers) static GenericEntity<ResponseInfoCollection<Consumer>> forConsumers(ResponseInfoCollection<Consumer> consumers) static GenericEntity<ResponseInfoCollection<Friend>> forFriends(Collection<Friend> friends) static GenericEntity<ResponseInfoCollection<Friend>> forFriends(ResponseInfoCollection<Friend> friends)
-
Method Details
-
forConsumers
public static GenericEntity<ResponseInfoCollection<Consumer>> forConsumers(Collection<Consumer> consumers) -
forConsumers
public static GenericEntity<ResponseInfoCollection<Consumer>> forConsumers(ResponseInfoCollection<Consumer> consumers) -
forFriends
-
forFriends
public static GenericEntity<ResponseInfoCollection<Friend>> forFriends(ResponseInfoCollection<Friend> friends)
-