|
|
@ -96,7 +96,12 @@ public class PortosAdministrationPortlet extends MVCPortlet { |
|
|
|
actionResponse.setRenderParameter("esito", esito.toArray(new String[esito.size()])); |
|
|
|
actionResponse.setRenderParameter("esito", esito.toArray(new String[esito.size()])); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void svuotaDatabase(ActionRequest actionRequest, ActionResponse actionResponse) { |
|
|
|
public void manutenzioneDatabase(ActionRequest actionRequest, ActionResponse actionResponse) |
|
|
|
|
|
|
|
throws PortalException, SystemException { |
|
|
|
|
|
|
|
String mode = ParamUtil.getString(actionRequest, "mode"); |
|
|
|
|
|
|
|
ServiceContext serviceContext = ServiceContextFactory.getInstance(actionRequest); |
|
|
|
|
|
|
|
List<String> esito = ManutenzioneDatabase.pulisci(serviceContext, mode); |
|
|
|
|
|
|
|
actionResponse.setRenderParameter("esito", esito.toArray(new String[esito.size()])); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void salvaDataProssimoSorteggio(ActionRequest actionRequest, ActionResponse actionResponse) |
|
|
|
public void salvaDataProssimoSorteggio(ActionRequest actionRequest, ActionResponse actionResponse) |
|
|
|