@Path(value="/views/{id}/share")
@Produces(value="application/json")
public class ViewSharingResource
extends RestResource
implements PluginRestResource
| Constructor and Description |
|---|
ViewSharingResource(ViewSharingService viewSharingService,
ViewService viewService,
UserService userService) |
| Modifier and Type | Method and Description |
|---|---|
ViewSharing |
create(@NotEmpty String id,
ViewSharing viewSharing) |
ViewSharing |
delete(@NotEmpty String id) |
ViewSharing |
get(@NotEmpty String id) |
Set<UserShortSummary> |
summarizeUsers(@NotEmpty String id) |
checkAnyPermission, checkPermission, checkPermission, getCurrentUser, getIndexSet, getSubject, getUriBuilderToSelf, isAnyPermitted, isAnyPermitted, isPermitted, isPermitted, setPrettyPrint@Inject public ViewSharingResource(ViewSharingService viewSharingService, ViewService viewService, UserService userService)
@GET public ViewSharing get(@PathParam(value="id") @NotEmpty @NotEmpty String id)
@POST public ViewSharing create(@PathParam(value="id") @NotEmpty @NotEmpty String id, ViewSharing viewSharing)
@DELETE public ViewSharing delete(@PathParam(value="id") @NotEmpty @NotEmpty String id)
@GET @Path(value="/users") public Set<UserShortSummary> summarizeUsers(@PathParam(value="id") @NotEmpty @NotEmpty String id)
Copyright © 2012–2020 Graylog, Inc.. All rights reserved.