|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codelabor.system.file.dao.FileDAOImpl
public class FileDAOImpl
파일 DAO 구현 클래스
Field Summary | |
---|---|
protected org.anyframe.idgen.IdGenService |
idGenerationService
Id 제네레이션 서비스 |
protected org.anyframe.query.QueryService |
queryService
쿼리 서비스 |
Constructor Summary | |
---|---|
FileDAOImpl()
|
Method Summary | |
---|---|
int |
deleteAll()
파일 매니저에 관리되는 모든 파일 정보를 삭제한다. |
int |
deleteFile(String fileId)
지정한 파일 ID에 해당하는 파일 정보를 삭제한다. |
int |
deleteFile(String[] fileIdList)
지정한 파일 ID에 해당하는 파일 정보를 삭제한다. |
int |
deleteFileByFileId(String fileId)
지정한 파일 ID에 해당하는 파일 정보를 삭제한다. |
int |
deleteFileByFileId(String[] fileIdList)
지정한 파일 ID에 해당하는 파일 정보를 삭제한다. |
int |
deleteFileByMapId(String mapId)
지정한 맵 ID에 해당하는 파일 정보를 삭제한다. |
int |
deleteFileByMapId(String[] mapIdList)
지정한 맵 ID에 해당하는 파일 정보를 삭제한다. |
int |
insertFile(FileDTO fileDTO)
파일 정보를 저장한다. |
int |
insertFile(List<FileDTO> insertFileDTOList)
파일 정보를 저장한다. |
List<FileDTO> |
selectFile()
현재 관리되고 있는 모든 파일 정보를 가져온다. |
List<FileDTO> |
selectFileAll()
현재 관리되고 있는 모든 파일 정보를 가져온다. |
FileDTO |
selectFileByFileId(String fileId)
지정한 파일 ID에 해당하는 파일 정보를 가져온다. |
List<FileDTO> |
selectFileByMapId(String mapId)
지정한 매핑 ID와 연관된 파일들의 정보를 가져온다. |
List<FileDTO> |
selectFileByRepositoryType(RepositoryType repositoryType)
현재 관리되고 있는 파일들 중 지정한 저장 방식(Repository Type)에 해당하는 파일 정보만 가져온다. |
void |
setIdGenService(org.anyframe.idgen.IdGenService idGenerationService)
Id 제네레이션 서비스를 설정한다. |
void |
setQueryService(org.anyframe.query.QueryService queryService)
쿼리 서비스를 설정한다. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected org.anyframe.idgen.IdGenService idGenerationService
protected org.anyframe.query.QueryService queryService
Constructor Detail |
---|
public FileDAOImpl()
Method Detail |
---|
public int insertFile(FileDTO fileDTO) throws Exception
FileDAO
insertFile
in interface FileDAO
fileDTO
- 파일 DTO
Exception
public int insertFile(List<FileDTO> insertFileDTOList) throws Exception
FileDAO
insertFile
in interface FileDAO
insertFileDTOList
- 파일 DTO의 List
Exception
public int deleteFile(String fileId) throws Exception
FileDAO
deleteFile
in interface FileDAO
fileId
- 파일 ID
Exception
public int deleteFile(String[] fileIdList) throws Exception
FileDAO
deleteFile
in interface FileDAO
fileIdList
- 파일 ID의 배열
Exception
public int deleteFileByFileId(String fileId) throws Exception
FileDAO
deleteFileByFileId
in interface FileDAO
fileId
- 파일 ID
Exception
public int deleteFileByFileId(String[] fileIdList) throws Exception
FileDAO
deleteFileByFileId
in interface FileDAO
fileIdList
- 파일 ID의 배열
Exception
public int deleteFileByMapId(String mapId) throws Exception
FileDAO
deleteFileByMapId
in interface FileDAO
mapId
- 맵 ID
Exception
public int deleteFileByMapId(String[] mapIdList) throws Exception
FileDAO
deleteFileByMapId
in interface FileDAO
mapIdList
- 맵 ID의 배열
Exception
public int deleteAll() throws Exception
FileDAO
deleteAll
in interface FileDAO
Exception
public List<FileDTO> selectFileByRepositoryType(RepositoryType repositoryType) throws Exception
FileDAO
selectFileByRepositoryType
in interface FileDAO
repositoryType
- 파일 저장 방식
Exception
- 예외public List<FileDTO> selectFile() throws Exception
FileDAO
selectFile
in interface FileDAO
Exception
- 예외public List<FileDTO> selectFileAll() throws Exception
FileDAO
selectFileAll
in interface FileDAO
Exception
public FileDTO selectFileByFileId(String fileId) throws Exception
FileDAO
selectFileByFileId
in interface FileDAO
fileId
- 파일 ID
Exception
- 예외public List<FileDTO> selectFileByMapId(String mapId) throws Exception
FileDAO
selectFileByMapId
in interface FileDAO
mapId
- 매핑 ID
Exception
public void setIdGenService(org.anyframe.idgen.IdGenService idGenerationService)
idGenerationService
- Id 제네레이션 서비스public void setQueryService(org.anyframe.query.QueryService queryService)
queryService
- 쿼리 서비스
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |