Sfoglia il codice sorgente

fix workflow parere

feature/advanced-operation
marcoalderighi 1 anno fa
parent
commit
2a4ab251df
  1. BIN
      liferay-plugins-sdk-6.2/dist/portos-audit-shared-6.2.0.1.jar
  2. BIN
      liferay-plugins-sdk-6.2/dist/portos-bo-shared-6.2.0.1.jar
  3. BIN
      liferay-plugins-sdk-6.2/dist/portos-kaleo-shared-6.2.0.1.jar
  4. BIN
      liferay-plugins-sdk-6.2/dist/portos-mail-manager-shared-6.2.0.1.jar
  5. BIN
      liferay-plugins-sdk-6.2/dist/portos-report-shared-6.2.0.1.jar
  6. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-audit-shared.jar
  7. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar
  8. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-bo-shared.jar
  9. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-kaleo-shared.jar
  10. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-mail-manager-shared.jar
  11. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/portos-report-shared.jar
  12. 10
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service.xml
  13. 15
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/ParereGeologoLocalService.java
  14. 185
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/ParereGeologoLocalServiceClp.java
  15. 27
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/ParereGeologoLocalServiceUtil.java
  16. 29
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/ParereGeologoLocalServiceWrapper.java
  17. 319
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/ParereGeologoPersistence.java
  18. 389
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/ParereGeologoUtil.java
  19. 2
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/sql/indexes.properties
  20. 2
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/sql/indexes.sql
  21. 94
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/ParereGeologoLocalServiceClpInvoker.java
  22. 65
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/impl/ParereGeologoLocalServiceImpl.java
  23. 1434
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/persistence/ParereGeologoPersistenceImpl.java
  24. 4
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/service.properties
  25. BIN
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/lib/portos-bo-portlet-service.jar
  26. BIN
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/lib/portos-bo-shared.jar
  27. BIN
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/lib/portos-mail-manager-shared.jar
  28. BIN
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/lib/portos-report-shared.jar
  29. 22
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/pareregeologo/init.jsp
  30. 64
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/pareregeologo/pareriapprovati.jsp
  31. 51
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/pareregeologo/pareriassegnati.jsp
  32. 2
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/pareregeologo/pareridaapprovare.jsp
  33. 6
      liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/pareregeologo/view.jsp
  34. BIN
      liferay-plugins-sdk-6.2/webs/portos-kaleo-web/docroot/WEB-INF/lib/portos-bo-portlet-service.jar
  35. BIN
      liferay-plugins-sdk-6.2/webs/portos-kaleo-web/docroot/WEB-INF/lib/portos-bo-shared.jar
  36. BIN
      liferay-plugins-sdk-6.2/webs/portos-kaleo-web/docroot/WEB-INF/lib/portos-kaleo-shared.jar
  37. 10
      liferay-plugins-sdk-6.2/webs/portos-kaleo-web/docroot/WEB-INF/src/it/tref/liferay/portos/kaleo/hook/struts/EditWorkflowTaskAction.java

BIN
liferay-plugins-sdk-6.2/dist/portos-audit-shared-6.2.0.1.jar vendored

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/dist/portos-bo-shared-6.2.0.1.jar vendored

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/dist/portos-kaleo-shared-6.2.0.1.jar vendored

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/dist/portos-mail-manager-shared-6.2.0.1.jar vendored

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/dist/portos-report-shared-6.2.0.1.jar vendored

File binario non mostrato.

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

File binario non mostrato.

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

File binario non mostrato.

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

File binario non mostrato.

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

File binario non mostrato.

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

File binario non mostrato.

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

File binario non mostrato.

10
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service.xml

@ -173,6 +173,16 @@
<finder-column name="dtAnnullamento" />
</finder>
<finder return-type="Collection" name="Group_UnitaOperativa_Geologo_Assegnatore_NotDtAssegnazione_DtApprovazione_DtAnnullamento">
<finder-column name="groupId" arrayable-operator="IN" />
<finder-column name="unitaOperativa" arrayable-operator="IN" />
<finder-column name="geologoUserId" />
<finder-column name="assegnatoreUserId" arrayable-operator="IN" />
<finder-column name="dtAssegnazione" comparator="!=" />
<finder-column name="dtApprovazione" />
<finder-column name="dtAnnullamento" />
</finder>
<finder return-type="Collection" name="Group_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAssegnazione_DtAnnullamento_DtApprovazione">
<finder-column name="groupId" arrayable-operator="IN" />
<finder-column name="unitaOperativa" arrayable-operator="IN" />

15
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/ParereGeologoLocalService.java

