@Override public void createFacade(String table, FacadeOptions options, Audit audit) throws TableExistsException { // delegate to system data center _system.get().createFacade(table, options, audit); }
@Override public void createFacade(String table, FacadeOptions options, Audit audit) throws TableExistsException { // delegate to system data center _system.get().createFacade(table, options, audit); }
@Override public void createFacade(String table, FacadeOptions options, Audit audit) throws TableExistsException { executeIfAcceptingWrites(() -> _delegate.createFacade(table, options, audit)); }
@Override public void createFacade(String table, FacadeOptions options, Audit audit) throws TableExistsException { executeIfAcceptingWrites(() -> _delegate.createFacade(table, options, audit)); }
@PUT @Path ("_facade/{table}") @Consumes (MediaType.APPLICATION_JSON) @RequiresPermissions ("facade|create_facade|{table}") @Timed (name = "bv.emodb.sor.DataStoreResource1.createFacade", absolute = true) @ApiOperation (value = "Creates a facade", notes = "Returns a SuccessResponse if facade is created", response = SuccessResponse.class ) public SuccessResponse createFacade(@PathParam ("table") String table, @QueryParam ("options") FacadeDefinitionParam optionParams, @QueryParam ("audit") AuditParam auditParam, @Context UriInfo uriInfo) { FacadeOptions options = getRequired(optionParams, "options"); Audit audit = getRequired(auditParam, "audit"); _dataStore.createFacade(table, options, audit); return SuccessResponse.instance(); }