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