Accession with RepositoryFolder
We currently store accession-related images and files in the file repository at a specific path /wiews/${instCode}/acn/${acceNumb}
. When loading full accession information, we check if such folder exists (by convention). This makes it difficult when ACCENUMB contains /
.
Update AccessionId
and add properties:
private RepositoryFolder repositoryFolder;
private int imageCount;
The GenesysImageGalleryAspects
needs to be extended and the repositoryFolder
(of the ImageGallery
) recorded with the Accession
. The imageCount
in the AccessionId
should be updated after each image save
or delete
in the accession's image gallery.