@Override public RaptureRemote addRemote( CallingContext context, String name, String description, String url, String apiKey, String optPass) { checkParameter(NAME, name); checkParameter("Url", url); // $NON-NLS-1$ checkParameter("ApiKey", apiKey); // $NON-NLS-1$ RaptureRemote ret = new RaptureRemote(); ret.setName(name); ret.setDescription(description); ret.setUrl(url); ret.setApiKey(apiKey); ret.setOptionalPass(optPass); RaptureRemoteStorage.add( ret, context.getUser(), Messages.getString("Admin.AddRemote")); // $NON-NLS-1$ return ret; }