package com.aemreunal.repository.beaconGroup;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.CrudRepository;
import com.aemreunal.domain.BeaconGroup;

/*
 **************************
 * Copyright (c) 2014     *
 *                        *
 * This code belongs to:  *
 *                        *
 * Ahmet Emre Ünal        *
 * S001974                *
 *                        *
 * aemreunal@gmail.com    *
 * emre.unal@ozu.edu.tr   *
 *                        *
 * aemreunal.com          *
 **************************
 */

// extends CrudRepository<Object type, Object ID type>
public interface BeaconGroupRepository extends CrudRepository<BeaconGroup, Long>, JpaSpecificationExecutor {

}

@@ -212,16 +212,53 @@
 onGroup;
+%0Aimport com.aemreunal.domain.Project;
 %0A%0A/*%0A **
@@ -787,11 +787,94 @@
 cutor %7B%0A
+    BeaconGroup findByBeaconGroupIdAndProject(Long beaconGroupId, Project project);
 %0A%7D%0A

Add project filter method