public DebateMigrationCategory addDebateMigrationCategory(
      DebateMigrationCategory debateMigrationCategory) throws SystemException {
    debateMigrationCategory.setNew(true);

    return debateMigrationCategoryPersistence.update(debateMigrationCategory, false);
  }
 public DebateMigrationCategory createDebateMigrationCategory(Long debateMigrationCategoryPK) {
   return debateMigrationCategoryPersistence.create(debateMigrationCategoryPK);
 }
 public int getDebateMigrationCategoriesCount() throws SystemException {
   return debateMigrationCategoryPersistence.countAll();
 }
  public DebateMigrationCategory updateDebateMigrationCategory(
      DebateMigrationCategory debateMigrationCategory, boolean merge) throws SystemException {
    debateMigrationCategory.setNew(false);

    return debateMigrationCategoryPersistence.update(debateMigrationCategory, merge);
  }
 public List<DebateMigrationCategory> getDebateMigrationCategories(int start, int end)
     throws SystemException {
   return debateMigrationCategoryPersistence.findAll(start, end);
 }
 public DebateMigrationCategory getDebateMigrationCategory(Long debateMigrationCategoryPK)
     throws PortalException, SystemException {
   return debateMigrationCategoryPersistence.findByPrimaryKey(debateMigrationCategoryPK);
 }
 public List<Object> dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
     throws SystemException {
   return debateMigrationCategoryPersistence.findWithDynamicQuery(dynamicQuery, start, end);
 }
 public void deleteDebateMigrationCategory(DebateMigrationCategory debateMigrationCategory)
     throws SystemException {
   debateMigrationCategoryPersistence.remove(debateMigrationCategory);
 }
 public void deleteDebateMigrationCategory(Long debateMigrationCategoryPK)
     throws PortalException, SystemException {
   debateMigrationCategoryPersistence.remove(debateMigrationCategoryPK);
 }