Package | Description |
---|---|
com.suncode.pwfl.archive |
Pakiet zawiera zbiór elementów umożliwiających zarządzanie archiwum systemowym.
|
Modifier and Type | Method and Description |
---|---|
Directory |
ArchiveStorageService.getDirectory(Long id,
String... joins)
Pobiera katalog po id
|
Directory |
ArchiveStorageService.getDirectory(String name,
String... joins)
Pobiera katalog po nazwie
|
Directory |
Directory.getRootDir() |
Modifier and Type | Method and Description |
---|---|
List<Directory> |
ArchiveStorageService.findDirectoriesByCriteria(org.hibernate.criterion.DetachedCriteria dc)
Wyszukuje katalogi
|
List<Directory> |
ArchiveStorageService.getAllDirectories(String... joins)
Pobiera listę wszystkich katalogów archiwum
|
List<Directory> |
ArchiveStorageService.getChildDirectories(Directory dir)
Pobiera podkatalogi
|
Set<Directory> |
Device.getDirectories() |
List<Directory> |
ArchiveStorageService.getSubDirectories(Long dirId,
String... joins)
Pobiera wszystkie podkatalogi katalogu o podanym id
|
Modifier and Type | Method and Description |
---|---|
void |
Device.addDirectory(Directory dir) |
void |
ArchiveStorageService.createDirectory(Directory dir)
Zapisuje katalog w bazie danych
|
List<Directory> |
ArchiveStorageService.getChildDirectories(Directory dir)
Pobiera podkatalogi
|
Long |
ArchiveStorageService.getDirectoryFreeSpaceFromDB(Directory dir)
Zwraca ilość wolnego miejsca w katalogu.
|
Long |
ArchiveStorageService.getDirectoryFreeSpaceOnDisc(Directory dir)
Zwraca ilość wolnego miejsca w katalogu.
|
String |
ArchiveStorageService.getDirectoryPath(Directory dir)
Pobiera pełną ścieżkę do katalogu
|
Long |
ArchiveStorageService.getDirectoryUsedSpaceFromDB(Directory dir)
Zwraca ilość zajętego miejsca w katalogu.
|
Long |
ArchiveStorageService.getDirectoryUsedSpaceOnDisc(Directory dir)
Zwraca ilość zajętego miejsca w katalogu.
|
boolean |
ArchiveStorageService.isRootDirectory(Directory dir)
Sprawdza czy katalog jest katalogiem nadrzędnym
|
void |
Directory.setRootDir(Directory rootDir) |
void |
ArchiveStorageService.updateDirectory(Directory dir)
Modyfikuje katalog
|
Modifier and Type | Method and Description |
---|---|
void |
Device.setDirectories(Set<Directory> directories) |
Copyright © 2019 Suncode. All rights reserved.