Class AclColumnResource
java.lang.Object
com.illumon.iris.db.v2.permissions.rs.AclColumnResource
@Path("/columns")
@Consumes("application/json")
@Produces("application/json")
public class AclColumnResource
extends Object
This allows management of column acls, defines all REST operations supported for /acl/columns/ uri. Produces and
consumes
MediaType.APPLICATION_JSON-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.deephaven.shadow.resteasy.javax.ws.rs.core.ResponseaddColumnAcl(ColumnAcl columnAcl) Adds a column acl entry.io.deephaven.shadow.resteasy.javax.ws.rs.core.ResponsedeleteColumnAcl(String group, String ns, String table, String columns) Deletes column acl entry mapped to the given group, namespace and table.io.deephaven.shadow.resteasy.javax.ws.rs.core.ResponseupdateColumnAcl(ColumnAcl columnAcl) Updates an existing column acl entry
-
Constructor Details
-
AclColumnResource
public AclColumnResource()
-
-
Method Details
-
addColumnAcl
@POST public io.deephaven.shadow.resteasy.javax.ws.rs.core.Response addColumnAcl(@NotNull ColumnAcl columnAcl) throws DbAclCheckedException Adds a column acl entry.The group and table listed in the
ColumnAclentity object should not currently exist- Parameters:
columnAcl- The acl entity object encompassing group, namespace, table, columns and acl- Returns:
Responsewith status code ofResponse.Status.CREATED- Throws:
DbAclCheckedException- upon failure to add column acl
-
updateColumnAcl
@PUT public io.deephaven.shadow.resteasy.javax.ws.rs.core.Response updateColumnAcl(@NotNull ColumnAcl columnAcl) throws DbAclCheckedException Updates an existing column acl entryThe group, table and column listed in the
ColumnAclentity object should currently exist- Parameters:
columnAcl- The acl entity object encompassing group, namespace, table, columns, acl- Returns:
Responsewith status code ofResponse.Status.NO_CONTENT- Throws:
DbAclCheckedException- upon failure to update column acl
-
deleteColumnAcl
@DELETE @Path("/{group}") public io.deephaven.shadow.resteasy.javax.ws.rs.core.Response deleteColumnAcl(@PathParam("group") String group, @QueryParam("ns") String ns, @QueryParam("table") String table, @QueryParam("columns") String columns) throws DbAclCheckedException Deletes column acl entry mapped to the given group, namespace and table.- Parameters:
group- the group to remove the entry for retrieved from path paramns- the namespace to remove the entry for ("*" for all namespaces)table- the namespace to remove the entry for ("*" for tables within a namespace, if ns is "*" table must also be "*")columns- the applicable column set- Returns:
Responsewith status code ofResponse.Status.NO_CONTENT- Throws:
DbAclCheckedException- upon failure to delete column acl
-