ProfileBuilder builder = ProfileBuilder.Factory.createFrom(profile); for (String cfg : originals.keySet()) { TypedProperties original = originals.get(cfg);
ProfileBuilder builder = ProfileBuilder.Factory.createFrom(profile); for (String cfg : originals.keySet()) { TypedProperties original = originals.get(cfg);
private void editProfile(Profile profile) throws Exception { boolean editInLine = false; ProfileBuilder builder = ProfileBuilder.Factory.createFrom(profile);
private void editProfile(Profile profile) throws Exception { boolean editInLine = false; ProfileBuilder builder = ProfileBuilder.Factory.createFrom(profile);
@Override public Object execute() throws Exception { Profile profile = profileService.getRequiredProfile(profileId); Profile newProfile = ProfileBuilder.Factory.createFrom(profile) .addParents(parentIds) .getProfile(); profileService.updateProfile(newProfile); return null; }
@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 = profileService.getRequiredProfile(profileId); Profile newProfile = ProfileBuilder.Factory.createFrom(profile) .addParents(parentIds) .getProfile(); profileService.updateProfile(newProfile); return null; }
@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(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); }