@ -356,6 +356,13 @@ public interface ParereGeologoLocalService extends BaseLocalService,
public int countByUserDaAssegnare(com.liferay.portal.model.User user)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByUserAssegnati(
com.liferay.portal.model.User user, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException;
public int countByUserAssegnati(com.liferay.portal.model.User user)
throws com.liferay.portal.kernel.exception.SystemException;
public int countByGeologoIdInCorso(long geologoUserId)
throws com.liferay.portal.kernel.exception.SystemException;
@ -370,6 +377,14 @@ public interface ParereGeologoLocalService extends BaseLocalService,
public int countFindWithParereByGeologoId(long geologoUserId)
throws com.liferay.portal.kernel.exception.SystemException;
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findWithParereByGeologoIdAndApprovazione(
long geologoUserId, boolean approvazione, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException;
public int countFindWithParereByGeologoIdAndApprovazione(
long geologoUserId, boolean approvazione)
throws com.liferay.portal.kernel.exception.SystemException;
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public java.util.Map<java.lang.String, it.mwg.sismica.bo.shared.bean.CarichiLavoroBean> getCarichiLavoro(
long controlloPraticaId, int giorni)

185
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/ParereGeologoLocalServiceClp.java

@ -187,25 +187,43 @@ public class ParereGeologoLocalServiceClp implements ParereGeologoLocalService {
_methodParameterTypes33 = new String[] { "com.liferay.portal.model.User" };
_methodName34 = "countByGeologoIdInCorso";
_methodName34 = "findByUserAssegnati";
_methodParameterTypes34 = new String[] { "long" };
_methodParameterTypes34 = new String[] {
"com.liferay.portal.model.User", "int", "int"
};
_methodName35 = "countByUserAssegnati";
_methodParameterTypes35 = new String[] { "com.liferay.portal.model.User" };
_methodName36 = "countByGeologoIdInCorso";
_methodParameterTypes36 = new String[] { "long" };
_methodName37 = "findByGeologoIdInCorso";
_methodParameterTypes37 = new String[] { "long", "int", "int" };
_methodName35 = "findByGeologoIdInCorso";
_methodName38 = "findWithParereByGeologoId";
_methodParameterTypes35 = new String[] { "long", "int", "int" };
_methodParameterTypes38 = new String[] { "long", "int", "int" };
_methodName36 = "findWithParereByGeologoId";
_methodName39 = "countFindWithParereByGeologoId";
_methodParameterTypes36 = new String[] { "long", "int", "int" };
_methodParameterTypes39 = new String[] { "long" };
_methodName37 = "countFindWithParereByGeologoId";
_methodName40 = "findWithParereByGeologoIdAndApprovazione";
_methodParameterTypes37 = new String[] { "long" };
_methodParameterTypes40 = new String[] { "long", "boolean", "int", "int" };
_methodName38 = "getCarichiLavoro";
_methodName41 = "countFindWithParereByGeologoIdAndApprovazione";
_methodParameterTypes38 = new String[] { "long", "int" };
_methodParameterTypes41 = new String[] { "long", "boolean" };
_methodName42 = "getCarichiLavoro";
_methodParameterTypes42 = new String[] { "long", "int" };
}
@Override
@ -1249,13 +1267,72 @@ public class ParereGeologoLocalServiceClp implements ParereGeologoLocalService {
}
@Override
public int countByGeologoIdInCorso(long geologoUserId)
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByUserAssegnati(
com.liferay.portal.model.User user, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName34,
_methodParameterTypes34, new Object[] { geologoUserId });
_methodParameterTypes34,
new Object[] { ClpSerializer.translateInput(user), start, end });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
throw (com.liferay.portal.kernel.exception.SystemException)t;
}
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
return (java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo>)ClpSerializer.translateOutput(returnObj);
}
@Override
public int countByUserAssegnati(com.liferay.portal.model.User user)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName35,
_methodParameterTypes35,
new Object[] { ClpSerializer.translateInput(user) });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
throw (com.liferay.portal.kernel.exception.SystemException)t;
}
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
return ((Integer)returnObj).intValue();
}
@Override
public int countByGeologoIdInCorso(long geologoUserId)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName36,
_methodParameterTypes36, new Object[] { geologoUserId });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@ -1283,8 +1360,8 @@ public class ParereGeologoLocalServiceClp implements ParereGeologoLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName35,
_methodParameterTypes35,
returnObj = _invokableLocalService.invokeMethod(_methodName37,
_methodParameterTypes37,
new Object[] { geologoUserId, start, end });
}
catch (Throwable t) {
@ -1313,8 +1390,8 @@ public class ParereGeologoLocalServiceClp implements ParereGeologoLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName36,
_methodParameterTypes36,
returnObj = _invokableLocalService.invokeMethod(_methodName38,
_methodParameterTypes38,
new Object[] { geologoUserId, start, end });
}
catch (Throwable t) {
@ -1342,8 +1419,68 @@ public class ParereGeologoLocalServiceClp implements ParereGeologoLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName37,
_methodParameterTypes37, new Object[] { geologoUserId });
returnObj = _invokableLocalService.invokeMethod(_methodName39,
_methodParameterTypes39, new Object[] { geologoUserId });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
throw (com.liferay.portal.kernel.exception.SystemException)t;
}
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
return ((Integer)returnObj).intValue();
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findWithParereByGeologoIdAndApprovazione(
long geologoUserId, boolean approvazione, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName40,
_methodParameterTypes40,
new Object[] { geologoUserId, approvazione, start, end });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
if (t instanceof com.liferay.portal.kernel.exception.SystemException) {
throw (com.liferay.portal.kernel.exception.SystemException)t;
}
if (t instanceof RuntimeException) {
throw (RuntimeException)t;
}
else {
throw new RuntimeException(t.getClass().getName() +
" is not a valid exception");
}
}
return (java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo>)ClpSerializer.translateOutput(returnObj);
}
@Override
public int countFindWithParereByGeologoIdAndApprovazione(
long geologoUserId, boolean approvazione)
throws com.liferay.portal.kernel.exception.SystemException {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName41,
_methodParameterTypes41,
new Object[] { geologoUserId, approvazione });
}
catch (Throwable t) {
t = ClpSerializer.translateThrowable(t);
@ -1372,8 +1509,8 @@ public class ParereGeologoLocalServiceClp implements ParereGeologoLocalService {
Object returnObj = null;
try {
returnObj = _invokableLocalService.invokeMethod(_methodName38,
_methodParameterTypes38,
returnObj = _invokableLocalService.invokeMethod(_methodName42,
_methodParameterTypes42,
new Object[] { controlloPraticaId, giorni });
}
catch (Throwable t) {
@ -1476,4 +1613,12 @@ public class ParereGeologoLocalServiceClp implements ParereGeologoLocalService {
private String[] _methodParameterTypes37;
private String _methodName38;
private String[] _methodParameterTypes38;
private String _methodName39;
private String[] _methodParameterTypes39;
private String _methodName40;
private String[] _methodParameterTypes40;
private String _methodName41;
private String[] _methodParameterTypes41;
private String _methodName42;
private String[] _methodParameterTypes42;
}

27
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/ParereGeologoLocalServiceUtil.java

@ -407,6 +407,17 @@ public class ParereGeologoLocalServiceUtil {
return getService().countByUserDaAssegnare(user);
}
public static java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByUserAssegnati(
com.liferay.portal.model.User user, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().findByUserAssegnati(user, start, end);
}
public static int countByUserAssegnati(com.liferay.portal.model.User user)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().countByUserAssegnati(user);
}
public static int countByGeologoIdInCorso(long geologoUserId)
throws com.liferay.portal.kernel.exception.SystemException {
return getService().countByGeologoIdInCorso(geologoUserId);
@ -429,6 +440,22 @@ public class ParereGeologoLocalServiceUtil {
return getService().countFindWithParereByGeologoId(geologoUserId);
}
public static java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findWithParereByGeologoIdAndApprovazione(
long geologoUserId, boolean approvazione, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.findWithParereByGeologoIdAndApprovazione(geologoUserId,
approvazione, start, end);
}
public static int countFindWithParereByGeologoIdAndApprovazione(
long geologoUserId, boolean approvazione)
throws com.liferay.portal.kernel.exception.SystemException {
return getService()
.countFindWithParereByGeologoIdAndApprovazione(geologoUserId,
approvazione);
}
public static java.util.Map<java.lang.String, it.mwg.sismica.bo.shared.bean.CarichiLavoroBean> getCarichiLavoro(
long controlloPraticaId, int giorni)
throws com.liferay.portal.kernel.exception.PortalException,

29
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/ParereGeologoLocalServiceWrapper.java

@ -439,6 +439,19 @@ public class ParereGeologoLocalServiceWrapper
return _parereGeologoLocalService.countByUserDaAssegnare(user);
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByUserAssegnati(
com.liferay.portal.model.User user, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException {
return _parereGeologoLocalService.findByUserAssegnati(user, start, end);
}
@Override
public int countByUserAssegnati(com.liferay.portal.model.User user)
throws com.liferay.portal.kernel.exception.SystemException {
return _parereGeologoLocalService.countByUserAssegnati(user);
}
@Override
public int countByGeologoIdInCorso(long geologoUserId)
throws com.liferay.portal.kernel.exception.SystemException {
@ -467,6 +480,22 @@ public class ParereGeologoLocalServiceWrapper
return _parereGeologoLocalService.countFindWithParereByGeologoId(geologoUserId);
}
@Override
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findWithParereByGeologoIdAndApprovazione(
long geologoUserId, boolean approvazione, int start, int end)
throws com.liferay.portal.kernel.exception.SystemException {
return _parereGeologoLocalService.findWithParereByGeologoIdAndApprovazione(geologoUserId,
approvazione, start, end);
}
@Override
public int countFindWithParereByGeologoIdAndApprovazione(
long geologoUserId, boolean approvazione)
throws com.liferay.portal.kernel.exception.SystemException {
return _parereGeologoLocalService.countFindWithParereByGeologoIdAndApprovazione(geologoUserId,
approvazione);
}
@Override
public java.util.Map<java.lang.String, it.mwg.sismica.bo.shared.bean.CarichiLavoroBean> getCarichiLavoro(
long controlloPraticaId, int giorni)

319
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/ParereGeologoPersistence.java

@ -972,6 +972,325 @@ public interface ParereGeologoPersistence extends BasePersistence<ParereGeologo>
java.util.Date dtAnnullamento)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns all the parere geologos where groupId = &#63; and unitaOperativa = &#63; and geologoUserId = &#63; and assegnatoreUserId = &#63; and dtAssegnazione &ne; &#63; and dtApprovazione = &#63; and dtAnnullamento = &#63;.
*
* @param groupId the group ID
* @param unitaOperativa the unita operativa
* @param geologoUserId the geologo user ID
* @param assegnatoreUserId the assegnatore user ID
* @param dtAssegnazione the dt assegnazione
* @param dtApprovazione the dt approvazione
* @param dtAnnullamento the dt annullamento
* @return the matching parere geologos
* @throws SystemException if a system exception occurred
*/
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGroup_UnitaOperativa_Geologo_Assegnatore_NotDtAssegnazione_DtApprovazione_DtAnnullamento(
long groupId, int unitaOperativa, long geologoUserId,
long assegnatoreUserId, java.util.Date dtAssegnazione,
java.util.Date dtApprovazione, java.util.Date dtAnnullamento)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns a range of all the parere geologos where groupId = &#63; and unitaOperativa = &#63; and geologoUserId = &#63; and assegnatoreUserId = &#63; and dtAssegnazione &ne; &#63; and dtApprovazione = &#63; and dtAnnullamento = &#63;.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.ParereGeologoModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
* </p>
*
* @param groupId the group ID
* @param unitaOperativa the unita operativa
* @param geologoUserId the geologo user ID
* @param assegnatoreUserId the assegnatore user ID
* @param dtAssegnazione the dt assegnazione
* @param dtApprovazione the dt approvazione
* @param dtAnnullamento the dt annullamento
* @param start the lower bound of the range of parere geologos
* @param end the upper bound of the range of parere geologos (not inclusive)
* @return the range of matching parere geologos
* @throws SystemException if a system exception occurred
*/
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGroup_UnitaOperativa_Geologo_Assegnatore_NotDtAssegnazione_DtApprovazione_DtAnnullamento(
long groupId, int unitaOperativa, long geologoUserId,
long assegnatoreUserId, java.util.Date dtAssegnazione,
java.util.Date dtApprovazione, java.util.Date dtAnnullamento,
int start, int end)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns an ordered range of all the parere geologos where groupId = &#63; and unitaOperativa = &#63; and geologoUserId = &#63; and assegnatoreUserId = &#63; and dtAssegnazione &ne; &#63; and dtApprovazione = &#63; and dtAnnullamento = &#63;.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.ParereGeologoModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
* </p>
*
* @param groupId the group ID
* @param unitaOperativa the unita operativa
* @param geologoUserId the geologo user ID
* @param assegnatoreUserId the assegnatore user ID
* @param dtAssegnazione the dt assegnazione
* @param dtApprovazione the dt approvazione
* @param dtAnnullamento the dt annullamento
* @param start the lower bound of the range of parere geologos
* @param end the upper bound of the range of parere geologos (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
* @return the ordered range of matching parere geologos
* @throws SystemException if a system exception occurred
*/
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGroup_UnitaOperativa_Geologo_Assegnatore_NotDtAssegnazione_DtApprovazione_DtAnnullamento(
long groupId, int unitaOperativa, long geologoUserId,
long assegnatoreUserId, java.util.Date dtAssegnazione,
java.util.Date dtApprovazione, java.util.Date dtAnnullamento,
int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the first parere geologo in the ordered set where groupId = &#63; and unitaOperativa = &#63; and geologoUserId = &#63; and assegnatoreUserId = &#63; and dtAssegnazione &ne; &#63; and dtApprovazione = &#63; and dtAnnullamento = &#63;.
*
* @param groupId the group ID
* @param unitaOperativa the unita operativa
* @param geologoUserId the geologo user ID
* @param assegnatoreUserId the assegnatore user ID
* @param dtAssegnazione the dt assegnazione
* @param dtApprovazione the dt approvazione
* @param dtAnnullamento the dt annullamento
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the first matching parere geologo
* @throws it.tref.liferay.portos.bo.NoSuchParereGeologoException if a matching parere geologo could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.ParereGeologo findByGroup_UnitaOperativa_Geologo_Assegnatore_NotDtAssegnazione_DtApprovazione_DtAnnullamento_First(
long groupId, int unitaOperativa, long geologoUserId,
long assegnatoreUserId, java.util.Date dtAssegnazione,
java.util.Date dtApprovazione, java.util.Date dtAnnullamento,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchParereGeologoException;
/**
* Returns the first parere geologo in the ordered set where groupId = &#63; and unitaOperativa = &#63; and geologoUserId = &#63; and assegnatoreUserId = &#63; and dtAssegnazione &ne; &#63; and dtApprovazione = &#63; and dtAnnullamento = &#63;.
*
* @param groupId the group ID
* @param unitaOperativa the unita operativa
* @param geologoUserId the geologo user ID
* @param assegnatoreUserId the assegnatore user ID
* @param dtAssegnazione the dt assegnazione
* @param dtApprovazione the dt approvazione
* @param dtAnnullamento the dt annullamento
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the first matching parere geologo, or <code>null</code> if a matching parere geologo could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.ParereGeologo fetchByGroup_UnitaOperativa_Geologo_Assegnatore_NotDtAssegnazione_DtApprovazione_DtAnnullamento_First(
long groupId, int unitaOperativa, long geologoUserId,
long assegnatoreUserId, java.util.Date dtAssegnazione,
java.util.Date dtApprovazione, java.util.Date dtAnnullamento,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the last parere geologo in the ordered set where groupId = &#63; and unitaOperativa = &#63; and geologoUserId = &#63; and assegnatoreUserId = &#63; and dtAssegnazione &ne; &#63; and dtApprovazione = &#63; and dtAnnullamento = &#63;.
*
* @param groupId the group ID
* @param unitaOperativa the unita operativa
* @param geologoUserId the geologo user ID
* @param assegnatoreUserId the assegnatore user ID
* @param dtAssegnazione the dt assegnazione
* @param dtApprovazione the dt approvazione
* @param dtAnnullamento the dt annullamento
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the last matching parere geologo
* @throws it.tref.liferay.portos.bo.NoSuchParereGeologoException if a matching parere geologo could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.ParereGeologo findByGroup_UnitaOperativa_Geologo_Assegnatore_NotDtAssegnazione_DtApprovazione_DtAnnullamento_Last(
long groupId, int unitaOperativa, long geologoUserId,
long assegnatoreUserId, java.util.Date dtAssegnazione,
java.util.Date dtApprovazione, java.util.Date dtAnnullamento,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchParereGeologoException;
/**
* Returns the last parere geologo in the ordered set where groupId = &#63; and unitaOperativa = &#63; and geologoUserId = &#63; and assegnatoreUserId = &#63; and dtAssegnazione &ne; &#63; and dtApprovazione = &#63; and dtAnnullamento = &#63;.
*
* @param groupId the group ID
* @param unitaOperativa the unita operativa
* @param geologoUserId the geologo user ID
* @param assegnatoreUserId the assegnatore user ID
* @param dtAssegnazione the dt assegnazione
* @param dtApprovazione the dt approvazione
* @param dtAnnullamento the dt annullamento
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the last matching parere geologo, or <code>null</code> if a matching parere geologo could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.ParereGeologo fetchByGroup_UnitaOperativa_Geologo_Assegnatore_NotDtAssegnazione_DtApprovazione_DtAnnullamento_Last(
long groupId, int unitaOperativa, long geologoUserId,
long assegnatoreUserId, java.util.Date dtAssegnazione,
java.util.Date dtApprovazione, java.util.Date dtAnnullamento,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the parere geologos before and after the current parere geologo in the ordered set where groupId = &#63; and unitaOperativa = &#63; and geologoUserId = &#63; and assegnatoreUserId = &#63; and dtAssegnazione &ne; &#63; and dtApprovazione = &#63; and dtAnnullamento = &#63;.
*
* @param parereGeologoId the primary key of the current parere geologo
* @param groupId the group ID
* @param unitaOperativa the unita operativa
* @param geologoUserId the geologo user ID
* @param assegnatoreUserId the assegnatore user ID
* @param dtAssegnazione the dt assegnazione
* @param dtApprovazione the dt approvazione
* @param dtAnnullamento the dt annullamento
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the previous, current, and next parere geologo
* @throws it.tref.liferay.portos.bo.NoSuchParereGeologoException if a parere geologo with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public it.tref.liferay.portos.bo.model.ParereGeologo[] findByGroup_UnitaOperativa_Geologo_Assegnatore_NotDtAssegnazione_DtApprovazione_DtAnnullamento_PrevAndNext(
long parereGeologoId, long groupId, int unitaOperativa,
long geologoUserId, long assegnatoreUserId,
java.util.Date dtAssegnazione, java.util.Date dtApprovazione,
java.util.Date dtAnnullamento,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchParereGeologoException;
/**
* Returns all the parere geologos where groupId = any &#63; and unitaOperativa = any &#63; and geologoUserId = &#63; and assegnatoreUserId = any &#63; and dtAssegnazione &ne; &#63; and dtApprovazione = &#63; and dtAnnullamento = &#63;.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.ParereGeologoModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
* </p>
*
* @param groupIds the group IDs
* @param unitaOperativas the unita operativas
* @param geologoUserId the geologo user ID
* @param assegnatoreUserIds the assegnatore user IDs
* @param dtAssegnazione the dt assegnazione
* @param dtApprovazione the dt approvazione
* @param dtAnnullamento the dt annullamento
* @return the matching parere geologos
* @throws SystemException if a system exception occurred
*/
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGroup_UnitaOperativa_Geologo_Assegnatore_NotDtAssegnazione_DtApprovazione_DtAnnullamento(
long[] groupIds, int[] unitaOperativas, long geologoUserId,
long[] assegnatoreUserIds, java.util.Date dtAssegnazione,
java.util.Date dtApprovazione, java.util.Date dtAnnullamento)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns a range of all the parere geologos where groupId = any &#63; and unitaOperativa = any &#63; and geologoUserId = &#63; and assegnatoreUserId = any &#63; and dtAssegnazione &ne; &#63; and dtApprovazione = &#63; and dtAnnullamento = &#63;.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.ParereGeologoModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
* </p>
*
* @param groupIds the group IDs
* @param unitaOperativas the unita operativas
* @param geologoUserId the geologo user ID
* @param assegnatoreUserIds the assegnatore user IDs
* @param dtAssegnazione the dt assegnazione
* @param dtApprovazione the dt approvazione
* @param dtAnnullamento the dt annullamento
* @param start the lower bound of the range of parere geologos
* @param end the upper bound of the range of parere geologos (not inclusive)
* @return the range of matching parere geologos
* @throws SystemException if a system exception occurred
*/
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGroup_UnitaOperativa_Geologo_Assegnatore_NotDtAssegnazione_DtApprovazione_DtAnnullamento(
long[] groupIds, int[] unitaOperativas, long geologoUserId,
long[] assegnatoreUserIds, java.util.Date dtAssegnazione,
java.util.Date dtApprovazione, java.util.Date dtAnnullamento,
int start, int end)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns an ordered range of all the parere geologos where groupId = any &#63; and unitaOperativa = any &#63; and geologoUserId = &#63; and assegnatoreUserId = any &#63; and dtAssegnazione &ne; &#63; and dtApprovazione = &#63; and dtAnnullamento = &#63;.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.ParereGeologoModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
* </p>
*
* @param groupIds the group IDs
* @param unitaOperativas the unita operativas
* @param geologoUserId the geologo user ID
* @param assegnatoreUserIds the assegnatore user IDs
* @param dtAssegnazione the dt assegnazione
* @param dtApprovazione the dt approvazione
* @param dtAnnullamento the dt annullamento
* @param start the lower bound of the range of parere geologos
* @param end the upper bound of the range of parere geologos (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
* @return the ordered range of matching parere geologos
* @throws SystemException if a system exception occurred
*/
public java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGroup_UnitaOperativa_Geologo_Assegnatore_NotDtAssegnazione_DtApprovazione_DtAnnullamento(
long[] groupIds, int[] unitaOperativas, long geologoUserId,
long[] assegnatoreUserIds, java.util.Date dtAssegnazione,
java.util.Date dtApprovazione, java.util.Date dtAnnullamento,
int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Removes all the parere geologos where groupId = &#63; and unitaOperativa = &#63; and geologoUserId = &#63; and assegnatoreUserId = &#63; and dtAssegnazione &ne; &#63; and dtApprovazione = &#63; and dtAnnullamento = &#63; from the database.
*
* @param groupId the group ID
* @param unitaOperativa the unita operativa
* @param geologoUserId the geologo user ID
* @param assegnatoreUserId the assegnatore user ID
* @param dtAssegnazione the dt assegnazione
* @param dtApprovazione the dt approvazione
* @param dtAnnullamento the dt annullamento
* @throws SystemException if a system exception occurred
*/
public void removeByGroup_UnitaOperativa_Geologo_Assegnatore_NotDtAssegnazione_DtApprovazione_DtAnnullamento(
long groupId, int unitaOperativa, long geologoUserId,
long assegnatoreUserId, java.util.Date dtAssegnazione,
java.util.Date dtApprovazione, java.util.Date dtAnnullamento)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the number of parere geologos where groupId = &#63; and unitaOperativa = &#63; and geologoUserId = &#63; and assegnatoreUserId = &#63; and dtAssegnazione &ne; &#63; and dtApprovazione = &#63; and dtAnnullamento = &#63;.
*
* @param groupId the group ID
* @param unitaOperativa the unita operativa
* @param geologoUserId the geologo user ID
* @param assegnatoreUserId the assegnatore user ID
* @param dtAssegnazione the dt assegnazione
* @param dtApprovazione the dt approvazione
* @param dtAnnullamento the dt annullamento
* @return the number of matching parere geologos
* @throws SystemException if a system exception occurred
*/
public int countByGroup_UnitaOperativa_Geologo_Assegnatore_NotDtAssegnazione_DtApprovazione_DtAnnullamento(
long groupId, int unitaOperativa, long geologoUserId,
long assegnatoreUserId, java.util.Date dtAssegnazione,
java.util.Date dtApprovazione, java.util.Date dtAnnullamento)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns the number of parere geologos where groupId = any &#63; and unitaOperativa = any &#63; and geologoUserId = &#63; and assegnatoreUserId = any &#63; and dtAssegnazione &ne; &#63; and dtApprovazione = &#63; and dtAnnullamento = &#63;.
*
* @param groupIds the group IDs
* @param unitaOperativas the unita operativas
* @param geologoUserId the geologo user ID
* @param assegnatoreUserIds the assegnatore user IDs
* @param dtAssegnazione the dt assegnazione
* @param dtApprovazione the dt approvazione
* @param dtAnnullamento the dt annullamento
* @return the number of matching parere geologos
* @throws SystemException if a system exception occurred
*/
public int countByGroup_UnitaOperativa_Geologo_Assegnatore_NotDtAssegnazione_DtApprovazione_DtAnnullamento(
long[] groupIds, int[] unitaOperativas, long geologoUserId,
long[] assegnatoreUserIds, java.util.Date dtAssegnazione,
java.util.Date dtApprovazione, java.util.Date dtAnnullamento)
throws com.liferay.portal.kernel.exception.SystemException;
/**
* Returns all the parere geologos where groupId = &#63; and unitaOperativa = &#63; and assegnatoreUserId = &#63; and dtCompilazione &ne; &#63; and dtAssegnazione &ne; &#63; and dtAnnullamento = &#63; and dtApprovazione = &#63;.
*

389
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/service/it/tref/liferay/portos/bo/service/persistence/ParereGeologoUtil.java

@ -1230,6 +1230,395 @@ public class ParereGeologoUtil {
dtAnnullamento);
}
/**
* Returns all the parere geologos where groupId = &#63; and unitaOperativa = &#63; and geologoUserId = &#63; and assegnatoreUserId = &#63; and dtAssegnazione &ne; &#63; and dtApprovazione = &#63; and dtAnnullamento = &#63;.
*
* @param groupId the group ID
* @param unitaOperativa the unita operativa
* @param geologoUserId the geologo user ID
* @param assegnatoreUserId the assegnatore user ID
* @param dtAssegnazione the dt assegnazione
* @param dtApprovazione the dt approvazione
* @param dtAnnullamento the dt annullamento
* @return the matching parere geologos
* @throws SystemException if a system exception occurred
*/
public static java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGroup_UnitaOperativa_Geologo_Assegnatore_NotDtAssegnazione_DtApprovazione_DtAnnullamento(
long groupId, int unitaOperativa, long geologoUserId,
long assegnatoreUserId, java.util.Date dtAssegnazione,
java.util.Date dtApprovazione, java.util.Date dtAnnullamento)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence()
.findByGroup_UnitaOperativa_Geologo_Assegnatore_NotDtAssegnazione_DtApprovazione_DtAnnullamento(groupId,
unitaOperativa, geologoUserId, assegnatoreUserId, dtAssegnazione,
dtApprovazione, dtAnnullamento);
}
/**
* Returns a range of all the parere geologos where groupId = &#63; and unitaOperativa = &#63; and geologoUserId = &#63; and assegnatoreUserId = &#63; and dtAssegnazione &ne; &#63; and dtApprovazione = &#63; and dtAnnullamento = &#63;.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.ParereGeologoModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
* </p>
*
* @param groupId the group ID
* @param unitaOperativa the unita operativa
* @param geologoUserId the geologo user ID
* @param assegnatoreUserId the assegnatore user ID
* @param dtAssegnazione the dt assegnazione
* @param dtApprovazione the dt approvazione
* @param dtAnnullamento the dt annullamento
* @param start the lower bound of the range of parere geologos
* @param end the upper bound of the range of parere geologos (not inclusive)
* @return the range of matching parere geologos
* @throws SystemException if a system exception occurred
*/
public static java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGroup_UnitaOperativa_Geologo_Assegnatore_NotDtAssegnazione_DtApprovazione_DtAnnullamento(
long groupId, int unitaOperativa, long geologoUserId,
long assegnatoreUserId, java.util.Date dtAssegnazione,
java.util.Date dtApprovazione, java.util.Date dtAnnullamento,
int start, int end)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence()
.findByGroup_UnitaOperativa_Geologo_Assegnatore_NotDtAssegnazione_DtApprovazione_DtAnnullamento(groupId,
unitaOperativa, geologoUserId, assegnatoreUserId, dtAssegnazione,
dtApprovazione, dtAnnullamento, start, end);
}
/**
* Returns an ordered range of all the parere geologos where groupId = &#63; and unitaOperativa = &#63; and geologoUserId = &#63; and assegnatoreUserId = &#63; and dtAssegnazione &ne; &#63; and dtApprovazione = &#63; and dtAnnullamento = &#63;.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.ParereGeologoModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
* </p>
*
* @param groupId the group ID
* @param unitaOperativa the unita operativa
* @param geologoUserId the geologo user ID
* @param assegnatoreUserId the assegnatore user ID
* @param dtAssegnazione the dt assegnazione
* @param dtApprovazione the dt approvazione
* @param dtAnnullamento the dt annullamento
* @param start the lower bound of the range of parere geologos
* @param end the upper bound of the range of parere geologos (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
* @return the ordered range of matching parere geologos
* @throws SystemException if a system exception occurred
*/
public static java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGroup_UnitaOperativa_Geologo_Assegnatore_NotDtAssegnazione_DtApprovazione_DtAnnullamento(
long groupId, int unitaOperativa, long geologoUserId,
long assegnatoreUserId, java.util.Date dtAssegnazione,
java.util.Date dtApprovazione, java.util.Date dtAnnullamento,
int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence()
.findByGroup_UnitaOperativa_Geologo_Assegnatore_NotDtAssegnazione_DtApprovazione_DtAnnullamento(groupId,
unitaOperativa, geologoUserId, assegnatoreUserId, dtAssegnazione,
dtApprovazione, dtAnnullamento, start, end, orderByComparator);
}
/**
* Returns the first parere geologo in the ordered set where groupId = &#63; and unitaOperativa = &#63; and geologoUserId = &#63; and assegnatoreUserId = &#63; and dtAssegnazione &ne; &#63; and dtApprovazione = &#63; and dtAnnullamento = &#63;.
*
* @param groupId the group ID
* @param unitaOperativa the unita operativa
* @param geologoUserId the geologo user ID
* @param assegnatoreUserId the assegnatore user ID
* @param dtAssegnazione the dt assegnazione
* @param dtApprovazione the dt approvazione
* @param dtAnnullamento the dt annullamento
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the first matching parere geologo
* @throws it.tref.liferay.portos.bo.NoSuchParereGeologoException if a matching parere geologo could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.ParereGeologo findByGroup_UnitaOperativa_Geologo_Assegnatore_NotDtAssegnazione_DtApprovazione_DtAnnullamento_First(
long groupId, int unitaOperativa, long geologoUserId,
long assegnatoreUserId, java.util.Date dtAssegnazione,
java.util.Date dtApprovazione, java.util.Date dtAnnullamento,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchParereGeologoException {
return getPersistence()
.findByGroup_UnitaOperativa_Geologo_Assegnatore_NotDtAssegnazione_DtApprovazione_DtAnnullamento_First(groupId,
unitaOperativa, geologoUserId, assegnatoreUserId, dtAssegnazione,
dtApprovazione, dtAnnullamento, orderByComparator);
}
/**
* Returns the first parere geologo in the ordered set where groupId = &#63; and unitaOperativa = &#63; and geologoUserId = &#63; and assegnatoreUserId = &#63; and dtAssegnazione &ne; &#63; and dtApprovazione = &#63; and dtAnnullamento = &#63;.
*
* @param groupId the group ID
* @param unitaOperativa the unita operativa
* @param geologoUserId the geologo user ID
* @param assegnatoreUserId the assegnatore user ID
* @param dtAssegnazione the dt assegnazione
* @param dtApprovazione the dt approvazione
* @param dtAnnullamento the dt annullamento
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the first matching parere geologo, or <code>null</code> if a matching parere geologo could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.ParereGeologo fetchByGroup_UnitaOperativa_Geologo_Assegnatore_NotDtAssegnazione_DtApprovazione_DtAnnullamento_First(
long groupId, int unitaOperativa, long geologoUserId,
long assegnatoreUserId, java.util.Date dtAssegnazione,
java.util.Date dtApprovazione, java.util.Date dtAnnullamento,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence()
.fetchByGroup_UnitaOperativa_Geologo_Assegnatore_NotDtAssegnazione_DtApprovazione_DtAnnullamento_First(groupId,
unitaOperativa, geologoUserId, assegnatoreUserId, dtAssegnazione,
dtApprovazione, dtAnnullamento, orderByComparator);
}
/**
* Returns the last parere geologo in the ordered set where groupId = &#63; and unitaOperativa = &#63; and geologoUserId = &#63; and assegnatoreUserId = &#63; and dtAssegnazione &ne; &#63; and dtApprovazione = &#63; and dtAnnullamento = &#63;.
*
* @param groupId the group ID
* @param unitaOperativa the unita operativa
* @param geologoUserId the geologo user ID
* @param assegnatoreUserId the assegnatore user ID
* @param dtAssegnazione the dt assegnazione
* @param dtApprovazione the dt approvazione
* @param dtAnnullamento the dt annullamento
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the last matching parere geologo
* @throws it.tref.liferay.portos.bo.NoSuchParereGeologoException if a matching parere geologo could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.ParereGeologo findByGroup_UnitaOperativa_Geologo_Assegnatore_NotDtAssegnazione_DtApprovazione_DtAnnullamento_Last(
long groupId, int unitaOperativa, long geologoUserId,
long assegnatoreUserId, java.util.Date dtAssegnazione,
java.util.Date dtApprovazione, java.util.Date dtAnnullamento,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchParereGeologoException {
return getPersistence()
.findByGroup_UnitaOperativa_Geologo_Assegnatore_NotDtAssegnazione_DtApprovazione_DtAnnullamento_Last(groupId,
unitaOperativa, geologoUserId, assegnatoreUserId, dtAssegnazione,
dtApprovazione, dtAnnullamento, orderByComparator);
}
/**
* Returns the last parere geologo in the ordered set where groupId = &#63; and unitaOperativa = &#63; and geologoUserId = &#63; and assegnatoreUserId = &#63; and dtAssegnazione &ne; &#63; and dtApprovazione = &#63; and dtAnnullamento = &#63;.
*
* @param groupId the group ID
* @param unitaOperativa the unita operativa
* @param geologoUserId the geologo user ID
* @param assegnatoreUserId the assegnatore user ID
* @param dtAssegnazione the dt assegnazione
* @param dtApprovazione the dt approvazione
* @param dtAnnullamento the dt annullamento
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the last matching parere geologo, or <code>null</code> if a matching parere geologo could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.ParereGeologo fetchByGroup_UnitaOperativa_Geologo_Assegnatore_NotDtAssegnazione_DtApprovazione_DtAnnullamento_Last(
long groupId, int unitaOperativa, long geologoUserId,
long assegnatoreUserId, java.util.Date dtAssegnazione,
java.util.Date dtApprovazione, java.util.Date dtAnnullamento,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence()
.fetchByGroup_UnitaOperativa_Geologo_Assegnatore_NotDtAssegnazione_DtApprovazione_DtAnnullamento_Last(groupId,
unitaOperativa, geologoUserId, assegnatoreUserId, dtAssegnazione,
dtApprovazione, dtAnnullamento, orderByComparator);
}
/**
* Returns the parere geologos before and after the current parere geologo in the ordered set where groupId = &#63; and unitaOperativa = &#63; and geologoUserId = &#63; and assegnatoreUserId = &#63; and dtAssegnazione &ne; &#63; and dtApprovazione = &#63; and dtAnnullamento = &#63;.
*
* @param parereGeologoId the primary key of the current parere geologo
* @param groupId the group ID
* @param unitaOperativa the unita operativa
* @param geologoUserId the geologo user ID
* @param assegnatoreUserId the assegnatore user ID
* @param dtAssegnazione the dt assegnazione
* @param dtApprovazione the dt approvazione
* @param dtAnnullamento the dt annullamento
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the previous, current, and next parere geologo
* @throws it.tref.liferay.portos.bo.NoSuchParereGeologoException if a parere geologo with the primary key could not be found
* @throws SystemException if a system exception occurred
*/
public static it.tref.liferay.portos.bo.model.ParereGeologo[] findByGroup_UnitaOperativa_Geologo_Assegnatore_NotDtAssegnazione_DtApprovazione_DtAnnullamento_PrevAndNext(
long parereGeologoId, long groupId, int unitaOperativa,
long geologoUserId, long assegnatoreUserId,
java.util.Date dtAssegnazione, java.util.Date dtApprovazione,
java.util.Date dtAnnullamento,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException,
it.tref.liferay.portos.bo.NoSuchParereGeologoException {
return getPersistence()
.findByGroup_UnitaOperativa_Geologo_Assegnatore_NotDtAssegnazione_DtApprovazione_DtAnnullamento_PrevAndNext(parereGeologoId,
groupId, unitaOperativa, geologoUserId, assegnatoreUserId,
dtAssegnazione, dtApprovazione, dtAnnullamento, orderByComparator);
}
/**
* Returns all the parere geologos where groupId = any &#63; and unitaOperativa = any &#63; and geologoUserId = &#63; and assegnatoreUserId = any &#63; and dtAssegnazione &ne; &#63; and dtApprovazione = &#63; and dtAnnullamento = &#63;.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.ParereGeologoModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
* </p>
*
* @param groupIds the group IDs
* @param unitaOperativas the unita operativas
* @param geologoUserId the geologo user ID
* @param assegnatoreUserIds the assegnatore user IDs
* @param dtAssegnazione the dt assegnazione
* @param dtApprovazione the dt approvazione
* @param dtAnnullamento the dt annullamento
* @return the matching parere geologos
* @throws SystemException if a system exception occurred
*/
public static java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGroup_UnitaOperativa_Geologo_Assegnatore_NotDtAssegnazione_DtApprovazione_DtAnnullamento(
long[] groupIds, int[] unitaOperativas, long geologoUserId,
long[] assegnatoreUserIds, java.util.Date dtAssegnazione,
java.util.Date dtApprovazione, java.util.Date dtAnnullamento)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence()
.findByGroup_UnitaOperativa_Geologo_Assegnatore_NotDtAssegnazione_DtApprovazione_DtAnnullamento(groupIds,
unitaOperativas, geologoUserId, assegnatoreUserIds, dtAssegnazione,
dtApprovazione, dtAnnullamento);
}
/**
* Returns a range of all the parere geologos where groupId = any &#63; and unitaOperativa = any &#63; and geologoUserId = &#63; and assegnatoreUserId = any &#63; and dtAssegnazione &ne; &#63; and dtApprovazione = &#63; and dtAnnullamento = &#63;.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.ParereGeologoModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
* </p>
*
* @param groupIds the group IDs
* @param unitaOperativas the unita operativas
* @param geologoUserId the geologo user ID
* @param assegnatoreUserIds the assegnatore user IDs
* @param dtAssegnazione the dt assegnazione
* @param dtApprovazione the dt approvazione
* @param dtAnnullamento the dt annullamento
* @param start the lower bound of the range of parere geologos
* @param end the upper bound of the range of parere geologos (not inclusive)
* @return the range of matching parere geologos
* @throws SystemException if a system exception occurred
*/
public static java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGroup_UnitaOperativa_Geologo_Assegnatore_NotDtAssegnazione_DtApprovazione_DtAnnullamento(
long[] groupIds, int[] unitaOperativas, long geologoUserId,
long[] assegnatoreUserIds, java.util.Date dtAssegnazione,
java.util.Date dtApprovazione, java.util.Date dtAnnullamento,
int start, int end)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence()
.findByGroup_UnitaOperativa_Geologo_Assegnatore_NotDtAssegnazione_DtApprovazione_DtAnnullamento(groupIds,
unitaOperativas, geologoUserId, assegnatoreUserIds, dtAssegnazione,
dtApprovazione, dtAnnullamento, start, end);
}
/**
* Returns an ordered range of all the parere geologos where groupId = any &#63; and unitaOperativa = any &#63; and geologoUserId = &#63; and assegnatoreUserId = any &#63; and dtAssegnazione &ne; &#63; and dtApprovazione = &#63; and dtAnnullamento = &#63;.
*
* <p>
* Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link it.tref.liferay.portos.bo.model.impl.ParereGeologoModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
* </p>
*
* @param groupIds the group IDs
* @param unitaOperativas the unita operativas
* @param geologoUserId the geologo user ID
* @param assegnatoreUserIds the assegnatore user IDs
* @param dtAssegnazione the dt assegnazione
* @param dtApprovazione the dt approvazione
* @param dtAnnullamento the dt annullamento
* @param start the lower bound of the range of parere geologos
* @param end the upper bound of the range of parere geologos (not inclusive)
* @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
* @return the ordered range of matching parere geologos
* @throws SystemException if a system exception occurred
*/
public static java.util.List<it.tref.liferay.portos.bo.model.ParereGeologo> findByGroup_UnitaOperativa_Geologo_Assegnatore_NotDtAssegnazione_DtApprovazione_DtAnnullamento(
long[] groupIds, int[] unitaOperativas, long geologoUserId,
long[] assegnatoreUserIds, java.util.Date dtAssegnazione,
java.util.Date dtApprovazione, java.util.Date dtAnnullamento,
int start, int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence()
.findByGroup_UnitaOperativa_Geologo_Assegnatore_NotDtAssegnazione_DtApprovazione_DtAnnullamento(groupIds,
unitaOperativas, geologoUserId, assegnatoreUserIds, dtAssegnazione,
dtApprovazione, dtAnnullamento, start, end, orderByComparator);
}
/**
* Removes all the parere geologos where groupId = &#63; and unitaOperativa = &#63; and geologoUserId = &#63; and assegnatoreUserId = &#63; and dtAssegnazione &ne; &#63; and dtApprovazione = &#63; and dtAnnullamento = &#63; from the database.
*
* @param groupId the group ID
* @param unitaOperativa the unita operativa
* @param geologoUserId the geologo user ID
* @param assegnatoreUserId the assegnatore user ID
* @param dtAssegnazione the dt assegnazione
* @param dtApprovazione the dt approvazione
* @param dtAnnullamento the dt annullamento
* @throws SystemException if a system exception occurred
*/
public static void removeByGroup_UnitaOperativa_Geologo_Assegnatore_NotDtAssegnazione_DtApprovazione_DtAnnullamento(
long groupId, int unitaOperativa, long geologoUserId,
long assegnatoreUserId, java.util.Date dtAssegnazione,
java.util.Date dtApprovazione, java.util.Date dtAnnullamento)
throws com.liferay.portal.kernel.exception.SystemException {
getPersistence()
.removeByGroup_UnitaOperativa_Geologo_Assegnatore_NotDtAssegnazione_DtApprovazione_DtAnnullamento(groupId,
unitaOperativa, geologoUserId, assegnatoreUserId, dtAssegnazione,
dtApprovazione, dtAnnullamento);
}
/**
* Returns the number of parere geologos where groupId = &#63; and unitaOperativa = &#63; and geologoUserId = &#63; and assegnatoreUserId = &#63; and dtAssegnazione &ne; &#63; and dtApprovazione = &#63; and dtAnnullamento = &#63;.
*
* @param groupId the group ID
* @param unitaOperativa the unita operativa
* @param geologoUserId the geologo user ID
* @param assegnatoreUserId the assegnatore user ID
* @param dtAssegnazione the dt assegnazione
* @param dtApprovazione the dt approvazione
* @param dtAnnullamento the dt annullamento
* @return the number of matching parere geologos
* @throws SystemException if a system exception occurred
*/
public static int countByGroup_UnitaOperativa_Geologo_Assegnatore_NotDtAssegnazione_DtApprovazione_DtAnnullamento(
long groupId, int unitaOperativa, long geologoUserId,
long assegnatoreUserId, java.util.Date dtAssegnazione,
java.util.Date dtApprovazione, java.util.Date dtAnnullamento)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence()
.countByGroup_UnitaOperativa_Geologo_Assegnatore_NotDtAssegnazione_DtApprovazione_DtAnnullamento(groupId,
unitaOperativa, geologoUserId, assegnatoreUserId, dtAssegnazione,
dtApprovazione, dtAnnullamento);
}
/**
* Returns the number of parere geologos where groupId = any &#63; and unitaOperativa = any &#63; and geologoUserId = &#63; and assegnatoreUserId = any &#63; and dtAssegnazione &ne; &#63; and dtApprovazione = &#63; and dtAnnullamento = &#63;.
*
* @param groupIds the group IDs
* @param unitaOperativas the unita operativas
* @param geologoUserId the geologo user ID
* @param assegnatoreUserIds the assegnatore user IDs
* @param dtAssegnazione the dt assegnazione
* @param dtApprovazione the dt approvazione
* @param dtAnnullamento the dt annullamento
* @return the number of matching parere geologos
* @throws SystemException if a system exception occurred
*/
public static int countByGroup_UnitaOperativa_Geologo_Assegnatore_NotDtAssegnazione_DtApprovazione_DtAnnullamento(
long[] groupIds, int[] unitaOperativas, long geologoUserId,
long[] assegnatoreUserIds, java.util.Date dtAssegnazione,
java.util.Date dtApprovazione, java.util.Date dtAnnullamento)
throws com.liferay.portal.kernel.exception.SystemException {
return getPersistence()
.countByGroup_UnitaOperativa_Geologo_Assegnatore_NotDtAssegnazione_DtApprovazione_DtAnnullamento(groupIds,
unitaOperativas, geologoUserId, assegnatoreUserIds, dtAssegnazione,
dtApprovazione, dtAnnullamento);
}
/**
* Returns all the parere geologos where groupId = &#63; and unitaOperativa = &#63; and assegnatoreUserId = &#63; and dtCompilazione &ne; &#63; and dtAssegnazione &ne; &#63; and dtAnnullamento = &#63; and dtApprovazione = &#63;.
*

2
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/sql/indexes.properties

@ -180,6 +180,8 @@ IX_94C87F94=portos_bo_ParereGeo.Group_UnitaOperativa_Assegnatore_NotDtCompilazio
IX_94C87F94=portos_bo_ParereGeo.Group_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione
IX_D0EBB039=portos_bo_ParereGeo.Group_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAssegnazione_DtAnnullamento_DtApprovazione
IX_3A6B6848=portos_bo_ParereGeo.Group_UnitaOperativa_Geologo_Assegnatore_DtCompilazione_DtAnnullamento
IX_9E215E93=portos_bo_ParereGeo.Group_UnitaOperativa_Geologo_Assegnatore_NotDtAssegnazione_DtApprovazione_DtAnnullamento
IX_E45CCE1A=portos_bo_ParereGeo.Group_UnitaOperativa_Geologo_Assegnatore_NotDtCompilazione_DtApprovazione_DtAnnullamento
IX_EFB6D6FA=portos_bo_ParereGeo.IntPraticaId
IX_66765F8E=portos_bo_ParereGeo.IntPraticaId_DtCompilazione_DtAnnullamento
IX_635441BE=portos_bo_ParereGeo.UUID_G

2
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/sql/indexes.sql

@ -172,7 +172,9 @@ create index IX_B4CF0B7E on portos_bo_ParereGeo (groupId, geologoUserId, assegna
create index IX_81AC7104 on portos_bo_ParereGeo (groupId, geologoUserId, dtCompilazione, dtAnnullamento);
create index IX_94C87F94 on portos_bo_ParereGeo (groupId, unitaOperativa, assegnatoreUserId, dtCompilazione, dtAnnullamento, dtApprovazione);
create index IX_D0EBB039 on portos_bo_ParereGeo (groupId, unitaOperativa, assegnatoreUserId, dtCompilazione, dtAssegnazione, dtAnnullamento, dtApprovazione);
create index IX_9E215E93 on portos_bo_ParereGeo (groupId, unitaOperativa, geologoUserId, assegnatoreUserId, dtAssegnazione, dtApprovazione, dtAnnullamento);
create index IX_3A6B6848 on portos_bo_ParereGeo (groupId, unitaOperativa, geologoUserId, assegnatoreUserId, dtCompilazione, dtAnnullamento);
create index IX_E45CCE1A on portos_bo_ParereGeo (groupId, unitaOperativa, geologoUserId, assegnatoreUserId, dtCompilazione, dtApprovazione, dtAnnullamento);
create index IX_EFB6D6FA on portos_bo_ParereGeo (intPraticaId);
create index IX_66765F8E on portos_bo_ParereGeo (intPraticaId, dtCompilazione, dtAnnullamento);
create index IX_24A66C6C on portos_bo_ParereGeo (uuid_);

94
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/src/it/tref/liferay/portos/bo/service/base/ParereGeologoLocalServiceClpInvoker.java

@ -202,25 +202,43 @@ public class ParereGeologoLocalServiceClpInvoker {
_methodParameterTypes189 = new String[] { "com.liferay.portal.model.User" };
_methodName190 = "countByGeologoIdInCorso";
_methodName190 = "findByUserAssegnati";
_methodParameterTypes190 = new String[] { "long" };
_methodParameterTypes190 = new String[] {
"com.liferay.portal.model.User", "int", "int"
};
_methodName191 = "countByUserAssegnati";
_methodParameterTypes191 = new String[] { "com.liferay.portal.model.User" };
_methodName192 = "countByGeologoIdInCorso";
_methodParameterTypes192 = new String[] { "long" };
_methodName193 = "findByGeologoIdInCorso";
_methodName191 = "findByGeologoIdInCorso";
_methodParameterTypes193 = new String[] { "long", "int", "int" };
_methodParameterTypes191 = new String[] { "long", "int", "int" };
_methodName197 = "findWithParereByGeologoId";
_methodName195 = "findWithParereByGeologoId";
_methodParameterTypes197 = new String[] { "long", "int", "int" };
_methodParameterTypes195 = new String[] { "long", "int", "int" };
_methodName198 = "countFindWithParereByGeologoId";
_methodName196 = "countFindWithParereByGeologoId";
_methodParameterTypes198 = new String[] { "long" };
_methodParameterTypes196 = new String[] { "long" };
_methodName199 = "findWithParereByGeologoIdAndApprovazione";
_methodName197 = "getCarichiLavoro";
_methodParameterTypes199 = new String[] { "long", "boolean", "int", "int" };
_methodParameterTypes197 = new String[] { "long", "int" };
_methodName200 = "countFindWithParereByGeologoIdAndApprovazione";
_methodParameterTypes200 = new String[] { "long", "boolean" };
_methodName201 = "getCarichiLavoro";
_methodParameterTypes201 = new String[] { "long", "int" };
}
public Object invokeMethod(String name, String[] parameterTypes,
@ -436,30 +454,56 @@ public class ParereGeologoLocalServiceClpInvoker {
if (_methodName190.equals(name) &&
Arrays.deepEquals(_methodParameterTypes190, parameterTypes)) {
return ParereGeologoLocalServiceUtil.countByGeologoIdInCorso(((Long)arguments[0]).longValue());
return ParereGeologoLocalServiceUtil.findByUserAssegnati((com.liferay.portal.model.User)arguments[0],
((Integer)arguments[1]).intValue(),
((Integer)arguments[2]).intValue());
}
if (_methodName191.equals(name) &&
Arrays.deepEquals(_methodParameterTypes191, parameterTypes)) {
return ParereGeologoLocalServiceUtil.countByUserAssegnati((com.liferay.portal.model.User)arguments[0]);
}
if (_methodName192.equals(name) &&
Arrays.deepEquals(_methodParameterTypes192, parameterTypes)) {
return ParereGeologoLocalServiceUtil.countByGeologoIdInCorso(((Long)arguments[0]).longValue());
}
if (_methodName193.equals(name) &&
Arrays.deepEquals(_methodParameterTypes193, parameterTypes)) {
return ParereGeologoLocalServiceUtil.findByGeologoIdInCorso(((Long)arguments[0]).longValue(),
((Integer)arguments[1]).intValue(),
((Integer)arguments[2]).intValue());
}
if (_methodName195.equals(name) &&
Arrays.deepEquals(_methodParameterTypes195, parameterTypes)) {
if (_methodName197.equals(name) &&
Arrays.deepEquals(_methodParameterTypes197, parameterTypes)) {
return ParereGeologoLocalServiceUtil.findWithParereByGeologoId(((Long)arguments[0]).longValue(),
((Integer)arguments[1]).intValue(),
((Integer)arguments[2]).intValue());
}
if (_methodName196.equals(name) &&
Arrays.deepEquals(_methodParameterTypes196, parameterTypes)) {
if (_methodName198.equals(name) &&
Arrays.deepEquals(_methodParameterTypes198, parameterTypes)) {
return ParereGeologoLocalServiceUtil.countFindWithParereByGeologoId(((Long)arguments[0]).longValue());
}
if (_methodName197.equals(name) &&
Arrays.deepEquals(_methodParameterTypes197, parameterTypes)) {
if (_methodName199.equals(name) &&
Arrays.deepEquals(_methodParameterTypes199, parameterTypes)) {
return ParereGeologoLocalServiceUtil.findWithParereByGeologoIdAndApprovazione(((Long)arguments[0]).longValue(),
((Boolean)arguments[1]).booleanValue(),
((Integer)arguments[2]).intValue(),
((Integer)arguments[3]).intValue());
}
if (_methodName200.equals(name) &&
Arrays.deepEquals(_methodParameterTypes200, parameterTypes)) {
return ParereGeologoLocalServiceUtil.countFindWithParereByGeologoIdAndApprovazione(((Long)arguments[0]).longValue(),
((Boolean)arguments[1]).booleanValue());
}
if (_methodName201.equals(name) &&
Arrays.deepEquals(_methodParameterTypes201, parameterTypes)) {
return ParereGeologoLocalServiceUtil.getCarichiLavoro(((Long)arguments[0]).longValue(),
((Integer)arguments[1]).intValue());
}
@ -543,10 +587,18 @@ public class ParereGeologoLocalServiceClpInvoker {
private String[] _methodParameterTypes190;
private String _methodName191;
private String[] _methodParameterTypes191;
private String _methodName195;
private String[] _methodParameterTypes195;
private String _methodName196;
private String[] _methodParameterTypes196;
private String _methodName192;
private String[] _methodParameterTypes192;
private String _methodName193;
private String[] _methodParameterTypes193;
private String _methodName197;
private String[] _methodParameterTypes197;
private String _methodName198;
private String[] _methodParameterTypes198;
private String _methodName199;
private String[] _methodParameterTypes199;
private String _methodName200;
private String[] _methodParameterTypes200;
private String _methodName201;
private String[] _methodParameterTypes201;
}

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

@ -43,6 +43,7 @@ import com.liferay.portal.kernel.util.StringPool;
import com.liferay.portal.kernel.util.Validator;
import com.liferay.portal.model.User;
import com.liferay.portal.service.ServiceContext;
import com.liferay.portal.service.ServiceContextFactory;
import com.liferay.portal.util.PortalUtil;
import com.liferay.portlet.documentlibrary.NoSuchFileEntryException;
import com.liferay.portlet.documentlibrary.NoSuchFolderException;
@ -111,9 +112,13 @@ public class ParereGeologoLocalServiceImpl extends ParereGeologoLocalServiceBase
ParereGeologo parere = getParereGeologo(parereId);
User geologo = userLocalService.getUser(serviceContext.getUserId());
if (Validator.isNotNull(geologo) && serviceContext.getUserId() == geologo.getUserId()) {
Date now = new Date();
Date now = serviceContext.getModifiedDate(new Date());
parere.setModifiedDate(serviceContext.getModifiedDate());
parere.setDtCompilazione(now);
if(Validator.isNull(parere.getUnitaOperativa())){
parere.setApprovatoreUserId(serviceContext.getUserId());
parere.setDtApprovazione(now);
}
parere.setParere(testo);
if (Validator.isNotNull(content) && Validator.isNotNull(fileName)) {
long fileEntryId = 0L;
@ -246,6 +251,23 @@ public class ParereGeologoLocalServiceImpl extends ParereGeologoLocalServiceBase
new long[] { 0L, user.getUserId() }, null, null);
}
@Override
public List<ParereGeologo> findByUserAssegnati(User user, int start, int end) throws SystemException {
return parereGeologoPersistence.findByGroup_UnitaOperativa_Geologo_Assegnatore_NotDtAssegnazione_DtApprovazione_DtAnnullamento(
UserUtil.getGroupIds(user), UserUtil.getUnitaOperativeArray(user), 0L,
new long[] { 0L, user.getUserId() }, null, null, null, start, end,
OrderByComparatorFactoryUtil.create(ParereGeologoImpl.TABLE_NAME, "dtRichista", false));
}
@Override
public int countByUserAssegnati(User user) throws SystemException {
return parereGeologoPersistence.countByGroup_UnitaOperativa_Geologo_Assegnatore_NotDtAssegnazione_DtApprovazione_DtAnnullamento(
UserUtil.getGroupIds(user), UserUtil.getUnitaOperativeArray(user), 0L,
new long[] { 0L, user.getUserId() }, null, null, null);
}
@Override
public int countByGeologoIdInCorso(long geologoUserId) throws SystemException {
@ -279,16 +301,19 @@ public class ParereGeologoLocalServiceImpl extends ParereGeologoLocalServiceBase
private DynamicQuery dqInCorso() {
DynamicQuery query = dynamicQuery();
Disjunction or = RestrictionsFactoryUtil.disjunction();
// Disjunction or = RestrictionsFactoryUtil.disjunction();
Junction and = RestrictionsFactoryUtil.conjunction();
Junction and2 = RestrictionsFactoryUtil.conjunction();
and.add(RestrictionsFactoryUtil.eq("assegnatoreUserId", 0L));
and.add(RestrictionsFactoryUtil.isNull("dtCompilazione"));
or.add(and);
// or.add(and);
and2.add(and);
and = RestrictionsFactoryUtil.conjunction();
and.add(RestrictionsFactoryUtil.ne("assegnatoreUserId", 0L));
and.add(RestrictionsFactoryUtil.isNull("dtApprovazione"));
or.add(and);
query.add(or);
// or.add(and);
and2.add(and);
query.add(and2);
query.add(RestrictionsFactoryUtil.isNull("dtAnnullamento"));
return query;
}
@ -313,6 +338,36 @@ public class ParereGeologoLocalServiceImpl extends ParereGeologoLocalServiceBase
return (int) parereGeologoPersistence.countWithDynamicQuery(dynamicQuery);
}
@SuppressWarnings("unchecked")
@Override
public List<ParereGeologo> findWithParereByGeologoIdAndApprovazione(long geologoUserId, boolean approvazione, int start, int end) throws SystemException {
DynamicQuery dynamicQuery = dynamicQuery();
dynamicQuery.add(RestrictionsFactoryUtil.eq("geologoUserId", geologoUserId));
dynamicQuery.add(RestrictionsFactoryUtil.ne("parere", StringPool.BLANK));
if(approvazione){
dynamicQuery.add(RestrictionsFactoryUtil.ne("dtApprovazione", null));
} else {
dynamicQuery.add(RestrictionsFactoryUtil.eq("dtApprovazione", null));
}
dynamicQuery.addOrder(OrderFactoryUtil.desc("createDate"));
return dynamicQuery(dynamicQuery, start, end);
}
@Override
public int countFindWithParereByGeologoIdAndApprovazione(long geologoUserId, boolean approvazione) throws SystemException {
DynamicQuery dynamicQuery = dynamicQuery();
dynamicQuery.add(RestrictionsFactoryUtil.eq("geologoUserId", geologoUserId));
dynamicQuery.add(RestrictionsFactoryUtil.ne("parere", StringPool.BLANK));
if(approvazione){
dynamicQuery.add(RestrictionsFactoryUtil.ne("dtApprovazione", null));
} else {
dynamicQuery.add(RestrictionsFactoryUtil.eq("dtApprovazione", null));
}
return (int) parereGeologoPersistence.countWithDynamicQuery(dynamicQuery);
}
@Override
@SuppressWarnings("unchecked")
public Map<String, CarichiLavoroBean> getCarichiLavoro(long controlloPraticaId, int giorni) throws PortalException,

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

File diff soppresso perché troppo grande Load Diff

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.number=3649
build.date=1680100687665
build.number=3654
build.date=1681484891668
build.auto.upgrade=true
##

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

File binario non mostrato.

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

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/lib/portos-mail-manager-shared.jar

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/WEB-INF/lib/portos-report-shared.jar

File binario non mostrato.

22
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/pareregeologo/init.jsp

@ -8,6 +8,9 @@ String tabsValues = "1,2";
int countDaEsprimere = ParereGeologoLocalServiceUtil.countByGeologoIdInCorso(user.getUserId());
int countDaAssegnare = 0;
int countDaApprovare = 0;
int countAssegnati = 0;
int countApprovati = 0;
int countForniti = 0;
{
StringBuilder sb = new StringBuilder();
sb.append("Pareri da fornire");
@ -15,18 +18,35 @@ int countDaApprovare = 0;
sb.append(" <b>(").append(countDaEsprimere).append(")</b>");
}
sb.append(",Pareri forniti");
countForniti = ParereGeologoLocalServiceUtil.countFindWithParereByGeologoId(user.getUserId());
if (countForniti > 0) {
sb.append(" <b>(").append(countForniti).append(")</b>");
}
// FIXME aggiungere numerino per i parerei forniti
if (UserUtil.isGeologo(user)) {
tabsValues = "1,2,3,4";
tabsValues = "1,2,3,4,5,6";
sb.append(",Pareri da assegnare");
countDaAssegnare = ParereGeologoLocalServiceUtil.countByUserDaAssegnare(user);
if (countDaAssegnare > 0) {
sb.append(" <b>(").append(countDaAssegnare).append(")</b>");
}
// FIXME completare implementando il service per countByUserAssegnati
sb.append(",Pareri assegnati");
countAssegnati = ParereGeologoLocalServiceUtil.countByUserAssegnati(user);
if (countAssegnati > 0) {
sb.append(" <b>(").append(countAssegnati).append(")</b>");
}
sb.append(",Pareri da approvare");
countDaApprovare = ParereGeologoLocalServiceUtil.countByUserDaApprovare(user);
if (countDaApprovare > 0) {
sb.append(" <b>(").append(countDaApprovare).append(")</b>");
}
sb.append(",Pareri da approvare");
// FIXME completare implementando il service per countByUserApprovati
countApprovati = ParereGeologoLocalServiceUtil.countFindWithParereByGeologoIdAndApprovazione(user.getUserId(), true);
if (countApprovati > 0) {
sb.append(" <b>(").append(countApprovati).append(")</b>");
}
}
tabsNames = sb.toString();
}

64
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/pareregeologo/pareriapprovati.jsp

@ -0,0 +1,64 @@
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@page import="com.liferay.portal.kernel.util.HtmlUtil"%>
<%@page import="com.liferay.portal.service.UserLocalServiceUtil"%>
<%@page import="it.mwg.sismica.bo.shared.util.Generics"%>
<%@page import="it.mwg.sismica.bo.shared.util.UserUtil"%>
<%@page import="it.tref.liferay.portos.bo.model.DettPratica"%>
<%@page import="it.tref.liferay.portos.bo.model.IntPratica"%>
<%@page import="it.tref.liferay.portos.bo.model.ParereGeologo"%>
<%@page import="it.tref.liferay.portos.bo.service.DettPraticaLocalServiceUtil"%>
<%@page import="it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil"%>
<%@page import="it.tref.liferay.portos.bo.service.ParereGeologoLocalServiceUtil"%>
<%@include file="/html/pareregeologo/init.jsp"%>
<style>
.width-40 {
width:40%;
}
.width-15 {
width:15%;
}
</style>
<liferay-portlet:renderURL varImpl="searchURL">
<liferay-portlet:param name="tabs1" value="6" />
</liferay-portlet:renderURL>
<liferay-ui:search-container delta="20" emptyResultsMessage="no-entries-were-found" iteratorURL="<%= searchURL %>" >
<%
List<ParereGeologo> lista = ParereGeologoLocalServiceUtil.findWithParereByGeologoIdAndApprovazione(user.getUserId(), true, searchContainer.getStart(),
searchContainer.getEnd());
searchContainer.setTotal(countApprovati);
pageContext.setAttribute("results", lista);
pageContext.setAttribute("total", countApprovati);
%>
<liferay-ui:search-container-results results="<%= lista %>" />
<liferay-ui:search-container-row className="it.tref.liferay.portos.bo.model.ParereGeologo" modelVar="parere">
<%
DettPratica dettPratica = DettPraticaLocalServiceUtil.fetchDettPratica(parere.getDettPraticaId());
IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(parere.getIntPraticaId());
%>
<liferay-ui:search-container-column-text name="progetto" value="<%= dettPratica.getMiddleDescription() %>" />
<liferay-ui:search-container-column-text name="Data di creazione"
value="<%= dateFormatDateTime.format(parere.getCreateDate()) %>" />
<liferay-ui:search-container-column-text name="Richiedente"
value="<%= UserLocalServiceUtil.getUser(parere.getUserId()).getFullName() %>" />
<liferay-ui:search-container-column-text name="note-richiedente"
value="<%= HtmlUtil.escape(parere.getNoteRichiedente()) %>" />
<liferay-ui:search-container-column-text name="note-assegnatore"
value="<%= HtmlUtil.escape(parere.getNoteAssegnatore()) %>" />
<liferay-ui:search-container-column-text name="note-approvatore"
value="<%= HtmlUtil.escape(parere.getNoteApprovatore()) %>" />
<liferay-ui:search-container-column-text name="data-approvazione"
value="<%= Validator.isNull(parere.getDtApprovazione()) ? StringPool.MINUS : dateFormatDate.format(parere.getDtApprovazione()) %>" />
<liferay-ui:search-container-column-text name="U.O." cssClass="text-center"
value="<%= parere.getUnitaOperativa() == 0 ? StringPool.BLANK
: String.valueOf(parere.getUnitaOperativa()) %>" />
<liferay-ui:search-container-column-text name="Assegnatore"
value='<%= parere.getAssegnatoreUserId() == 0
? "U.O. " + parere.getUnitaOperativa() + " - tutti gli assegnatori"
: Generics.capitalizeFull(UserLocalServiceUtil.getUser(parere.getAssegnatoreUserId())
.getFullName()) %>' />
<liferay-ui:search-container-column-text name="Parere" value="<%= HtmlUtil.escape(parere.getParere()) %>" />
<liferay-ui:search-container-column-text name="Localizzazione" value="<%= intPratica.getIndirizzo() %>" />
<liferay-ui:search-container-column-jsp path="/html/pareregeologo/actions.jsp" align="right" />
</liferay-ui:search-container-row>
<liferay-ui:search-iterator paginate="true" />
</liferay-ui:search-container>

51
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/pareregeologo/pareriassegnati.jsp

@ -0,0 +1,51 @@
<%@page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@page import="com.liferay.portal.kernel.util.HtmlUtil"%>
<%@page import="com.liferay.portal.service.UserLocalServiceUtil"%>
<%@page import="it.mwg.sismica.bo.shared.util.Generics"%>
<%@page import="it.mwg.sismica.bo.shared.util.UserUtil"%>
<%@page import="it.tref.liferay.portos.bo.model.DettPratica"%>
<%@page import="it.tref.liferay.portos.bo.model.IntPratica"%>
<%@page import="it.tref.liferay.portos.bo.model.ParereGeologo"%>
<%@page import="it.tref.liferay.portos.bo.service.DettPraticaLocalServiceUtil"%>
<%@page import="it.tref.liferay.portos.bo.service.IntPraticaLocalServiceUtil"%>
<%@page import="it.tref.liferay.portos.bo.service.ParereGeologoLocalServiceUtil"%>
<%@include file="/html/pareregeologo/init.jsp"%>
<liferay-portlet:renderURL varImpl="searchURL">
<liferay-portlet:param name="tabs1" value="4" />
</liferay-portlet:renderURL>
<liferay-ui:search-container delta="20" emptyResultsMessage="no-entries-were-found" iteratorURL="<%= searchURL %>" >
<%
List<ParereGeologo> lista = ParereGeologoLocalServiceUtil.findByUserAssegnati(user, searchContainer.getStart(),
searchContainer.getEnd());
searchContainer.setTotal(countAssegnati);
pageContext.setAttribute("results", lista);
pageContext.setAttribute("total", countAssegnati);
%>
<liferay-ui:search-container-results results="<%= lista %>" />
<liferay-ui:search-container-row className="it.tref.liferay.portos.bo.model.ParereGeologo" modelVar="parere">
<%
DettPratica dettPratica = DettPraticaLocalServiceUtil.fetchDettPratica(parere.getDettPraticaId());
IntPratica intPratica = IntPraticaLocalServiceUtil.getIntPratica(parere.getIntPraticaId());
%>
<liferay-ui:search-container-column-text name="progetto" value="<%= dettPratica.getMiddleDescription() %>" />
<liferay-ui:search-container-column-text name="Data di creazione"
value="<%= dateFormatDateTime.format(parere.getCreateDate()) %>" />
<liferay-ui:search-container-column-text name="Richiedente"
value="<%= UserLocalServiceUtil.getUser(parere.getUserId()).getFullName() %>" />
<liferay-ui:search-container-column-text name="note-richiedente"
value="<%= HtmlUtil.escape(parere.getNoteRichiedente()) %>" />
<liferay-ui:search-container-column-text name="data-assegnazione"
value="<%= Validator.isNull(parere.getDtAssegnazione()) ? StringPool.MINUS : dateFormatDate.format(parere.getDtAssegnazione()) %>" />
<liferay-ui:search-container-column-text name="U.O." cssClass="text-center"
value="<%= parere.getUnitaOperativa() == 0 ? StringPool.BLANK
: String.valueOf(parere.getUnitaOperativa()) %>" />
<liferay-ui:search-container-column-text name="Assegnatore"
value='<%= parere.getAssegnatoreUserId() == 0
? "U.O. " + parere.getUnitaOperativa() + " - tutti gli assegnatori"
: Generics.capitalizeFull(UserLocalServiceUtil.getUser(parere.getAssegnatoreUserId())
.getFullName()) %>' />
<liferay-ui:search-container-column-text name="Localizzazione" value="<%= intPratica.getIndirizzo() %>" />
<liferay-ui:search-container-column-jsp path="/html/pareregeologo/actions.jsp" align="right" />
</liferay-ui:search-container-row>
<liferay-ui:search-iterator paginate="true" />
</liferay-ui:search-container>

2
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/pareregeologo/pareridaapprovare.jsp

@ -19,7 +19,7 @@
}
</style>
<liferay-portlet:renderURL varImpl="searchURL">
<liferay-portlet:param name="tabs1" value="4" />
<liferay-portlet:param name="tabs1" value="5" />
</liferay-portlet:renderURL>
<liferay-ui:search-container delta="20" emptyResultsMessage="no-entries-were-found" iteratorURL="<%= searchURL %>" >
<%

6
liferay-plugins-sdk-6.2/portlets/portos-fe-portlet/docroot/html/pareregeologo/view.jsp

@ -32,6 +32,12 @@ PortletURL portletURL = renderResponse.createRenderURL();
<jsp:include page="/html/pareregeologo/pareridaassegnare.jsp" />
</c:if>
<c:if test="<%= tabs1 == 4 %>">
<jsp:include page="/html/pareregeologo/pareriassegnati.jsp" />
</c:if>
<c:if test="<%= tabs1 == 5 %>">
<jsp:include page="/html/pareregeologo/pareridaapprovare.jsp" />
</c:if>
<c:if test="<%= tabs1 == 6 %>">
<jsp:include page="/html/pareregeologo/pareriapprovati.jsp" />
</c:if>
</div>

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

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/webs/portos-kaleo-web/docroot/WEB-INF/lib/portos-bo-shared.jar

File binario non mostrato.

BIN
liferay-plugins-sdk-6.2/webs/portos-kaleo-web/docroot/WEB-INF/lib/portos-kaleo-shared.jar

File binario non mostrato.

10
liferay-plugins-sdk-6.2/webs/portos-kaleo-web/docroot/WEB-INF/src/it/tref/liferay/portos/kaleo/hook/struts/EditWorkflowTaskAction.java

@ -411,7 +411,7 @@ public class EditWorkflowTaskAction extends BaseStrutsPortletAction {
boolean canRegistraEsito = true;
for (ParereGeologo parere : ParereGeologoLocalServiceUtil.findByIntPraticaId(intPraticaId, QueryUtil.ALL_POS,
QueryUtil.ALL_POS)) {
if (Validator.isNull(parere.getDtCompilazione()) && Validator.isNull(parere.getDtAnnullamento())) {
if (isParereDaCompilare(parere) || isParereDaApprovare(parere)) {
canRegistraEsito = false;
break;
}
@ -421,6 +421,14 @@ public class EditWorkflowTaskAction extends BaseStrutsPortletAction {
renderResponse);
}
private boolean isParereDaApprovare(Parere parere){
return parere.getUnitaOperativa() != 0 && Validator.isNull(parere.getDtApprovazione) && Validator.isNull(parere.getDtAnnullamento());
}
private boolean isParereDaCompilare(Parere parere){
return Validator.isNull(parere.getDtCompilazione()) && Validator.isNull(parere.getDtAnnullamento());
}
private String getTransitionValue(long taskInstanceId, String transitionName) throws PortalException,
SystemException {

Caricamento…
Annulla
Salva