Sfoglia il codice sorgente

add row for fields

develop
E-A 2 anni fa
parent
commit
080a72b133
  1. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar
  2. 79
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/IntPraticaLocalServiceImpl.java
  3. 3
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/IntPraticaFinderImpl.java
  4. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties
  5. BIN
      liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar
  6. 4
      liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/src/content/Language.properties
  7. 24
      liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/html/view.jsp

BIN
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar

File binario non mostrato.

79
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/IntPraticaLocalServiceImpl.java

@ -8,6 +8,45 @@
package it.tref.liferay.portos.bo.service.impl; 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.search.IntPraticaSearch;
import it.mwg.sismica.bo.shared.util.AvvisoUtil; import it.mwg.sismica.bo.shared.util.AvvisoUtil;
import it.mwg.sismica.bo.shared.util.DocumentiPraticaUtil; import it.mwg.sismica.bo.shared.util.DocumentiPraticaUtil;
@ -57,7 +96,6 @@ import java.util.Collections;
import java.util.Comparator; import java.util.Comparator;
import java.util.Date; import java.util.Date;
import java.util.HashMap; import java.util.HashMap;
import java.util.Iterator;
import java.util.LinkedHashMap; import java.util.LinkedHashMap;
import java.util.List; import java.util.List;
import java.util.Locale; import java.util.Locale;
@ -68,45 +106,6 @@ import javax.servlet.http.HttpServletRequest;
import org.apache.commons.codec.digest.DigestUtils; import org.apache.commons.codec.digest.DigestUtils;
import org.apache.commons.lang.StringUtils; 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. * The implementation of the int pratica local service.
* <p> * <p>

3
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/IntPraticaFinderImpl.java

@ -13,10 +13,7 @@ import com.liferay.util.dao.orm.CustomSQLUtil;
import it.tref.liferay.portos.bo.model.IntPratica; import it.tref.liferay.portos.bo.model.IntPratica;
import it.tref.liferay.portos.bo.model.impl.IntPraticaImpl; import it.tref.liferay.portos.bo.model.impl.IntPraticaImpl;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Date; import java.util.Date;
import java.util.Iterator;
import java.util.List; import java.util.List;
public class IntPraticaFinderImpl extends BasePersistenceImpl<IntPratica> implements IntPraticaFinder { public class IntPraticaFinderImpl extends BasePersistenceImpl<IntPratica> implements IntPraticaFinder {

4
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties

@ -13,8 +13,8 @@
## ##
build.namespace=portos_bo build.namespace=portos_bo
build.number=3637 build.number=3639
build.date=1679904806088 build.date=1679907642018
build.auto.upgrade=true build.auto.upgrade=true
## ##

BIN
liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar

File binario non mostrato.

4
liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/WEB-INF/src/content/Language.properties

@ -0,0 +1,4 @@
dataInizioInput=Data iniziale
dataFineInput=Data finale
Inizio=Data iniziale
Fine=Data finale

24
liferay-plugins-sdk-6.2/portlets/portos-reportistica-portlet/docroot/html/view.jsp

@ -38,6 +38,11 @@
<aui:row> <aui:row>
<h1>Dashboard di Reportistica</h1> <h1>Dashboard di Reportistica</h1>
</aui:row> </aui:row>
<div style="padding-bottom: 10px; padding-top: 15px;">
<aui:row>
<h4>Range date di filtro:</h4>
</aui:row>
</div>
<aui:row> <aui:row>
<liferay-portlet:renderURL <liferay-portlet:renderURL
var="filtraPerRangeDataURL" > var="filtraPerRangeDataURL" >
@ -48,27 +53,36 @@
<aui:form action="<%= filtraPerRangeDataURL %>" method="post"> <aui:form action="<%= filtraPerRangeDataURL %>" method="post">
<div style="display:flex;"> <div style="display:flex;">
<p><b>Data inizio Lavori Opera:</b></p> <aui:row>
<aui:column>
<p>Data iniziale:</p>
<aui:input <aui:input
name="dataInizioInput" name="dataInizioInput"
inlineLabel="left" inlineLabel="left"
label="Inizio"
type="date" type="date"
value='<%= DateFormatFactoryUtil.getSimpleDateFormat("yyyy-MM-dd").format(dataInizioLavori) %>'> value='<%= DateFormatFactoryUtil.getSimpleDateFormat("yyyy-MM-dd").format(dataInizioLavori) %>'>
</aui:input> </aui:input>
<p><b>Data fine Lavori Opera:</b></p> </aui:column>
<aui:column>
<p>Data finale:</p>
<aui:input <aui:input
name="dataFineInput" name="dataFineInput"
inlineLabel="left" inlineLabel="left"
label="Fine"
type="date" type="date"
value='<%= DateFormatFactoryUtil.getSimpleDateFormat("yyyy-MM-dd").format(dataFineLavori) %>'> value='<%= DateFormatFactoryUtil.getSimpleDateFormat("yyyy-MM-dd").format(dataFineLavori) %>'>
</aui:input> </aui:input>
<div> </aui:column>
<aui:column>
<p>Filtro pratiche:</p>
<aui:button <aui:button
name="PulsanteFiltro" value="Filtro"
cssClass="btn-primary" cssClass="btn-primary"
type="submit" type="submit"
/> />
</div> </aui:column>
</aui:row>
</div> </div>
</aui:form> </aui:form>
</aui:row> </aui:row>

Caricamento…
Annulla
Salva