Class UsersResource
- java.lang.Object
-
- org.springframework.hateoas.RepresentationModel<org.springframework.hateoas.CollectionModel<T>>
-
- org.springframework.hateoas.CollectionModel<UserResource>
-
- com.netgrif.application.engine.auth.web.responsebodies.UsersResource
-
- All Implemented Interfaces:
java.lang.Iterable<UserResource>
,org.springframework.core.ResolvableTypeProvider
public class UsersResource extends org.springframework.hateoas.CollectionModel<UserResource>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SELF_REL_PROFILE
static java.lang.String
SELF_REL_SMALL
-
Constructor Summary
Constructors Constructor Description UsersResource(java.util.Collection<User> content, java.lang.String selfRel, boolean small)
UsersResource(java.util.Collection<UserResource> content, java.lang.String selfRel)
-
Method Summary
-
Methods inherited from class org.springframework.hateoas.CollectionModel
empty, empty, empty, empty, empty, empty, equals, getContent, getResolvableType, hashCode, iterator, of, of, of, toString, withFallbackType, withFallbackType, withFallbackType, wrap
-
Methods inherited from class org.springframework.hateoas.RepresentationModel
add, add, add, addAllIf, addIf, getLink, getLink, getLinks, getLinks, getLinks, getRequiredLink, getRequiredLink, hasLink, hasLink, hasLinks, mapLink, mapLinkIf, of, of, removeLinks
-
-
-
-
Field Detail
-
SELF_REL_SMALL
public static final java.lang.String SELF_REL_SMALL
- See Also:
- Constant Field Values
-
SELF_REL_PROFILE
public static final java.lang.String SELF_REL_PROFILE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
UsersResource
public UsersResource(java.util.Collection<UserResource> content, java.lang.String selfRel)
-
UsersResource
public UsersResource(java.util.Collection<User> content, java.lang.String selfRel, boolean small)
-
-