@Service @Transactional(value="herdTransactionManager") public class FileTypeServiceImpl extends Object implements FileTypeService
| Constructor and Description |
|---|
FileTypeServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
FileType |
createFileType(FileTypeCreateRequest fileTypeCreateRequest)
Creates a new file type.
|
FileType |
deleteFileType(FileTypeKey fileTypeKey)
Deletes a file type for the specified name.
|
FileType |
getFileType(FileTypeKey fileTypeKey)
Gets a file type for the specified key.
|
FileTypeKeys |
getFileTypes()
Gets a list of file type keys for all file types defined in the system.
|
public FileType createFileType(FileTypeCreateRequest fileTypeCreateRequest)
FileTypeServicecreateFileType in interface FileTypeServicefileTypeCreateRequest - the file type create requestpublic FileType getFileType(FileTypeKey fileTypeKey)
FileTypeServicegetFileType in interface FileTypeServicefileTypeKey - the file type keypublic FileType deleteFileType(FileTypeKey fileTypeKey)
FileTypeServicedeleteFileType in interface FileTypeServicefileTypeKey - the file type keypublic FileTypeKeys getFileTypes()
FileTypeServicegetFileTypes in interface FileTypeServiceCopyright © 2021. All rights reserved.