@Override
public Set<String> updateTagsForApplication(
final String id,
final Set<String> tags) throws GenieException {
if (StringUtils.isBlank(id)) {
throw new GeniePreconditionException("No application id entered. Unable to update tags.");
}
final Application application = this.applicationRepo.findOne(id);
if (application != null) {
application.setTags(tags);
return application.getTags();