/** @see AccessControlManager#setEntitiesVisibility(String, String, String...). */ @POST @Path("/visibility/entity/set") @Produces(MediaType.APPLICATION_XML) public void setEntitiesVisibility( @FormParam("login") String authEmail, @FormParam("login-secret") String authApiPassword, @FormParam("public-flag") String publicFlagStr, @FormParam("release-date") String releaseDateStr, @FormParam("entity") List<String> entityIds) { AccessControlManager mgr = getAccessControlManager(authEmail, null, authApiPassword); mgr.setEntitiesVisibility(publicFlagStr, releaseDateStr, entityIds.toArray(new String[0])); mgr.close(); }