diff options
Diffstat (limited to 'intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/mapper/ExpectationMapper.java')
-rw-r--r-- | intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/mapper/ExpectationMapper.java | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/mapper/ExpectationMapper.java b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/mapper/ExpectationMapper.java index 9e910b5..8f8eea1 100644 --- a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/mapper/ExpectationMapper.java +++ b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/mapper/ExpectationMapper.java @@ -13,25 +13,30 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + package org.onap.usecaseui.intentanalysis.mapper; + +import java.util.List; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import org.onap.usecaseui.intentanalysis.bean.models.Expectation; -import java.util.List; + @Mapper public interface ExpectationMapper { - int insertExpectationList(@Param(value = "expectationList") List<Expectation> expectationList, @Param(value = "intentId") String intentId); + int insertIntentExpectations(@Param(value = "intentExpectations") List<Expectation> intentExpectations, + @Param(value = "intentId") String intentId); - List<Expectation> selectExpectationByIntentId(String intentId); + int insertIntentExpectation(@Param(value = "expectation") Expectation expectation, + @Param(value = "intentId") String intentId); - int deleteExpectationByIntentId(String intentId); + int deleteIntentExpectationsByIntentId(String intentId); - int updateExpectation(Expectation expectation); + int updateIntentExpectation(Expectation expectation); - int insertExpectation(@Param(value = "expectation") Expectation expectation, @Param(value = "intentId") String intentId); + int deleteIntentExpectationById(String expectationId); - int deleteExpectationById(String expectationId); + List<Expectation> selectIntentExpectationsByIntentId(String intentId); } |