|
|
@ -144,14 +144,12 @@ public class AzioniPraticheUtil { |
|
|
|
status = STATE_COLLAUDO_PARZIALE; |
|
|
|
status = STATE_COLLAUDO_PARZIALE; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if(intPratica.getIntPraticaId() == 186466){ |
|
|
|
|
|
|
|
_log.info(status); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
List<String> actionList = STATE_ACTIONS_MAP.get(status); |
|
|
|
List<String> actionList = STATE_ACTIONS_MAP.get(status); |
|
|
|
if (actionList == null) { |
|
|
|
if (actionList == null) { |
|
|
|
actionList = new ArrayList<>(); |
|
|
|
actionList = new ArrayList<>(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (!actionList.contains(action)) { |
|
|
|
if (!actionList.contains(action)) { |
|
|
|
return false; |
|
|
|
return false; |
|
|
|
} |
|
|
|
} |
|
|
@ -200,6 +198,7 @@ public class AzioniPraticheUtil { |
|
|
|
SystemException { |
|
|
|
SystemException { |
|
|
|
|
|
|
|
|
|
|
|
IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(intPraticaId); |
|
|
|
IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(intPraticaId); |
|
|
|
|
|
|
|
|
|
|
|
if (!isAllowedAction(intPraticaId, ACTION_AGGIUNGI_SOGGETTO)) { |
|
|
|
if (!isAllowedAction(intPraticaId, ACTION_AGGIUNGI_SOGGETTO)) { |
|
|
|
return false; |
|
|
|
return false; |
|
|
|
} |
|
|
|
} |
|
|
|