@@ -0,0 +1,1869 @@
+/*%0A * Copyright 2016 Huawei Technologies Co., Ltd.%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *     http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0A%0Apackage org.openo.nfvo.resmanagement.service.group.inf;%0A%0Aimport net.sf.json.JSONObject;%0A%0Aimport org.openo.baseservice.remoteservice.exception.ServiceException;%0A%0A/**%0A * %0A * resource operational service class.%3Cbr%3E%0A * %3Cp%3E%0A * %3C/p%3E%0A * %0A * @author%0A * @version     NFVO 0.5  Sep 10, 2016%0A */%0Apublic interface ResOperateService %7B%0A%0A    /**%0A     * %0A     * Update iresource.%3Cbr%3E%0A     * %0A     * @param tenantId%0A     * @param vimId%0A     * @param header%0A     * @throws ServiceException%0A     * @since  NFVO 0.5%0A     */%0A    void updateIRes(String tenantId, String vimId, JSONObject header) throws ServiceException;%0A%0A    /**%0A     * %0A     * Update all iResource.%3Cbr%3E%0A     * %0A     * @throws ServiceException%0A     * @since  NFVO 0.5%0A     */%0A    void updateAllIRes() throws ServiceException;%0A%0A    /**%0A     * %0A     * Add iResource.%3Cbr%3E%0A     * %0A     * @param tenantId%0A     * @param vimId%0A     * @param header%0A     * @throws ServiceException%0A     * @since  NFVO 0.5%0A     */%0A    void addIRes(String tenantId, String vimId, JSONObject header) throws ServiceException;%0A%0A    /**%0A     * %0A     * Delete iResource.%3Cbr%3E%0A     * %0A     * @param vimId%0A     * @return%0A     * @throws ServiceException%0A     * @since  NFVO 0.5%0A     */%0A    int deleteIRes(String vimId) throws ServiceException;%0A%7D%0A

add resMgr code author: victor