+ * Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
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 orderByComparator
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.
+ *
+ * Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
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 orderByComparator
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.
+ *
null
)
+ * @return the ordered range of matching parere geologos
+ * @throws SystemException if a system exception occurred
+ */
+ public java.util.Listnull
)
+ * @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_DtCompilazione_DtAnnullamento_First(
+ long groupId, int unitaOperativa, long geologoUserId,
+ long assegnatoreUserId, java.util.Date dtCompilazione,
+ 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 = ? and unitaOperativa = ? and geologoUserId = ? and assegnatoreUserId = ? and dtCompilazione = ? and dtAnnullamento = ?.
+ *
+ * @param groupId the group ID
+ * @param unitaOperativa the unita operativa
+ * @param geologoUserId the geologo user ID
+ * @param assegnatoreUserId the assegnatore user ID
+ * @param dtCompilazione the dt compilazione
+ * @param dtAnnullamento the dt annullamento
+ * @param orderByComparator the comparator to order the set by (optionally null
)
+ * @return the first matching parere geologo, or null
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_DtCompilazione_DtAnnullamento_First(
+ long groupId, int unitaOperativa, long geologoUserId,
+ long assegnatoreUserId, java.util.Date dtCompilazione,
+ 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 = ? and unitaOperativa = ? and geologoUserId = ? and assegnatoreUserId = ? and dtCompilazione = ? and dtAnnullamento = ?.
+ *
+ * @param groupId the group ID
+ * @param unitaOperativa the unita operativa
+ * @param geologoUserId the geologo user ID
+ * @param assegnatoreUserId the assegnatore user ID
+ * @param dtCompilazione the dt compilazione
+ * @param dtAnnullamento the dt annullamento
+ * @param orderByComparator the comparator to order the set by (optionally null
)
+ * @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_DtCompilazione_DtAnnullamento_Last(
+ long groupId, int unitaOperativa, long geologoUserId,
+ long assegnatoreUserId, java.util.Date dtCompilazione,
+ 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 = ? and unitaOperativa = ? and geologoUserId = ? and assegnatoreUserId = ? and dtCompilazione = ? and dtAnnullamento = ?.
+ *
+ * @param groupId the group ID
+ * @param unitaOperativa the unita operativa
+ * @param geologoUserId the geologo user ID
+ * @param assegnatoreUserId the assegnatore user ID
+ * @param dtCompilazione the dt compilazione
+ * @param dtAnnullamento the dt annullamento
+ * @param orderByComparator the comparator to order the set by (optionally null
)
+ * @return the last matching parere geologo, or null
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_DtCompilazione_DtAnnullamento_Last(
+ long groupId, int unitaOperativa, long geologoUserId,
+ long assegnatoreUserId, java.util.Date dtCompilazione,
+ 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 = ? and unitaOperativa = ? and geologoUserId = ? and assegnatoreUserId = ? and dtCompilazione = ? and dtAnnullamento = ?.
+ *
+ * @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 dtCompilazione the dt compilazione
+ * @param dtAnnullamento the dt annullamento
+ * @param orderByComparator the comparator to order the set by (optionally null
)
+ * @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_DtCompilazione_DtAnnullamento_PrevAndNext(
+ long parereGeologoId, long groupId, int unitaOperativa,
+ long geologoUserId, long assegnatoreUserId,
+ java.util.Date dtCompilazione, 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 ? and unitaOperativa = any ? and geologoUserId = ? and assegnatoreUserId = any ? and dtCompilazione = ? and dtAnnullamento = ?.
+ *
+ *
+ * Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
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 orderByComparator
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.
+ *
+ * Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
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 orderByComparator
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.
+ *
+ * Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
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 orderByComparator
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.
+ *
null
)
+ * @return the ordered range of matching parere geologos
+ * @throws SystemException if a system exception occurred
+ */
+ public java.util.List
+ * Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
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 orderByComparator
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.
+ *
+ * Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
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 orderByComparator
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.
+ *
null
)
+ * @return the ordered range of matching parere geologos
+ * @throws SystemException if a system exception occurred
+ */
+ public java.util.Listnull
)
+ * @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_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione_First(
+ long groupId, int unitaOperativa, long assegnatoreUserId,
+ java.util.Date dtCompilazione, java.util.Date dtAnnullamento,
+ java.util.Date dtApprovazione,
+ 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 = ? and unitaOperativa = ? and assegnatoreUserId = ? and dtCompilazione ≠ ? and dtAnnullamento ≠ ? and dtApprovazione = ?.
+ *
+ * @param groupId the group ID
+ * @param unitaOperativa the unita operativa
+ * @param assegnatoreUserId the assegnatore user ID
+ * @param dtCompilazione the dt compilazione
+ * @param dtAnnullamento the dt annullamento
+ * @param dtApprovazione the dt approvazione
+ * @param orderByComparator the comparator to order the set by (optionally null
)
+ * @return the first matching parere geologo, or null
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_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione_First(
+ long groupId, int unitaOperativa, long assegnatoreUserId,
+ java.util.Date dtCompilazione, java.util.Date dtAnnullamento,
+ java.util.Date dtApprovazione,
+ 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 = ? and unitaOperativa = ? and assegnatoreUserId = ? and dtCompilazione ≠ ? and dtAnnullamento ≠ ? and dtApprovazione = ?.
+ *
+ * @param groupId the group ID
+ * @param unitaOperativa the unita operativa
+ * @param assegnatoreUserId the assegnatore user ID
+ * @param dtCompilazione the dt compilazione
+ * @param dtAnnullamento the dt annullamento
+ * @param dtApprovazione the dt approvazione
+ * @param orderByComparator the comparator to order the set by (optionally null
)
+ * @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_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione_Last(
+ long groupId, int unitaOperativa, long assegnatoreUserId,
+ java.util.Date dtCompilazione, java.util.Date dtAnnullamento,
+ java.util.Date dtApprovazione,
+ 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 = ? and unitaOperativa = ? and assegnatoreUserId = ? and dtCompilazione ≠ ? and dtAnnullamento ≠ ? and dtApprovazione = ?.
+ *
+ * @param groupId the group ID
+ * @param unitaOperativa the unita operativa
+ * @param assegnatoreUserId the assegnatore user ID
+ * @param dtCompilazione the dt compilazione
+ * @param dtAnnullamento the dt annullamento
+ * @param dtApprovazione the dt approvazione
+ * @param orderByComparator the comparator to order the set by (optionally null
)
+ * @return the last matching parere geologo, or null
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_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione_Last(
+ long groupId, int unitaOperativa, long assegnatoreUserId,
+ java.util.Date dtCompilazione, java.util.Date dtAnnullamento,
+ java.util.Date dtApprovazione,
+ 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 = ? and unitaOperativa = ? and assegnatoreUserId = ? and dtCompilazione ≠ ? and dtAnnullamento ≠ ? and dtApprovazione = ?.
+ *
+ * @param parereGeologoId the primary key of the current parere geologo
+ * @param groupId the group ID
+ * @param unitaOperativa the unita operativa
+ * @param assegnatoreUserId the assegnatore user ID
+ * @param dtCompilazione the dt compilazione
+ * @param dtAnnullamento the dt annullamento
+ * @param dtApprovazione the dt approvazione
+ * @param orderByComparator the comparator to order the set by (optionally null
)
+ * @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_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione_PrevAndNext(
+ long parereGeologoId, long groupId, int unitaOperativa,
+ long assegnatoreUserId, java.util.Date dtCompilazione,
+ java.util.Date dtAnnullamento, java.util.Date dtApprovazione,
+ 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 ? and unitaOperativa = any ? and assegnatoreUserId = any ? and dtCompilazione ≠ ? and dtAnnullamento ≠ ? and dtApprovazione = ?.
+ *
+ *
+ * Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
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 orderByComparator
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.
+ *
+ * Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
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 orderByComparator
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.
+ *
+ * Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
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 orderByComparator
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.
+ *
null
)
+ * @return the ordered range of matching parere geologos
+ * @throws SystemException if a system exception occurred
+ */
+ public java.util.List
+ * Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
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 orderByComparator
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.
+ *
+ * Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
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 orderByComparator
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.
+ *
null
)
+ * @return the ordered range of matching parere geologos
+ * @throws SystemException if a system exception occurred
+ */
+ public static java.util.Listnull
)
+ * @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_DtCompilazione_DtAnnullamento_First(
+ long groupId, int unitaOperativa, long geologoUserId,
+ long assegnatoreUserId, java.util.Date dtCompilazione,
+ 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_DtCompilazione_DtAnnullamento_First(groupId,
+ unitaOperativa, geologoUserId, assegnatoreUserId, dtCompilazione,
+ dtAnnullamento, orderByComparator);
+ }
+
+ /**
+ * Returns the first parere geologo in the ordered set where groupId = ? and unitaOperativa = ? and geologoUserId = ? and assegnatoreUserId = ? and dtCompilazione = ? and dtAnnullamento = ?.
+ *
+ * @param groupId the group ID
+ * @param unitaOperativa the unita operativa
+ * @param geologoUserId the geologo user ID
+ * @param assegnatoreUserId the assegnatore user ID
+ * @param dtCompilazione the dt compilazione
+ * @param dtAnnullamento the dt annullamento
+ * @param orderByComparator the comparator to order the set by (optionally null
)
+ * @return the first matching parere geologo, or null
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_DtCompilazione_DtAnnullamento_First(
+ long groupId, int unitaOperativa, long geologoUserId,
+ long assegnatoreUserId, java.util.Date dtCompilazione,
+ java.util.Date dtAnnullamento,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return getPersistence()
+ .fetchByGroup_UnitaOperativa_Geologo_Assegnatore_DtCompilazione_DtAnnullamento_First(groupId,
+ unitaOperativa, geologoUserId, assegnatoreUserId, dtCompilazione,
+ dtAnnullamento, orderByComparator);
+ }
+
+ /**
+ * Returns the last parere geologo in the ordered set where groupId = ? and unitaOperativa = ? and geologoUserId = ? and assegnatoreUserId = ? and dtCompilazione = ? and dtAnnullamento = ?.
+ *
+ * @param groupId the group ID
+ * @param unitaOperativa the unita operativa
+ * @param geologoUserId the geologo user ID
+ * @param assegnatoreUserId the assegnatore user ID
+ * @param dtCompilazione the dt compilazione
+ * @param dtAnnullamento the dt annullamento
+ * @param orderByComparator the comparator to order the set by (optionally null
)
+ * @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_DtCompilazione_DtAnnullamento_Last(
+ long groupId, int unitaOperativa, long geologoUserId,
+ long assegnatoreUserId, java.util.Date dtCompilazione,
+ 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_DtCompilazione_DtAnnullamento_Last(groupId,
+ unitaOperativa, geologoUserId, assegnatoreUserId, dtCompilazione,
+ dtAnnullamento, orderByComparator);
+ }
+
+ /**
+ * Returns the last parere geologo in the ordered set where groupId = ? and unitaOperativa = ? and geologoUserId = ? and assegnatoreUserId = ? and dtCompilazione = ? and dtAnnullamento = ?.
+ *
+ * @param groupId the group ID
+ * @param unitaOperativa the unita operativa
+ * @param geologoUserId the geologo user ID
+ * @param assegnatoreUserId the assegnatore user ID
+ * @param dtCompilazione the dt compilazione
+ * @param dtAnnullamento the dt annullamento
+ * @param orderByComparator the comparator to order the set by (optionally null
)
+ * @return the last matching parere geologo, or null
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_DtCompilazione_DtAnnullamento_Last(
+ long groupId, int unitaOperativa, long geologoUserId,
+ long assegnatoreUserId, java.util.Date dtCompilazione,
+ java.util.Date dtAnnullamento,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return getPersistence()
+ .fetchByGroup_UnitaOperativa_Geologo_Assegnatore_DtCompilazione_DtAnnullamento_Last(groupId,
+ unitaOperativa, geologoUserId, assegnatoreUserId, dtCompilazione,
+ dtAnnullamento, orderByComparator);
+ }
+
+ /**
+ * Returns the parere geologos before and after the current parere geologo in the ordered set where groupId = ? and unitaOperativa = ? and geologoUserId = ? and assegnatoreUserId = ? and dtCompilazione = ? and dtAnnullamento = ?.
+ *
+ * @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 dtCompilazione the dt compilazione
+ * @param dtAnnullamento the dt annullamento
+ * @param orderByComparator the comparator to order the set by (optionally null
)
+ * @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_DtCompilazione_DtAnnullamento_PrevAndNext(
+ long parereGeologoId, long groupId, int unitaOperativa,
+ long geologoUserId, long assegnatoreUserId,
+ java.util.Date dtCompilazione, 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_DtCompilazione_DtAnnullamento_PrevAndNext(parereGeologoId,
+ groupId, unitaOperativa, geologoUserId, assegnatoreUserId,
+ dtCompilazione, dtAnnullamento, orderByComparator);
+ }
+
+ /**
+ * Returns all the parere geologos where groupId = any ? and unitaOperativa = any ? and geologoUserId = ? and assegnatoreUserId = any ? and dtCompilazione = ? and dtAnnullamento = ?.
+ *
+ *
+ * Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
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 orderByComparator
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.
+ *
+ * Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
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 orderByComparator
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.
+ *
+ * Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
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 orderByComparator
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.
+ *
null
)
+ * @return the ordered range of matching parere geologos
+ * @throws SystemException if a system exception occurred
+ */
+ public static java.util.List
+ * Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
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 orderByComparator
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.
+ *
+ * Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
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 orderByComparator
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.
+ *
null
)
+ * @return the ordered range of matching parere geologos
+ * @throws SystemException if a system exception occurred
+ */
+ public static java.util.Listnull
)
+ * @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_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione_First(
+ long groupId, int unitaOperativa, long assegnatoreUserId,
+ java.util.Date dtCompilazione, java.util.Date dtAnnullamento,
+ java.util.Date dtApprovazione,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException,
+ it.tref.liferay.portos.bo.NoSuchParereGeologoException {
+ return getPersistence()
+ .findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione_First(groupId,
+ unitaOperativa, assegnatoreUserId, dtCompilazione, dtAnnullamento,
+ dtApprovazione, orderByComparator);
+ }
+
+ /**
+ * Returns the first parere geologo in the ordered set where groupId = ? and unitaOperativa = ? and assegnatoreUserId = ? and dtCompilazione ≠ ? and dtAnnullamento ≠ ? and dtApprovazione = ?.
+ *
+ * @param groupId the group ID
+ * @param unitaOperativa the unita operativa
+ * @param assegnatoreUserId the assegnatore user ID
+ * @param dtCompilazione the dt compilazione
+ * @param dtAnnullamento the dt annullamento
+ * @param dtApprovazione the dt approvazione
+ * @param orderByComparator the comparator to order the set by (optionally null
)
+ * @return the first matching parere geologo, or null
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_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione_First(
+ long groupId, int unitaOperativa, long assegnatoreUserId,
+ java.util.Date dtCompilazione, java.util.Date dtAnnullamento,
+ java.util.Date dtApprovazione,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return getPersistence()
+ .fetchByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione_First(groupId,
+ unitaOperativa, assegnatoreUserId, dtCompilazione, dtAnnullamento,
+ dtApprovazione, orderByComparator);
+ }
+
+ /**
+ * Returns the last parere geologo in the ordered set where groupId = ? and unitaOperativa = ? and assegnatoreUserId = ? and dtCompilazione ≠ ? and dtAnnullamento ≠ ? and dtApprovazione = ?.
+ *
+ * @param groupId the group ID
+ * @param unitaOperativa the unita operativa
+ * @param assegnatoreUserId the assegnatore user ID
+ * @param dtCompilazione the dt compilazione
+ * @param dtAnnullamento the dt annullamento
+ * @param dtApprovazione the dt approvazione
+ * @param orderByComparator the comparator to order the set by (optionally null
)
+ * @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_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione_Last(
+ long groupId, int unitaOperativa, long assegnatoreUserId,
+ java.util.Date dtCompilazione, java.util.Date dtAnnullamento,
+ java.util.Date dtApprovazione,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException,
+ it.tref.liferay.portos.bo.NoSuchParereGeologoException {
+ return getPersistence()
+ .findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione_Last(groupId,
+ unitaOperativa, assegnatoreUserId, dtCompilazione, dtAnnullamento,
+ dtApprovazione, orderByComparator);
+ }
+
+ /**
+ * Returns the last parere geologo in the ordered set where groupId = ? and unitaOperativa = ? and assegnatoreUserId = ? and dtCompilazione ≠ ? and dtAnnullamento ≠ ? and dtApprovazione = ?.
+ *
+ * @param groupId the group ID
+ * @param unitaOperativa the unita operativa
+ * @param assegnatoreUserId the assegnatore user ID
+ * @param dtCompilazione the dt compilazione
+ * @param dtAnnullamento the dt annullamento
+ * @param dtApprovazione the dt approvazione
+ * @param orderByComparator the comparator to order the set by (optionally null
)
+ * @return the last matching parere geologo, or null
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_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione_Last(
+ long groupId, int unitaOperativa, long assegnatoreUserId,
+ java.util.Date dtCompilazione, java.util.Date dtAnnullamento,
+ java.util.Date dtApprovazione,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException {
+ return getPersistence()
+ .fetchByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione_Last(groupId,
+ unitaOperativa, assegnatoreUserId, dtCompilazione, dtAnnullamento,
+ dtApprovazione, orderByComparator);
+ }
+
+ /**
+ * Returns the parere geologos before and after the current parere geologo in the ordered set where groupId = ? and unitaOperativa = ? and assegnatoreUserId = ? and dtCompilazione ≠ ? and dtAnnullamento ≠ ? and dtApprovazione = ?.
+ *
+ * @param parereGeologoId the primary key of the current parere geologo
+ * @param groupId the group ID
+ * @param unitaOperativa the unita operativa
+ * @param assegnatoreUserId the assegnatore user ID
+ * @param dtCompilazione the dt compilazione
+ * @param dtAnnullamento the dt annullamento
+ * @param dtApprovazione the dt approvazione
+ * @param orderByComparator the comparator to order the set by (optionally null
)
+ * @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_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione_PrevAndNext(
+ long parereGeologoId, long groupId, int unitaOperativa,
+ long assegnatoreUserId, java.util.Date dtCompilazione,
+ java.util.Date dtAnnullamento, java.util.Date dtApprovazione,
+ com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
+ throws com.liferay.portal.kernel.exception.SystemException,
+ it.tref.liferay.portos.bo.NoSuchParereGeologoException {
+ return getPersistence()
+ .findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione_PrevAndNext(parereGeologoId,
+ groupId, unitaOperativa, assegnatoreUserId, dtCompilazione,
+ dtAnnullamento, dtApprovazione, orderByComparator);
+ }
+
+ /**
+ * Returns all the parere geologos where groupId = any ? and unitaOperativa = any ? and assegnatoreUserId = any ? and dtCompilazione ≠ ? and dtAnnullamento ≠ ? and dtApprovazione = ?.
+ *
+ *
+ * Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
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 orderByComparator
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.
+ *
+ * Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
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 orderByComparator
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.
+ *
+ * Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
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 orderByComparator
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.
+ *
null
)
+ * @return the ordered range of matching parere geologos
+ * @throws SystemException if a system exception occurred
+ */
+ public static java.util.List
+ * Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
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 orderByComparator
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.
+ *
+ * Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
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 orderByComparator
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.
+ *
null
)
+ * @return the ordered range of matching parere geologos
+ * @throws SystemException if a system exception occurred
+ */
+ @Override
+ public Listnull
)
+ * @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
+ */
+ @Override
+ public ParereGeologo findByGroup_UnitaOperativa_Geologo_Assegnatore_DtCompilazione_DtAnnullamento_First(
+ long groupId, int unitaOperativa, long geologoUserId,
+ long assegnatoreUserId, Date dtCompilazione, Date dtAnnullamento,
+ OrderByComparator orderByComparator)
+ throws NoSuchParereGeologoException, SystemException {
+ ParereGeologo parereGeologo = fetchByGroup_UnitaOperativa_Geologo_Assegnatore_DtCompilazione_DtAnnullamento_First(groupId,
+ unitaOperativa, geologoUserId, assegnatoreUserId,
+ dtCompilazione, dtAnnullamento, orderByComparator);
+
+ if (parereGeologo != null) {
+ return parereGeologo;
+ }
+
+ StringBundler msg = new StringBundler(14);
+
+ msg.append(_NO_SUCH_ENTITY_WITH_KEY);
+
+ msg.append("groupId=");
+ msg.append(groupId);
+
+ msg.append(", unitaOperativa=");
+ msg.append(unitaOperativa);
+
+ msg.append(", geologoUserId=");
+ msg.append(geologoUserId);
+
+ msg.append(", assegnatoreUserId=");
+ msg.append(assegnatoreUserId);
+
+ msg.append(", dtCompilazione=");
+ msg.append(dtCompilazione);
+
+ msg.append(", dtAnnullamento=");
+ msg.append(dtAnnullamento);
+
+ msg.append(StringPool.CLOSE_CURLY_BRACE);
+
+ throw new NoSuchParereGeologoException(msg.toString());
+ }
+
+ /**
+ * Returns the first parere geologo in the ordered set where groupId = ? and unitaOperativa = ? and geologoUserId = ? and assegnatoreUserId = ? and dtCompilazione = ? and dtAnnullamento = ?.
+ *
+ * @param groupId the group ID
+ * @param unitaOperativa the unita operativa
+ * @param geologoUserId the geologo user ID
+ * @param assegnatoreUserId the assegnatore user ID
+ * @param dtCompilazione the dt compilazione
+ * @param dtAnnullamento the dt annullamento
+ * @param orderByComparator the comparator to order the set by (optionally null
)
+ * @return the first matching parere geologo, or null
if a matching parere geologo could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ @Override
+ public ParereGeologo fetchByGroup_UnitaOperativa_Geologo_Assegnatore_DtCompilazione_DtAnnullamento_First(
+ long groupId, int unitaOperativa, long geologoUserId,
+ long assegnatoreUserId, Date dtCompilazione, Date dtAnnullamento,
+ OrderByComparator orderByComparator) throws SystemException {
+ Listnull
)
+ * @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
+ */
+ @Override
+ public ParereGeologo findByGroup_UnitaOperativa_Geologo_Assegnatore_DtCompilazione_DtAnnullamento_Last(
+ long groupId, int unitaOperativa, long geologoUserId,
+ long assegnatoreUserId, Date dtCompilazione, Date dtAnnullamento,
+ OrderByComparator orderByComparator)
+ throws NoSuchParereGeologoException, SystemException {
+ ParereGeologo parereGeologo = fetchByGroup_UnitaOperativa_Geologo_Assegnatore_DtCompilazione_DtAnnullamento_Last(groupId,
+ unitaOperativa, geologoUserId, assegnatoreUserId,
+ dtCompilazione, dtAnnullamento, orderByComparator);
+
+ if (parereGeologo != null) {
+ return parereGeologo;
+ }
+
+ StringBundler msg = new StringBundler(14);
+
+ msg.append(_NO_SUCH_ENTITY_WITH_KEY);
+
+ msg.append("groupId=");
+ msg.append(groupId);
+
+ msg.append(", unitaOperativa=");
+ msg.append(unitaOperativa);
+
+ msg.append(", geologoUserId=");
+ msg.append(geologoUserId);
+
+ msg.append(", assegnatoreUserId=");
+ msg.append(assegnatoreUserId);
+
+ msg.append(", dtCompilazione=");
+ msg.append(dtCompilazione);
+
+ msg.append(", dtAnnullamento=");
+ msg.append(dtAnnullamento);
+
+ msg.append(StringPool.CLOSE_CURLY_BRACE);
+
+ throw new NoSuchParereGeologoException(msg.toString());
+ }
+
+ /**
+ * Returns the last parere geologo in the ordered set where groupId = ? and unitaOperativa = ? and geologoUserId = ? and assegnatoreUserId = ? and dtCompilazione = ? and dtAnnullamento = ?.
+ *
+ * @param groupId the group ID
+ * @param unitaOperativa the unita operativa
+ * @param geologoUserId the geologo user ID
+ * @param assegnatoreUserId the assegnatore user ID
+ * @param dtCompilazione the dt compilazione
+ * @param dtAnnullamento the dt annullamento
+ * @param orderByComparator the comparator to order the set by (optionally null
)
+ * @return the last matching parere geologo, or null
if a matching parere geologo could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ @Override
+ public ParereGeologo fetchByGroup_UnitaOperativa_Geologo_Assegnatore_DtCompilazione_DtAnnullamento_Last(
+ long groupId, int unitaOperativa, long geologoUserId,
+ long assegnatoreUserId, Date dtCompilazione, Date dtAnnullamento,
+ OrderByComparator orderByComparator) throws SystemException {
+ int count = countByGroup_UnitaOperativa_Geologo_Assegnatore_DtCompilazione_DtAnnullamento(groupId,
+ unitaOperativa, geologoUserId, assegnatoreUserId,
+ dtCompilazione, dtAnnullamento);
+
+ if (count == 0) {
+ return null;
+ }
+
+ Listnull
)
+ * @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
+ */
+ @Override
+ public ParereGeologo[] findByGroup_UnitaOperativa_Geologo_Assegnatore_DtCompilazione_DtAnnullamento_PrevAndNext(
+ long parereGeologoId, long groupId, int unitaOperativa,
+ long geologoUserId, long assegnatoreUserId, Date dtCompilazione,
+ Date dtAnnullamento, OrderByComparator orderByComparator)
+ throws NoSuchParereGeologoException, SystemException {
+ ParereGeologo parereGeologo = findByPrimaryKey(parereGeologoId);
+
+ Session session = null;
+
+ try {
+ session = openSession();
+
+ ParereGeologo[] array = new ParereGeologoImpl[3];
+
+ array[0] = getByGroup_UnitaOperativa_Geologo_Assegnatore_DtCompilazione_DtAnnullamento_PrevAndNext(session,
+ parereGeologo, groupId, unitaOperativa, geologoUserId,
+ assegnatoreUserId, dtCompilazione, dtAnnullamento,
+ orderByComparator, true);
+
+ array[1] = parereGeologo;
+
+ array[2] = getByGroup_UnitaOperativa_Geologo_Assegnatore_DtCompilazione_DtAnnullamento_PrevAndNext(session,
+ parereGeologo, groupId, unitaOperativa, geologoUserId,
+ assegnatoreUserId, dtCompilazione, dtAnnullamento,
+ orderByComparator, false);
+
+ return array;
+ }
+ catch (Exception e) {
+ throw processException(e);
+ }
+ finally {
+ closeSession(session);
+ }
+ }
+
+ protected ParereGeologo getByGroup_UnitaOperativa_Geologo_Assegnatore_DtCompilazione_DtAnnullamento_PrevAndNext(
+ Session session, ParereGeologo parereGeologo, long groupId,
+ int unitaOperativa, long geologoUserId, long assegnatoreUserId,
+ Date dtCompilazione, Date dtAnnullamento,
+ OrderByComparator orderByComparator, boolean previous) {
+ StringBundler query = null;
+
+ if (orderByComparator != null) {
+ query = new StringBundler(6 +
+ (orderByComparator.getOrderByFields().length * 6));
+ }
+ else {
+ query = new StringBundler(3);
+ }
+
+ query.append(_SQL_SELECT_PAREREGEOLOGO_WHERE);
+
+ query.append(_FINDER_COLUMN_GROUP_UNITAOPERATIVA_GEOLOGO_ASSEGNATORE_DTCOMPILAZIONE_DTANNULLAMENTO_GROUPID_2);
+
+ query.append(_FINDER_COLUMN_GROUP_UNITAOPERATIVA_GEOLOGO_ASSEGNATORE_DTCOMPILAZIONE_DTANNULLAMENTO_UNITAOPERATIVA_2);
+
+ query.append(_FINDER_COLUMN_GROUP_UNITAOPERATIVA_GEOLOGO_ASSEGNATORE_DTCOMPILAZIONE_DTANNULLAMENTO_GEOLOGOUSERID_2);
+
+ query.append(_FINDER_COLUMN_GROUP_UNITAOPERATIVA_GEOLOGO_ASSEGNATORE_DTCOMPILAZIONE_DTANNULLAMENTO_ASSEGNATOREUSERID_2);
+
+ boolean bindDtCompilazione = false;
+
+ if (dtCompilazione == null) {
+ query.append(_FINDER_COLUMN_GROUP_UNITAOPERATIVA_GEOLOGO_ASSEGNATORE_DTCOMPILAZIONE_DTANNULLAMENTO_DTCOMPILAZIONE_1);
+ }
+ else {
+ bindDtCompilazione = true;
+
+ query.append(_FINDER_COLUMN_GROUP_UNITAOPERATIVA_GEOLOGO_ASSEGNATORE_DTCOMPILAZIONE_DTANNULLAMENTO_DTCOMPILAZIONE_2);
+ }
+
+ boolean bindDtAnnullamento = false;
+
+ if (dtAnnullamento == null) {
+ query.append(_FINDER_COLUMN_GROUP_UNITAOPERATIVA_GEOLOGO_ASSEGNATORE_DTCOMPILAZIONE_DTANNULLAMENTO_DTANNULLAMENTO_1);
+ }
+ else {
+ bindDtAnnullamento = true;
+
+ query.append(_FINDER_COLUMN_GROUP_UNITAOPERATIVA_GEOLOGO_ASSEGNATORE_DTCOMPILAZIONE_DTANNULLAMENTO_DTANNULLAMENTO_2);
+ }
+
+ if (orderByComparator != null) {
+ String[] orderByConditionFields = orderByComparator.getOrderByConditionFields();
+
+ if (orderByConditionFields.length > 0) {
+ query.append(WHERE_AND);
+ }
+
+ for (int i = 0; i < orderByConditionFields.length; i++) {
+ query.append(_ORDER_BY_ENTITY_ALIAS);
+ query.append(orderByConditionFields[i]);
+
+ if ((i + 1) < orderByConditionFields.length) {
+ if (orderByComparator.isAscending() ^ previous) {
+ query.append(WHERE_GREATER_THAN_HAS_NEXT);
+ }
+ else {
+ query.append(WHERE_LESSER_THAN_HAS_NEXT);
+ }
+ }
+ else {
+ if (orderByComparator.isAscending() ^ previous) {
+ query.append(WHERE_GREATER_THAN);
+ }
+ else {
+ query.append(WHERE_LESSER_THAN);
+ }
+ }
+ }
+
+ query.append(ORDER_BY_CLAUSE);
+
+ String[] orderByFields = orderByComparator.getOrderByFields();
+
+ for (int i = 0; i < orderByFields.length; i++) {
+ query.append(_ORDER_BY_ENTITY_ALIAS);
+ query.append(orderByFields[i]);
+
+ if ((i + 1) < orderByFields.length) {
+ if (orderByComparator.isAscending() ^ previous) {
+ query.append(ORDER_BY_ASC_HAS_NEXT);
+ }
+ else {
+ query.append(ORDER_BY_DESC_HAS_NEXT);
+ }
+ }
+ else {
+ if (orderByComparator.isAscending() ^ previous) {
+ query.append(ORDER_BY_ASC);
+ }
+ else {
+ query.append(ORDER_BY_DESC);
+ }
+ }
+ }
+ }
+ else {
+ query.append(ParereGeologoModelImpl.ORDER_BY_JPQL);
+ }
+
+ String sql = query.toString();
+
+ Query q = session.createQuery(sql);
+
+ q.setFirstResult(0);
+ q.setMaxResults(2);
+
+ QueryPos qPos = QueryPos.getInstance(q);
+
+ qPos.add(groupId);
+
+ qPos.add(unitaOperativa);
+
+ qPos.add(geologoUserId);
+
+ qPos.add(assegnatoreUserId);
+
+ if (bindDtCompilazione) {
+ qPos.add(CalendarUtil.getTimestamp(dtCompilazione));
+ }
+
+ if (bindDtAnnullamento) {
+ qPos.add(CalendarUtil.getTimestamp(dtAnnullamento));
+ }
+
+ if (orderByComparator != null) {
+ Object[] values = orderByComparator.getOrderByConditionValues(parereGeologo);
+
+ for (Object value : values) {
+ qPos.add(value);
+ }
+ }
+
+ List
+ * Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
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 orderByComparator
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.
+ *
+ * Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
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 orderByComparator
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.
+ *
+ * Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
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 orderByComparator
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.
+ *
null
)
+ * @return the ordered range of matching parere geologos
+ * @throws SystemException if a system exception occurred
+ */
+ @Override
+ public List
+ * Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
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 orderByComparator
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.
+ *
+ * Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
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 orderByComparator
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.
+ *
null
)
+ * @return the ordered range of matching parere geologos
+ * @throws SystemException if a system exception occurred
+ */
+ @Override
+ public Listnull
)
+ * @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
+ */
+ @Override
+ public ParereGeologo findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione_First(
+ long groupId, int unitaOperativa, long assegnatoreUserId,
+ Date dtCompilazione, Date dtAnnullamento, Date dtApprovazione,
+ OrderByComparator orderByComparator)
+ throws NoSuchParereGeologoException, SystemException {
+ ParereGeologo parereGeologo = fetchByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione_First(groupId,
+ unitaOperativa, assegnatoreUserId, dtCompilazione,
+ dtAnnullamento, dtApprovazione, orderByComparator);
+
+ if (parereGeologo != null) {
+ return parereGeologo;
+ }
+
+ StringBundler msg = new StringBundler(14);
+
+ msg.append(_NO_SUCH_ENTITY_WITH_KEY);
+
+ msg.append("groupId=");
+ msg.append(groupId);
+
+ msg.append(", unitaOperativa=");
+ msg.append(unitaOperativa);
+
+ msg.append(", assegnatoreUserId=");
+ msg.append(assegnatoreUserId);
+
+ msg.append(", dtCompilazione=");
+ msg.append(dtCompilazione);
+
+ msg.append(", dtAnnullamento=");
+ msg.append(dtAnnullamento);
+
+ msg.append(", dtApprovazione=");
+ msg.append(dtApprovazione);
+
+ msg.append(StringPool.CLOSE_CURLY_BRACE);
+
+ throw new NoSuchParereGeologoException(msg.toString());
+ }
+
+ /**
+ * Returns the first parere geologo in the ordered set where groupId = ? and unitaOperativa = ? and assegnatoreUserId = ? and dtCompilazione ≠ ? and dtAnnullamento ≠ ? and dtApprovazione = ?.
+ *
+ * @param groupId the group ID
+ * @param unitaOperativa the unita operativa
+ * @param assegnatoreUserId the assegnatore user ID
+ * @param dtCompilazione the dt compilazione
+ * @param dtAnnullamento the dt annullamento
+ * @param dtApprovazione the dt approvazione
+ * @param orderByComparator the comparator to order the set by (optionally null
)
+ * @return the first matching parere geologo, or null
if a matching parere geologo could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ @Override
+ public ParereGeologo fetchByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione_First(
+ long groupId, int unitaOperativa, long assegnatoreUserId,
+ Date dtCompilazione, Date dtAnnullamento, Date dtApprovazione,
+ OrderByComparator orderByComparator) throws SystemException {
+ Listnull
)
+ * @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
+ */
+ @Override
+ public ParereGeologo findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione_Last(
+ long groupId, int unitaOperativa, long assegnatoreUserId,
+ Date dtCompilazione, Date dtAnnullamento, Date dtApprovazione,
+ OrderByComparator orderByComparator)
+ throws NoSuchParereGeologoException, SystemException {
+ ParereGeologo parereGeologo = fetchByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione_Last(groupId,
+ unitaOperativa, assegnatoreUserId, dtCompilazione,
+ dtAnnullamento, dtApprovazione, orderByComparator);
+
+ if (parereGeologo != null) {
+ return parereGeologo;
+ }
+
+ StringBundler msg = new StringBundler(14);
+
+ msg.append(_NO_SUCH_ENTITY_WITH_KEY);
+
+ msg.append("groupId=");
+ msg.append(groupId);
+
+ msg.append(", unitaOperativa=");
+ msg.append(unitaOperativa);
+
+ msg.append(", assegnatoreUserId=");
+ msg.append(assegnatoreUserId);
+
+ msg.append(", dtCompilazione=");
+ msg.append(dtCompilazione);
+
+ msg.append(", dtAnnullamento=");
+ msg.append(dtAnnullamento);
+
+ msg.append(", dtApprovazione=");
+ msg.append(dtApprovazione);
+
+ msg.append(StringPool.CLOSE_CURLY_BRACE);
+
+ throw new NoSuchParereGeologoException(msg.toString());
+ }
+
+ /**
+ * Returns the last parere geologo in the ordered set where groupId = ? and unitaOperativa = ? and assegnatoreUserId = ? and dtCompilazione ≠ ? and dtAnnullamento ≠ ? and dtApprovazione = ?.
+ *
+ * @param groupId the group ID
+ * @param unitaOperativa the unita operativa
+ * @param assegnatoreUserId the assegnatore user ID
+ * @param dtCompilazione the dt compilazione
+ * @param dtAnnullamento the dt annullamento
+ * @param dtApprovazione the dt approvazione
+ * @param orderByComparator the comparator to order the set by (optionally null
)
+ * @return the last matching parere geologo, or null
if a matching parere geologo could not be found
+ * @throws SystemException if a system exception occurred
+ */
+ @Override
+ public ParereGeologo fetchByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione_Last(
+ long groupId, int unitaOperativa, long assegnatoreUserId,
+ Date dtCompilazione, Date dtAnnullamento, Date dtApprovazione,
+ OrderByComparator orderByComparator) throws SystemException {
+ int count = countByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione(groupId,
+ unitaOperativa, assegnatoreUserId, dtCompilazione,
+ dtAnnullamento, dtApprovazione);
+
+ if (count == 0) {
+ return null;
+ }
+
+ Listnull
)
+ * @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
+ */
+ @Override
+ public ParereGeologo[] findByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione_PrevAndNext(
+ long parereGeologoId, long groupId, int unitaOperativa,
+ long assegnatoreUserId, Date dtCompilazione, Date dtAnnullamento,
+ Date dtApprovazione, OrderByComparator orderByComparator)
+ throws NoSuchParereGeologoException, SystemException {
+ ParereGeologo parereGeologo = findByPrimaryKey(parereGeologoId);
+
+ Session session = null;
+
+ try {
+ session = openSession();
+
+ ParereGeologo[] array = new ParereGeologoImpl[3];
+
+ array[0] = getByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione_PrevAndNext(session,
+ parereGeologo, groupId, unitaOperativa, assegnatoreUserId,
+ dtCompilazione, dtAnnullamento, dtApprovazione,
+ orderByComparator, true);
+
+ array[1] = parereGeologo;
+
+ array[2] = getByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione_PrevAndNext(session,
+ parereGeologo, groupId, unitaOperativa, assegnatoreUserId,
+ dtCompilazione, dtAnnullamento, dtApprovazione,
+ orderByComparator, false);
+
+ return array;
+ }
+ catch (Exception e) {
+ throw processException(e);
+ }
+ finally {
+ closeSession(session);
+ }
+ }
+
+ protected ParereGeologo getByGroup_UnitaOperativa_Assegnatore_NotDtCompilazione_NotDtAnnullamento_DtApprovazione_PrevAndNext(
+ Session session, ParereGeologo parereGeologo, long groupId,
+ int unitaOperativa, long assegnatoreUserId, Date dtCompilazione,
+ Date dtAnnullamento, Date dtApprovazione,
+ OrderByComparator orderByComparator, boolean previous) {
+ StringBundler query = null;
+
+ if (orderByComparator != null) {
+ query = new StringBundler(6 +
+ (orderByComparator.getOrderByFields().length * 6));
+ }
+ else {
+ query = new StringBundler(3);
+ }
+
+ query.append(_SQL_SELECT_PAREREGEOLOGO_WHERE);
+
+ query.append(_FINDER_COLUMN_GROUP_UNITAOPERATIVA_ASSEGNATORE_NOTDTCOMPILAZIONE_NOTDTANNULLAMENTO_DTAPPROVAZIONE_GROUPID_2);
+
+ query.append(_FINDER_COLUMN_GROUP_UNITAOPERATIVA_ASSEGNATORE_NOTDTCOMPILAZIONE_NOTDTANNULLAMENTO_DTAPPROVAZIONE_UNITAOPERATIVA_2);
+
+ query.append(_FINDER_COLUMN_GROUP_UNITAOPERATIVA_ASSEGNATORE_NOTDTCOMPILAZIONE_NOTDTANNULLAMENTO_DTAPPROVAZIONE_ASSEGNATOREUSERID_2);
+
+ boolean bindDtCompilazione = false;
+
+ if (dtCompilazione == null) {
+ query.append(_FINDER_COLUMN_GROUP_UNITAOPERATIVA_ASSEGNATORE_NOTDTCOMPILAZIONE_NOTDTANNULLAMENTO_DTAPPROVAZIONE_DTCOMPILAZIONE_1);
+ }
+ else {
+ bindDtCompilazione = true;
+
+ query.append(_FINDER_COLUMN_GROUP_UNITAOPERATIVA_ASSEGNATORE_NOTDTCOMPILAZIONE_NOTDTANNULLAMENTO_DTAPPROVAZIONE_DTCOMPILAZIONE_2);
+ }
+
+ boolean bindDtAnnullamento = false;
+
+ if (dtAnnullamento == null) {
+ query.append(_FINDER_COLUMN_GROUP_UNITAOPERATIVA_ASSEGNATORE_NOTDTCOMPILAZIONE_NOTDTANNULLAMENTO_DTAPPROVAZIONE_DTANNULLAMENTO_1);
+ }
+ else {
+ bindDtAnnullamento = true;
+
+ query.append(_FINDER_COLUMN_GROUP_UNITAOPERATIVA_ASSEGNATORE_NOTDTCOMPILAZIONE_NOTDTANNULLAMENTO_DTAPPROVAZIONE_DTANNULLAMENTO_2);
+ }
+
+ boolean bindDtApprovazione = false;
+
+ if (dtApprovazione == null) {
+ query.append(_FINDER_COLUMN_GROUP_UNITAOPERATIVA_ASSEGNATORE_NOTDTCOMPILAZIONE_NOTDTANNULLAMENTO_DTAPPROVAZIONE_DTAPPROVAZIONE_1);
+ }
+ else {
+ bindDtApprovazione = true;
+
+ query.append(_FINDER_COLUMN_GROUP_UNITAOPERATIVA_ASSEGNATORE_NOTDTCOMPILAZIONE_NOTDTANNULLAMENTO_DTAPPROVAZIONE_DTAPPROVAZIONE_2);
+ }
+
+ if (orderByComparator != null) {
+ String[] orderByConditionFields = orderByComparator.getOrderByConditionFields();
+
+ if (orderByConditionFields.length > 0) {
+ query.append(WHERE_AND);
+ }
+
+ for (int i = 0; i < orderByConditionFields.length; i++) {
+ query.append(_ORDER_BY_ENTITY_ALIAS);
+ query.append(orderByConditionFields[i]);
+
+ if ((i + 1) < orderByConditionFields.length) {
+ if (orderByComparator.isAscending() ^ previous) {
+ query.append(WHERE_GREATER_THAN_HAS_NEXT);
+ }
+ else {
+ query.append(WHERE_LESSER_THAN_HAS_NEXT);
+ }
+ }
+ else {
+ if (orderByComparator.isAscending() ^ previous) {
+ query.append(WHERE_GREATER_THAN);
+ }
+ else {
+ query.append(WHERE_LESSER_THAN);
+ }
+ }
+ }
+
+ query.append(ORDER_BY_CLAUSE);
+
+ String[] orderByFields = orderByComparator.getOrderByFields();
+
+ for (int i = 0; i < orderByFields.length; i++) {
+ query.append(_ORDER_BY_ENTITY_ALIAS);
+ query.append(orderByFields[i]);
+
+ if ((i + 1) < orderByFields.length) {
+ if (orderByComparator.isAscending() ^ previous) {
+ query.append(ORDER_BY_ASC_HAS_NEXT);
+ }
+ else {
+ query.append(ORDER_BY_DESC_HAS_NEXT);
+ }
+ }
+ else {
+ if (orderByComparator.isAscending() ^ previous) {
+ query.append(ORDER_BY_ASC);
+ }
+ else {
+ query.append(ORDER_BY_DESC);
+ }
+ }
+ }
+ }
+ else {
+ query.append(ParereGeologoModelImpl.ORDER_BY_JPQL);
+ }
+
+ String sql = query.toString();
+
+ Query q = session.createQuery(sql);
+
+ q.setFirstResult(0);
+ q.setMaxResults(2);
+
+ QueryPos qPos = QueryPos.getInstance(q);
+
+ qPos.add(groupId);
+
+ qPos.add(unitaOperativa);
+
+ qPos.add(assegnatoreUserId);
+
+ if (bindDtCompilazione) {
+ qPos.add(CalendarUtil.getTimestamp(dtCompilazione));
+ }
+
+ if (bindDtAnnullamento) {
+ qPos.add(CalendarUtil.getTimestamp(dtAnnullamento));
+ }
+
+ if (bindDtApprovazione) {
+ qPos.add(CalendarUtil.getTimestamp(dtApprovazione));
+ }
+
+ if (orderByComparator != null) {
+ Object[] values = orderByComparator.getOrderByConditionValues(parereGeologo);
+
+ for (Object value : values) {
+ qPos.add(value);
+ }
+ }
+
+ List
+ * Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
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 orderByComparator
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.
+ *
+ * Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
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 orderByComparator
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.
+ *
+ * Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
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 orderByComparator
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.
+ *
null
)
+ * @return the ordered range of matching parere geologos
+ * @throws SystemException if a system exception occurred
+ */
+ @Override
+ public List- Parere Endoprocedimentale: + Pareri endoprocedimentali: