You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
aggregation-platform/src/com/platform/service/IGfsService.java

81 lines
2.0 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

/**
* 文件名 : IGfsService.java
* 版权 : <版权/公司名>
* 描述 : <描述>
* @author chen
* 版本 : <版本>
* 修改时间: 2016年9月8日
* 修改内容: <修改内容>
*/
package com.platform.service;
<<<<<<< HEAD
import com.platform.entities.FolderNode;
=======
import java.util.List;
import com.platform.entities.FolderNode;
import com.platform.entities.VolumeEntity;
>>>>>>> 355b6e47a4fa8d058029ec939fe4fefdaa751275
/**
* <一句话功能简述>
* <功能详细描述>
* @author chen
* @version [版本号2016年9月8日]
* @see [相关类/方法]
* @since [产品/模块版本]
*/
public interface IGfsService {
/**
* <一句话功能简述> 查找path的所有子目录
* <功能详细描述>
* @param path
* @return
* @throws Exception
* @see [类、类#方法、类#成员]
*/
public FolderNode getFolder(String path) throws Exception;
/**
* <一句话功能简述> 复制path的所有子目录
* <功能详细描述>
* @param srcPath
* @param dstPath
* @return
* @throws Exception
* @see [类、类#方法、类#成员]
*/
<<<<<<< HEAD
public int copyFolder(String src, String dst, String name) throws Exception;
=======
public int copyFolder(List<String> srcFolders, String dstFolder, String name) throws Exception;
/**
* <一句话功能简述> 获得volume下的 name \ allsize \ usedsize \ folderTree \ brick
* <功能详细描述>
* @return
* @throws Exception
* @see [类、类#方法、类#成员]
*/
public List<VolumeEntity> getAllVolumes() throws Exception;
/**
* <一句话功能简述>
* <功能详细描述>
* @return
* @throws Exception
* @see [类、类#方法、类#成员]
*/
public VolumeEntity getOneVolume(String volumeName) throws Exception;
public int moveData(String volumeName, String srcPath, String dstPath) throws Exception;
public int deleteData(String volumeName, String srcPath) throws Exception;
>>>>>>> 355b6e47a4fa8d058029ec939fe4fefdaa751275
}