@Service @Transactional(rollbackFor=java.lang.Exception.class) public class MaterialServiceImpl extends Object implements MaterialService
| Constructor and Description |
|---|
MaterialServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteGroup(String id) |
void |
deleteMaterial(String[] ids) |
void |
download(String groupId,
String ids,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
exportGroup(String groupId,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
MaterialDTO |
getMaterialDetail(String id) |
String |
importGroup(String typeId,
Integer importStrategy,
org.springframework.web.multipart.MultipartFile file) |
List<MaterialGroupDTO> |
listGroups(String typeId,
Boolean withChildren,
Integer childrenCount) |
com.geoway.adf.gis.basic.PageList<MaterialDTO> |
listMaterials(String groupId,
String keyword,
Integer pageIndex,
Integer rows) |
List<MaterialGroupDTO> |
listTypes() |
void |
move2Group(String[] ids,
String newGroupId) |
void |
renameMaterial(String id,
String name) |
String |
saveGroup(MaterialGroupDTO group) |
List<String> |
uploadMaterial(String groupId,
org.springframework.web.multipart.MultipartFile[] files) |
void |
viewMaterial(String id,
String sourceName,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
public List<MaterialGroupDTO> listTypes()
listTypes in interface MaterialServicepublic List<MaterialGroupDTO> listGroups(String typeId, Boolean withChildren, Integer childrenCount)
listGroups in interface MaterialServicepublic com.geoway.adf.gis.basic.PageList<MaterialDTO> listMaterials(String groupId, String keyword, Integer pageIndex, Integer rows)
listMaterials in interface MaterialServicepublic String saveGroup(MaterialGroupDTO group)
saveGroup in interface MaterialServicepublic void deleteGroup(String id)
deleteGroup in interface MaterialServicepublic List<String> uploadMaterial(String groupId, org.springframework.web.multipart.MultipartFile[] files)
uploadMaterial in interface MaterialServicepublic void renameMaterial(String id, String name)
renameMaterial in interface MaterialServicepublic void deleteMaterial(String[] ids)
deleteMaterial in interface MaterialServicepublic void move2Group(String[] ids, String newGroupId)
move2Group in interface MaterialServicepublic MaterialDTO getMaterialDetail(String id)
getMaterialDetail in interface MaterialServicepublic void viewMaterial(String id, String sourceName, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
viewMaterial in interface MaterialServicepublic void download(String groupId, String ids, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
download in interface MaterialServicepublic void exportGroup(String groupId, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
exportGroup in interface MaterialServicepublic String importGroup(String typeId, Integer importStrategy, org.springframework.web.multipart.MultipartFile file)
importGroup in interface MaterialServiceCopyright © 2025. All rights reserved.