|
|
|
@ -8,6 +8,45 @@
|
|
|
|
|
|
|
|
|
|
package it.tref.liferay.portos.bo.service.impl; |
|
|
|
|
|
|
|
|
|
import com.liferay.portal.kernel.dao.orm.Disjunction; |
|
|
|
|
import com.liferay.portal.kernel.dao.orm.DynamicQuery; |
|
|
|
|
import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; |
|
|
|
|
import com.liferay.portal.kernel.dao.orm.OrderFactoryUtil; |
|
|
|
|
import com.liferay.portal.kernel.dao.orm.Property; |
|
|
|
|
import com.liferay.portal.kernel.dao.orm.PropertyFactoryUtil; |
|
|
|
|
import com.liferay.portal.kernel.dao.orm.QueryUtil; |
|
|
|
|
import com.liferay.portal.kernel.dao.orm.RestrictionsFactoryUtil; |
|
|
|
|
import com.liferay.portal.kernel.exception.PortalException; |
|
|
|
|
import com.liferay.portal.kernel.exception.SystemException; |
|
|
|
|
import com.liferay.portal.kernel.json.JSONFactoryUtil; |
|
|
|
|
import com.liferay.portal.kernel.json.JSONObject; |
|
|
|
|
import com.liferay.portal.kernel.json.JSONSerializer; |
|
|
|
|
import com.liferay.portal.kernel.language.LanguageUtil; |
|
|
|
|
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.Hits; |
|
|
|
|
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.LocaleUtil; |
|
|
|
|
import com.liferay.portal.kernel.util.MimeTypesUtil; |
|
|
|
|
import com.liferay.portal.kernel.util.StringPool; |
|
|
|
|
import com.liferay.portal.kernel.util.Validator; |
|
|
|
|
import com.liferay.portal.kernel.workflow.WorkflowHandlerRegistryUtil; |
|
|
|
|
import com.liferay.portal.kernel.workflow.WorkflowTask; |
|
|
|
|
import com.liferay.portal.model.Group; |
|
|
|
|
import com.liferay.portal.model.Organization; |
|
|
|
|
import com.liferay.portal.model.User; |
|
|
|
|
import com.liferay.portal.security.permission.PermissionThreadLocal; |
|
|
|
|
import com.liferay.portal.service.GroupLocalServiceUtil; |
|
|
|
|
import com.liferay.portal.service.OrganizationLocalServiceUtil; |
|
|
|
|
import com.liferay.portal.service.ServiceContext; |
|
|
|
|
import com.liferay.portal.service.WorkflowInstanceLinkLocalServiceUtil; |
|
|
|
|
import com.liferay.portlet.documentlibrary.NoSuchFolderException; |
|
|
|
|
|
|
|
|
|
import it.mwg.sismica.bo.search.IntPraticaSearch; |
|
|
|
|
import it.mwg.sismica.bo.shared.util.AvvisoUtil; |
|
|
|
|
import it.mwg.sismica.bo.shared.util.DocumentiPraticaUtil; |
|
|
|
@ -57,7 +96,6 @@ import java.util.Collections;
|
|
|
|
|
import java.util.Comparator; |
|
|
|
|
import java.util.Date; |
|
|
|
|
import java.util.HashMap; |
|
|
|
|
import java.util.Iterator; |
|
|
|
|
import java.util.LinkedHashMap; |
|
|
|
|
import java.util.List; |
|
|
|
|
import java.util.Locale; |
|
|
|
@ -68,45 +106,6 @@ import javax.servlet.http.HttpServletRequest;
|
|
|
|
|
import org.apache.commons.codec.digest.DigestUtils; |
|
|
|
|
import org.apache.commons.lang.StringUtils; |
|
|
|
|
|
|
|
|
|
import com.liferay.portal.kernel.dao.orm.Disjunction; |
|
|
|
|
import com.liferay.portal.kernel.dao.orm.DynamicQuery; |
|
|
|
|
import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil; |
|
|
|
|
import com.liferay.portal.kernel.dao.orm.OrderFactoryUtil; |
|
|
|
|
import com.liferay.portal.kernel.dao.orm.Property; |
|
|
|
|
import com.liferay.portal.kernel.dao.orm.PropertyFactoryUtil; |
|
|
|
|
import com.liferay.portal.kernel.dao.orm.QueryUtil; |
|
|
|
|
import com.liferay.portal.kernel.dao.orm.RestrictionsFactoryUtil; |
|
|
|
|
import com.liferay.portal.kernel.exception.PortalException; |
|
|
|
|
import com.liferay.portal.kernel.exception.SystemException; |
|
|
|
|
import com.liferay.portal.kernel.json.JSONFactoryUtil; |
|
|
|
|
import com.liferay.portal.kernel.json.JSONObject; |
|
|
|
|
import com.liferay.portal.kernel.json.JSONSerializer; |
|
|
|
|
import com.liferay.portal.kernel.language.LanguageUtil; |
|
|
|
|
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.Hits; |
|
|
|
|
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.LocaleUtil; |
|
|
|
|
import com.liferay.portal.kernel.util.MimeTypesUtil; |
|
|
|
|
import com.liferay.portal.kernel.util.StringPool; |
|
|
|
|
import com.liferay.portal.kernel.util.Validator; |
|
|
|
|
import com.liferay.portal.kernel.workflow.WorkflowHandlerRegistryUtil; |
|
|
|
|
import com.liferay.portal.kernel.workflow.WorkflowTask; |
|
|
|
|
import com.liferay.portal.model.Group; |
|
|
|
|
import com.liferay.portal.model.Organization; |
|
|
|
|
import com.liferay.portal.model.User; |
|
|
|
|
import com.liferay.portal.security.permission.PermissionThreadLocal; |
|
|
|
|
import com.liferay.portal.service.GroupLocalServiceUtil; |
|
|
|
|
import com.liferay.portal.service.OrganizationLocalServiceUtil; |
|
|
|
|
import com.liferay.portal.service.ServiceContext; |
|
|
|
|
import com.liferay.portal.service.WorkflowInstanceLinkLocalServiceUtil; |
|
|
|
|
import com.liferay.portlet.documentlibrary.NoSuchFolderException; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* The implementation of the int pratica local service. |
|
|
|
|
* <p> |
|
|
|
|