Examples of save()


Examples of com.limelight.input.GamepadMapper.save()

     
      if (parse) {
        try {
          GamepadMapper mapper = new GamepadMapper(inputs.get(0));
          mapper.setup();
          mapper.save(new File(out));
        } catch (IOException | InterruptedException ex) {
          System.err.println(ex.getMessage());
        }
        return;
      }
View Full Code Here

Examples of com.linkedin.databus2.relay.config.DatabusRelaySourcesInFiles.save()

      config.addSource(c);
    }

    DatabusRelaySourcesInFiles relaySourcesInFiles = new DatabusRelaySourcesInFiles(outputDir);
    relaySourcesInFiles.add(dbName, config);
    boolean success = relaySourcesInFiles.save();
    if ( ! success )
      throw new RuntimeException("Unable to create the dev relay config for DB :" + dbName);
  }
}
View Full Code Here

Examples of com.madgnome.jira.plugins.jirachievements.data.ao.Achievement.save()

  private void createAchievement(String ref, Category category)
  {
    final Achievement achievement = referencableDaoService.create(ref);
    achievement.setCategory(category);
    achievement.save();
  }
}
View Full Code Here

Examples of com.madgnome.jira.plugins.jirachievements.data.ao.ComponentStatistic.save()

    ComponentStatistic componentStatistic = null;
    if (statisticRef != null)
    {
      componentStatistic = getOrCreate(projectKey, component, statisticRef, userWrapper);
      componentStatistic.setValue(value);
      componentStatistic.save();
    }

    return componentStatistic;
  }
View Full Code Here

Examples of com.madgnome.jira.plugins.jirachievements.data.ao.Config.save()

    Config config = get(ref);
    if (config == null)
    {
      config = create(ref);
      config.setValue(initialValue);
      config.save();
    }

    return config;
  }
View Full Code Here

Examples of com.madgnome.jira.plugins.jirachievements.data.ao.Level.save()

    level.setCategory(category);
    level.setLevelNumber(number);
    level.setStatisticRef(statisticRef);
    level.setMinThreshold(min);
    level.setMaxThreshold(max);
    level.save();

    return level;
  }
}
View Full Code Here

Examples of com.madgnome.jira.plugins.jirachievements.data.ao.ProjectStatistic.save()

    ProjectStatistic projectStatistic = null;
    if (statisticRef != null)
    {
      projectStatistic = getOrCreate(projectKey, statisticRef, userWrapper);
      projectStatistic.setValue(value);
      projectStatistic.save();
    }

    return projectStatistic;
  }
View Full Code Here

Examples of com.madgnome.jira.plugins.jirachievements.data.ao.UserAchievement.save()

    {
      UserAchievement userAchievement = ao.create(UserAchievement.class);
      userAchievement.setUserWrapper(userWrapper);
      userAchievement.setAchievement(achievement);
      userAchievement.setCreatedOn(new Date());
      userAchievement.save();
    }
  }

  @Override
  public UserAchievement get(Achievement achievement, UserWrapper userWrapper)
View Full Code Here

Examples of com.madgnome.jira.plugins.jirachievements.data.ao.UserStatistic.save()

    UserStatistic userStatistic = null;
    if (statisticRef != null)
    {
      userStatistic = getOrCreate(statisticRef, userWrapper);
      userStatistic.setValue(value);
      userStatistic.save();
    }

    return userStatistic;
  }
View Full Code Here

Examples of com.madgnome.jira.plugins.jirachievements.data.ao.UserWrapper.save()

  {
    UserWrapper userWrapper = get(jiraUser);
    if (userWrapper != null)
    {
      userWrapper.setActive(active);
      userWrapper.save();
    }
  }
}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.