|
|
|
@ -407,6 +407,7 @@ public class IntPraticaLocalServiceImpl extends IntPraticaLocalServiceBaseImpl {
|
|
|
|
|
add("Avvisi"); |
|
|
|
|
add("MailManager_EmailAttachments"); |
|
|
|
|
add("Report_Sorteggio"); |
|
|
|
|
add("Report_Sorteggio_BO"); |
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
@ -423,12 +424,12 @@ public class IntPraticaLocalServiceImpl extends IntPraticaLocalServiceBaseImpl {
|
|
|
|
|
parent = parent.getParentFolder(); |
|
|
|
|
} |
|
|
|
|
if (folderDaSvuotare.contains(parent.getName())) { |
|
|
|
|
if (0 != folder.getParentFolderId()) { |
|
|
|
|
_log.info("Cancello la cartella " + folder.getName()); |
|
|
|
|
DLAppLocalServiceUtil.deleteFolder(folder.getFolderId()); |
|
|
|
|
} else { |
|
|
|
|
if (0 == folder.getParentFolderId()) { |
|
|
|
|
_log.info("Cancello il file " + fileEntry.getName()); |
|
|
|
|
DLAppLocalServiceUtil.deleteFileEntry(fileEntry.getFileEntryId()); |
|
|
|
|
} else { |
|
|
|
|
_log.info("Cancello la cartella " + folder.getName()); |
|
|
|
|
DLAppLocalServiceUtil.deleteFolder(folder.getFolderId()); |
|
|
|
|
} |
|
|
|
|
start--; |
|
|
|
|
} else { |
|
|
|
|