2 * Copyright 2016 Huawei Technologies Co., Ltd.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 package org.openo.nfvo.jujuvnfmadapter.service.mapper;
19 import java.util.List;
22 import org.apache.ibatis.annotations.Param;
23 import org.openo.nfvo.jujuvnfmadapter.service.entity.JujuVnfmInfo;
24 import org.openo.nfvo.jujuvnfmadapter.service.entity.JujuVnfmInfoExample;
32 * @version NFVO 0.5 Sep 14, 2016
34 public interface JujuVnfmInfoMapper {
41 int countByExample(JujuVnfmInfoExample example);
49 int deleteByExample(JujuVnfmInfoExample example);
57 int deleteByPrimaryKey(String id);
65 int insert(JujuVnfmInfo record);
73 int insertSelective(JujuVnfmInfo record);
81 List<JujuVnfmInfo> selectByExampleWithBLOBs(JujuVnfmInfoExample example);
89 List<JujuVnfmInfo> selectByExample(JujuVnfmInfoExample example);
95 * @return jujuVnfmInfo
97 JujuVnfmInfo selectByPrimaryKey(String id);
106 int updateByExampleSelective(@Param("record") JujuVnfmInfo record, @Param("example") JujuVnfmInfoExample example);
115 int updateByExampleWithBLOBs(@Param("record") JujuVnfmInfo record, @Param("example") JujuVnfmInfoExample example);
124 int updateByExample(@Param("record") JujuVnfmInfo record, @Param("example") JujuVnfmInfoExample example);
132 int updateByPrimaryKeySelective(JujuVnfmInfo record);
140 int updateByPrimaryKeyWithBLOBs(JujuVnfmInfo record);
148 int updateByPrimaryKey(JujuVnfmInfo record);