@Override public Object execute() throws Exception { Profile profile = ProfileBuilder.Factory.createFrom(profileService.getProfile(source)) .identity(target) .getProfile(); profileService.createProfile(profile); return null; }
@Override public void copy(String source, String target) { Profile profile = ProfileBuilder.Factory.createFrom(profileService.getProfile(source)) .identity(target) .getProfile(); profileService.createProfile(profile); }
@Override public Object execute() throws Exception { Profile profile = ProfileBuilder.Factory.createFrom(profileService.getProfile(source)) .identity(target) .getProfile(); profileService.createProfile(profile); return null; }
@Override public void copy(String source, String target) { Profile profile = ProfileBuilder.Factory.createFrom(profileService.getProfile(source)) .identity(target) .getProfile(); profileService.createProfile(profile); }
@Override public void rename(String name, String newName) { Profile profile = ProfileBuilder.Factory.createFrom(profileService.getProfile(name)) .identity(newName) .getProfile(); profileService.createProfile(profile); profileService.deleteProfile(name); }
@Override public Object execute() throws Exception { Profile profile = ProfileBuilder.Factory.createFrom(profileService.getProfile(profileName)) .identity(newName) .getProfile(); profileService.createProfile(profile); profileService.deleteProfile(profileName); return null; }
@Override public Object execute() throws Exception { Profile profile = ProfileBuilder.Factory.createFrom(profileService.getProfile(profileName)) .identity(newName) .getProfile(); profileService.createProfile(profile); profileService.deleteProfile(profileName); return null; }
@Override public void rename(String name, String newName) { Profile profile = ProfileBuilder.Factory.createFrom(profileService.getProfile(name)) .identity(newName) .getProfile(); profileService.createProfile(profile); profileService.deleteProfile(name); }