@Override public void dropFacade(String table, String placement, Audit audit) throws UnknownTableException { // delegate to system data center _system.get().dropFacade(table, placement, audit); }
@Override public void dropFacade(String table, String placement, Audit audit) throws UnknownTableException { // delegate to system data center _system.get().dropFacade(table, placement, audit); }
@Override public void dropFacade(String table, String placement, Audit audit) throws UnknownTableException { executeIfAcceptingWrites(() -> _delegate.dropFacade(table, placement, audit)); }
@Override public void dropFacade(String table, String placement, Audit audit) throws UnknownTableException { executeIfAcceptingWrites(() -> _delegate.dropFacade(table, placement, audit)); }
@DELETE @Path ("_facade/{table}") @RequiresPermissions ("facade|drop_facade|{table}") @Timed (name = "bv.emodb.sor.DataStoreResource1.dropFacade", absolute = true) @ApiOperation (value = "Drops a Facade", notes = "Returns a SuccessResponse if facade is dropped", response = SuccessResponse.class ) public SuccessResponse dropFacade(@PathParam ("table") String table, @QueryParam ("audit") AuditParam auditParam, @QueryParam ("placement") String placement, @Context UriInfo uriInfo) { checkArgument(!Strings.isNullOrEmpty(placement), "Missing required placement."); Audit audit = getRequired(auditParam, "audit"); _dataStore.dropFacade(table, placement, audit); return SuccessResponse.instance(); }