|
|
|
@ -96,6 +96,8 @@ import com.liferay.portal.kernel.log.Log;
|
|
|
|
|
import com.liferay.portal.kernel.log.LogFactoryUtil; |
|
|
|
|
import com.liferay.portal.kernel.repository.model.FileEntry; |
|
|
|
|
import com.liferay.portal.kernel.repository.model.Folder; |
|
|
|
|
import com.liferay.portal.kernel.search.Indexable; |
|
|
|
|
import com.liferay.portal.kernel.search.IndexableType; |
|
|
|
|
import com.liferay.portal.kernel.search.Indexer; |
|
|
|
|
import com.liferay.portal.kernel.search.IndexerRegistryUtil; |
|
|
|
|
import com.liferay.portal.kernel.util.FastDateFormatFactoryUtil; |
|
|
|
@ -242,6 +244,7 @@ public class IntPraticaLocalServiceImpl extends IntPraticaLocalServiceBaseImpl {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
@Indexable(type = IndexableType.REINDEX) |
|
|
|
|
public IntPratica addIntPratica(long territorioId, String tipoProcedura, ServiceContext serviceContext) |
|
|
|
|
throws SystemException, PortalException { |
|
|
|
|
|
|
|
|
@ -277,6 +280,7 @@ public class IntPraticaLocalServiceImpl extends IntPraticaLocalServiceBaseImpl {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
@Indexable(type = IndexableType.REINDEX) |
|
|
|
|
public IntPratica addIntPratica(long userId, String userName, String tipoPratica, long territorioId, |
|
|
|
|
String tipoProcedura, Date dtSorteggio, String statoPratica, String numeroProgetto, boolean validata, |
|
|
|
|
int esitoControllo, Date dtPratica, ServiceContext serviceContext) throws PortalException, SystemException { |
|
|
|
@ -371,6 +375,7 @@ public class IntPraticaLocalServiceImpl extends IntPraticaLocalServiceBaseImpl {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
@Indexable(type = IndexableType.DELETE) |
|
|
|
|
public IntPratica deleteIntPratica(IntPratica intPratica, boolean forced) throws SystemException, PortalException { |
|
|
|
|
|
|
|
|
|
if (intPratica.getStatus() == WorkflowConstants.STATUS_ANY || forced) { |
|
|
|
@ -493,6 +498,7 @@ public class IntPraticaLocalServiceImpl extends IntPraticaLocalServiceBaseImpl {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
@Indexable(type = IndexableType.DELETE) |
|
|
|
|
public IntPratica deleteIntPratica(IntPratica intPratica) throws SystemException, PortalException { |
|
|
|
|
|
|
|
|
|
return deleteIntPratica(intPratica, false); |
|
|
|
@ -689,6 +695,7 @@ public class IntPraticaLocalServiceImpl extends IntPraticaLocalServiceBaseImpl {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
@Indexable(type = IndexableType.REINDEX) |
|
|
|
|
public IntPratica cambiaTitolare(long intPraticaId, long soggettoId, ServiceContext serviceContext) |
|
|
|
|
throws PortalException, SystemException { |
|
|
|
|
|
|
|
|
@ -732,6 +739,7 @@ public class IntPraticaLocalServiceImpl extends IntPraticaLocalServiceBaseImpl {
|
|
|
|
|
|
|
|
|
|
// TODO rimuovere dettPraticaId
|
|
|
|
|
@Override |
|
|
|
|
@Indexable(type = IndexableType.REINDEX) |
|
|
|
|
public IntPratica updateStatoPratica(long intPraticaId, long dettPraticaId, String statoPratica) |
|
|
|
|
throws PortalException, SystemException { |
|
|
|
|
|
|
|
|
@ -757,6 +765,7 @@ public class IntPraticaLocalServiceImpl extends IntPraticaLocalServiceBaseImpl {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
@Indexable(type = IndexableType.REINDEX) |
|
|
|
|
public IntPratica updateIntPraticaSorteggio(long intPraticaId, Date dtSorteggio, String statoPratica) |
|
|
|
|
throws SystemException { |
|
|
|
|
IntPratica intPratica = intPraticaPersistence.fetchByPrimaryKey(intPraticaId); |
|
|
|
@ -780,6 +789,7 @@ public class IntPraticaLocalServiceImpl extends IntPraticaLocalServiceBaseImpl {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
@Indexable(type = IndexableType.REINDEX) |
|
|
|
|
public void updateStatus(long intPraticaId, int status) throws PortalException, SystemException { |
|
|
|
|
|
|
|
|
|
IntPratica intPratica = intPraticaLocalService.getIntPratica(intPraticaId); |
|
|
|
|