|
|
|
@ -130,8 +130,17 @@ public class IntPraticaLocalServiceImpl extends IntPraticaLocalServiceBaseImpl {
|
|
|
|
|
|
|
|
|
|
private static Log _log = LogFactoryUtil.getLog(IntPraticaLocalServiceImpl.class); |
|
|
|
|
|
|
|
|
|
private static final Map<String, String> tipiProcedure = new LinkedHashMap<>(); |
|
|
|
|
static { |
|
|
|
|
private static Map<String, String> tipiProcedure = null; |
|
|
|
|
|
|
|
|
|
private static void putTipoProcedura(String tipo) { |
|
|
|
|
tipiProcedure.put(tipo, LanguageUtil.get(LocaleUtil.ITALIAN, "tipo_procedura_" + tipo)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public Map<String, String> getTipiProcedure() { |
|
|
|
|
|
|
|
|
|
if (null == tipiProcedure) { |
|
|
|
|
tipiProcedure = new LinkedHashMap<>(); |
|
|
|
|
putTipoProcedura(Constants.PROCEDURA_P0); |
|
|
|
|
putTipoProcedura(Constants.PROCEDURA_P1); |
|
|
|
|
putTipoProcedura(Constants.PROCEDURA_P2); |
|
|
|
@ -144,15 +153,6 @@ public class IntPraticaLocalServiceImpl extends IntPraticaLocalServiceBaseImpl {
|
|
|
|
|
putTipoProcedura(Constants.PROCEDURA_P9); |
|
|
|
|
putTipoProcedura(Constants.PROCEDURA_P10); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private static void putTipoProcedura(String tipo) { |
|
|
|
|
|
|
|
|
|
tipiProcedure.put(tipo, LanguageUtil.get(LocaleUtil.ITALIAN, "tipo_procedura_" + tipo)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public Map<String, String> getTipiProcedure() { |
|
|
|
|
|
|
|
|
|
return tipiProcedure; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|