All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.liferay.portal.workflow.kaleo.service.persistence.KaleoNotificationPersistence Maven / Gradle / Ivy

There is a newer version: 7.4.3.112-ga112
Show newest version
/**
 * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.liferay.portal.workflow.kaleo.service.persistence;

import aQute.bnd.annotation.ProviderType;

import com.liferay.portal.kernel.service.persistence.BasePersistence;
import com.liferay.portal.workflow.kaleo.exception.NoSuchNotificationException;
import com.liferay.portal.workflow.kaleo.model.KaleoNotification;

import java.io.Serializable;

import java.util.Map;
import java.util.Set;

/**
 * The persistence interface for the kaleo notification service.
 *
 * 

* Caching information and settings can be found in portal.properties *

* * @author Brian Wing Shun Chan * @see KaleoNotificationUtil * @generated */ @ProviderType public interface KaleoNotificationPersistence extends BasePersistence { /* * NOTE FOR DEVELOPERS: * * Never modify or reference this interface directly. Always use {@link KaleoNotificationUtil} to access the kaleo notification persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. */ @Override public Map fetchByPrimaryKeys( Set primaryKeys); /** * Returns all the kaleo notifications where companyId = ?. * * @param companyId the company ID * @return the matching kaleo notifications */ public java.util.List findByCompanyId(long companyId); /** * Returns a range of all the kaleo notifications where companyId = ?. * *

* 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 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 QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KaleoNotificationModelImpl. 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. *

* * @param companyId the company ID * @param start the lower bound of the range of kaleo notifications * @param end the upper bound of the range of kaleo notifications (not inclusive) * @return the range of matching kaleo notifications */ public java.util.List findByCompanyId( long companyId, int start, int end); /** * Returns an ordered range of all the kaleo notifications where companyId = ?. * *

* 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 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 QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KaleoNotificationModelImpl. 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. *

* * @param companyId the company ID * @param start the lower bound of the range of kaleo notifications * @param end the upper bound of the range of kaleo notifications (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching kaleo notifications */ public java.util.List findByCompanyId( long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns an ordered range of all the kaleo notifications where companyId = ?. * *

* 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 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 QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KaleoNotificationModelImpl. 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. *

* * @param companyId the company ID * @param start the lower bound of the range of kaleo notifications * @param end the upper bound of the range of kaleo notifications (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching kaleo notifications */ public java.util.List findByCompanyId( long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean retrieveFromCache); /** * Returns the first kaleo notification in the ordered set where companyId = ?. * * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching kaleo notification * @throws NoSuchNotificationException if a matching kaleo notification could not be found */ public KaleoNotification findByCompanyId_First( long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchNotificationException; /** * Returns the first kaleo notification in the ordered set where companyId = ?. * * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching kaleo notification, or null if a matching kaleo notification could not be found */ public KaleoNotification fetchByCompanyId_First( long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last kaleo notification in the ordered set where companyId = ?. * * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching kaleo notification * @throws NoSuchNotificationException if a matching kaleo notification could not be found */ public KaleoNotification findByCompanyId_Last( long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchNotificationException; /** * Returns the last kaleo notification in the ordered set where companyId = ?. * * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching kaleo notification, or null if a matching kaleo notification could not be found */ public KaleoNotification fetchByCompanyId_Last( long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the kaleo notifications before and after the current kaleo notification in the ordered set where companyId = ?. * * @param kaleoNotificationId the primary key of the current kaleo notification * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next kaleo notification * @throws NoSuchNotificationException if a kaleo notification with the primary key could not be found */ public KaleoNotification[] findByCompanyId_PrevAndNext( long kaleoNotificationId, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchNotificationException; /** * Removes all the kaleo notifications where companyId = ? from the database. * * @param companyId the company ID */ public void removeByCompanyId(long companyId); /** * Returns the number of kaleo notifications where companyId = ?. * * @param companyId the company ID * @return the number of matching kaleo notifications */ public int countByCompanyId(long companyId); /** * Returns all the kaleo notifications where kaleoDefinitionVersionId = ?. * * @param kaleoDefinitionVersionId the kaleo definition version ID * @return the matching kaleo notifications */ public java.util.List findByKaleoDefinitionVersionId( long kaleoDefinitionVersionId); /** * Returns a range of all the kaleo notifications where kaleoDefinitionVersionId = ?. * *

* 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 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 QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KaleoNotificationModelImpl. 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. *

* * @param kaleoDefinitionVersionId the kaleo definition version ID * @param start the lower bound of the range of kaleo notifications * @param end the upper bound of the range of kaleo notifications (not inclusive) * @return the range of matching kaleo notifications */ public java.util.List findByKaleoDefinitionVersionId( long kaleoDefinitionVersionId, int start, int end); /** * Returns an ordered range of all the kaleo notifications where kaleoDefinitionVersionId = ?. * *

* 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 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 QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KaleoNotificationModelImpl. 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. *

* * @param kaleoDefinitionVersionId the kaleo definition version ID * @param start the lower bound of the range of kaleo notifications * @param end the upper bound of the range of kaleo notifications (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching kaleo notifications */ public java.util.List findByKaleoDefinitionVersionId( long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns an ordered range of all the kaleo notifications where kaleoDefinitionVersionId = ?. * *

* 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 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 QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KaleoNotificationModelImpl. 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. *

* * @param kaleoDefinitionVersionId the kaleo definition version ID * @param start the lower bound of the range of kaleo notifications * @param end the upper bound of the range of kaleo notifications (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching kaleo notifications */ public java.util.List findByKaleoDefinitionVersionId( long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean retrieveFromCache); /** * Returns the first kaleo notification in the ordered set where kaleoDefinitionVersionId = ?. * * @param kaleoDefinitionVersionId the kaleo definition version ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching kaleo notification * @throws NoSuchNotificationException if a matching kaleo notification could not be found */ public KaleoNotification findByKaleoDefinitionVersionId_First( long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchNotificationException; /** * Returns the first kaleo notification in the ordered set where kaleoDefinitionVersionId = ?. * * @param kaleoDefinitionVersionId the kaleo definition version ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching kaleo notification, or null if a matching kaleo notification could not be found */ public KaleoNotification fetchByKaleoDefinitionVersionId_First( long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last kaleo notification in the ordered set where kaleoDefinitionVersionId = ?. * * @param kaleoDefinitionVersionId the kaleo definition version ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching kaleo notification * @throws NoSuchNotificationException if a matching kaleo notification could not be found */ public KaleoNotification findByKaleoDefinitionVersionId_Last( long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchNotificationException; /** * Returns the last kaleo notification in the ordered set where kaleoDefinitionVersionId = ?. * * @param kaleoDefinitionVersionId the kaleo definition version ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching kaleo notification, or null if a matching kaleo notification could not be found */ public KaleoNotification fetchByKaleoDefinitionVersionId_Last( long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the kaleo notifications before and after the current kaleo notification in the ordered set where kaleoDefinitionVersionId = ?. * * @param kaleoNotificationId the primary key of the current kaleo notification * @param kaleoDefinitionVersionId the kaleo definition version ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next kaleo notification * @throws NoSuchNotificationException if a kaleo notification with the primary key could not be found */ public KaleoNotification[] findByKaleoDefinitionVersionId_PrevAndNext( long kaleoNotificationId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchNotificationException; /** * Removes all the kaleo notifications where kaleoDefinitionVersionId = ? from the database. * * @param kaleoDefinitionVersionId the kaleo definition version ID */ public void removeByKaleoDefinitionVersionId(long kaleoDefinitionVersionId); /** * Returns the number of kaleo notifications where kaleoDefinitionVersionId = ?. * * @param kaleoDefinitionVersionId the kaleo definition version ID * @return the number of matching kaleo notifications */ public int countByKaleoDefinitionVersionId(long kaleoDefinitionVersionId); /** * Returns all the kaleo notifications where kaleoClassName = ? and kaleoClassPK = ?. * * @param kaleoClassName the kaleo class name * @param kaleoClassPK the kaleo class pk * @return the matching kaleo notifications */ public java.util.List findByKCN_KCPK( String kaleoClassName, long kaleoClassPK); /** * Returns a range of all the kaleo notifications where kaleoClassName = ? and kaleoClassPK = ?. * *

* 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 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 QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KaleoNotificationModelImpl. 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. *

* * @param kaleoClassName the kaleo class name * @param kaleoClassPK the kaleo class pk * @param start the lower bound of the range of kaleo notifications * @param end the upper bound of the range of kaleo notifications (not inclusive) * @return the range of matching kaleo notifications */ public java.util.List findByKCN_KCPK( String kaleoClassName, long kaleoClassPK, int start, int end); /** * Returns an ordered range of all the kaleo notifications where kaleoClassName = ? and kaleoClassPK = ?. * *

* 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 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 QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KaleoNotificationModelImpl. 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. *

* * @param kaleoClassName the kaleo class name * @param kaleoClassPK the kaleo class pk * @param start the lower bound of the range of kaleo notifications * @param end the upper bound of the range of kaleo notifications (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching kaleo notifications */ public java.util.List findByKCN_KCPK( String kaleoClassName, long kaleoClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns an ordered range of all the kaleo notifications where kaleoClassName = ? and kaleoClassPK = ?. * *

* 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 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 QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KaleoNotificationModelImpl. 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. *

* * @param kaleoClassName the kaleo class name * @param kaleoClassPK the kaleo class pk * @param start the lower bound of the range of kaleo notifications * @param end the upper bound of the range of kaleo notifications (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching kaleo notifications */ public java.util.List findByKCN_KCPK( String kaleoClassName, long kaleoClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean retrieveFromCache); /** * Returns the first kaleo notification in the ordered set where kaleoClassName = ? and kaleoClassPK = ?. * * @param kaleoClassName the kaleo class name * @param kaleoClassPK the kaleo class pk * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching kaleo notification * @throws NoSuchNotificationException if a matching kaleo notification could not be found */ public KaleoNotification findByKCN_KCPK_First( String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchNotificationException; /** * Returns the first kaleo notification in the ordered set where kaleoClassName = ? and kaleoClassPK = ?. * * @param kaleoClassName the kaleo class name * @param kaleoClassPK the kaleo class pk * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching kaleo notification, or null if a matching kaleo notification could not be found */ public KaleoNotification fetchByKCN_KCPK_First( String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last kaleo notification in the ordered set where kaleoClassName = ? and kaleoClassPK = ?. * * @param kaleoClassName the kaleo class name * @param kaleoClassPK the kaleo class pk * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching kaleo notification * @throws NoSuchNotificationException if a matching kaleo notification could not be found */ public KaleoNotification findByKCN_KCPK_Last( String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchNotificationException; /** * Returns the last kaleo notification in the ordered set where kaleoClassName = ? and kaleoClassPK = ?. * * @param kaleoClassName the kaleo class name * @param kaleoClassPK the kaleo class pk * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching kaleo notification, or null if a matching kaleo notification could not be found */ public KaleoNotification fetchByKCN_KCPK_Last( String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the kaleo notifications before and after the current kaleo notification in the ordered set where kaleoClassName = ? and kaleoClassPK = ?. * * @param kaleoNotificationId the primary key of the current kaleo notification * @param kaleoClassName the kaleo class name * @param kaleoClassPK the kaleo class pk * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next kaleo notification * @throws NoSuchNotificationException if a kaleo notification with the primary key could not be found */ public KaleoNotification[] findByKCN_KCPK_PrevAndNext( long kaleoNotificationId, String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchNotificationException; /** * Removes all the kaleo notifications where kaleoClassName = ? and kaleoClassPK = ? from the database. * * @param kaleoClassName the kaleo class name * @param kaleoClassPK the kaleo class pk */ public void removeByKCN_KCPK(String kaleoClassName, long kaleoClassPK); /** * Returns the number of kaleo notifications where kaleoClassName = ? and kaleoClassPK = ?. * * @param kaleoClassName the kaleo class name * @param kaleoClassPK the kaleo class pk * @return the number of matching kaleo notifications */ public int countByKCN_KCPK(String kaleoClassName, long kaleoClassPK); /** * Returns all the kaleo notifications where kaleoClassName = ? and kaleoClassPK = ? and executionType = ?. * * @param kaleoClassName the kaleo class name * @param kaleoClassPK the kaleo class pk * @param executionType the execution type * @return the matching kaleo notifications */ public java.util.List findByKCN_KCPK_ET( String kaleoClassName, long kaleoClassPK, String executionType); /** * Returns a range of all the kaleo notifications where kaleoClassName = ? and kaleoClassPK = ? and executionType = ?. * *

* 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 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 QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KaleoNotificationModelImpl. 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. *

* * @param kaleoClassName the kaleo class name * @param kaleoClassPK the kaleo class pk * @param executionType the execution type * @param start the lower bound of the range of kaleo notifications * @param end the upper bound of the range of kaleo notifications (not inclusive) * @return the range of matching kaleo notifications */ public java.util.List findByKCN_KCPK_ET( String kaleoClassName, long kaleoClassPK, String executionType, int start, int end); /** * Returns an ordered range of all the kaleo notifications where kaleoClassName = ? and kaleoClassPK = ? and executionType = ?. * *

* 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 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 QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KaleoNotificationModelImpl. 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. *

* * @param kaleoClassName the kaleo class name * @param kaleoClassPK the kaleo class pk * @param executionType the execution type * @param start the lower bound of the range of kaleo notifications * @param end the upper bound of the range of kaleo notifications (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching kaleo notifications */ public java.util.List findByKCN_KCPK_ET( String kaleoClassName, long kaleoClassPK, String executionType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns an ordered range of all the kaleo notifications where kaleoClassName = ? and kaleoClassPK = ? and executionType = ?. * *

* 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 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 QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KaleoNotificationModelImpl. 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. *

* * @param kaleoClassName the kaleo class name * @param kaleoClassPK the kaleo class pk * @param executionType the execution type * @param start the lower bound of the range of kaleo notifications * @param end the upper bound of the range of kaleo notifications (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching kaleo notifications */ public java.util.List findByKCN_KCPK_ET( String kaleoClassName, long kaleoClassPK, String executionType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean retrieveFromCache); /** * Returns the first kaleo notification in the ordered set where kaleoClassName = ? and kaleoClassPK = ? and executionType = ?. * * @param kaleoClassName the kaleo class name * @param kaleoClassPK the kaleo class pk * @param executionType the execution type * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching kaleo notification * @throws NoSuchNotificationException if a matching kaleo notification could not be found */ public KaleoNotification findByKCN_KCPK_ET_First( String kaleoClassName, long kaleoClassPK, String executionType, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchNotificationException; /** * Returns the first kaleo notification in the ordered set where kaleoClassName = ? and kaleoClassPK = ? and executionType = ?. * * @param kaleoClassName the kaleo class name * @param kaleoClassPK the kaleo class pk * @param executionType the execution type * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching kaleo notification, or null if a matching kaleo notification could not be found */ public KaleoNotification fetchByKCN_KCPK_ET_First( String kaleoClassName, long kaleoClassPK, String executionType, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last kaleo notification in the ordered set where kaleoClassName = ? and kaleoClassPK = ? and executionType = ?. * * @param kaleoClassName the kaleo class name * @param kaleoClassPK the kaleo class pk * @param executionType the execution type * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching kaleo notification * @throws NoSuchNotificationException if a matching kaleo notification could not be found */ public KaleoNotification findByKCN_KCPK_ET_Last( String kaleoClassName, long kaleoClassPK, String executionType, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchNotificationException; /** * Returns the last kaleo notification in the ordered set where kaleoClassName = ? and kaleoClassPK = ? and executionType = ?. * * @param kaleoClassName the kaleo class name * @param kaleoClassPK the kaleo class pk * @param executionType the execution type * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching kaleo notification, or null if a matching kaleo notification could not be found */ public KaleoNotification fetchByKCN_KCPK_ET_Last( String kaleoClassName, long kaleoClassPK, String executionType, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the kaleo notifications before and after the current kaleo notification in the ordered set where kaleoClassName = ? and kaleoClassPK = ? and executionType = ?. * * @param kaleoNotificationId the primary key of the current kaleo notification * @param kaleoClassName the kaleo class name * @param kaleoClassPK the kaleo class pk * @param executionType the execution type * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next kaleo notification * @throws NoSuchNotificationException if a kaleo notification with the primary key could not be found */ public KaleoNotification[] findByKCN_KCPK_ET_PrevAndNext( long kaleoNotificationId, String kaleoClassName, long kaleoClassPK, String executionType, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchNotificationException; /** * Removes all the kaleo notifications where kaleoClassName = ? and kaleoClassPK = ? and executionType = ? from the database. * * @param kaleoClassName the kaleo class name * @param kaleoClassPK the kaleo class pk * @param executionType the execution type */ public void removeByKCN_KCPK_ET( String kaleoClassName, long kaleoClassPK, String executionType); /** * Returns the number of kaleo notifications where kaleoClassName = ? and kaleoClassPK = ? and executionType = ?. * * @param kaleoClassName the kaleo class name * @param kaleoClassPK the kaleo class pk * @param executionType the execution type * @return the number of matching kaleo notifications */ public int countByKCN_KCPK_ET( String kaleoClassName, long kaleoClassPK, String executionType); /** * Caches the kaleo notification in the entity cache if it is enabled. * * @param kaleoNotification the kaleo notification */ public void cacheResult(KaleoNotification kaleoNotification); /** * Caches the kaleo notifications in the entity cache if it is enabled. * * @param kaleoNotifications the kaleo notifications */ public void cacheResult( java.util.List kaleoNotifications); /** * Creates a new kaleo notification with the primary key. Does not add the kaleo notification to the database. * * @param kaleoNotificationId the primary key for the new kaleo notification * @return the new kaleo notification */ public KaleoNotification create(long kaleoNotificationId); /** * Removes the kaleo notification with the primary key from the database. Also notifies the appropriate model listeners. * * @param kaleoNotificationId the primary key of the kaleo notification * @return the kaleo notification that was removed * @throws NoSuchNotificationException if a kaleo notification with the primary key could not be found */ public KaleoNotification remove(long kaleoNotificationId) throws NoSuchNotificationException; public KaleoNotification updateImpl(KaleoNotification kaleoNotification); /** * Returns the kaleo notification with the primary key or throws a NoSuchNotificationException if it could not be found. * * @param kaleoNotificationId the primary key of the kaleo notification * @return the kaleo notification * @throws NoSuchNotificationException if a kaleo notification with the primary key could not be found */ public KaleoNotification findByPrimaryKey(long kaleoNotificationId) throws NoSuchNotificationException; /** * Returns the kaleo notification with the primary key or returns null if it could not be found. * * @param kaleoNotificationId the primary key of the kaleo notification * @return the kaleo notification, or null if a kaleo notification with the primary key could not be found */ public KaleoNotification fetchByPrimaryKey(long kaleoNotificationId); /** * Returns all the kaleo notifications. * * @return the kaleo notifications */ public java.util.List findAll(); /** * Returns a range of all the kaleo notifications. * *

* 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 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 QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KaleoNotificationModelImpl. 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. *

* * @param start the lower bound of the range of kaleo notifications * @param end the upper bound of the range of kaleo notifications (not inclusive) * @return the range of kaleo notifications */ public java.util.List findAll(int start, int end); /** * Returns an ordered range of all the kaleo notifications. * *

* 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 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 QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KaleoNotificationModelImpl. 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. *

* * @param start the lower bound of the range of kaleo notifications * @param end the upper bound of the range of kaleo notifications (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of kaleo notifications */ public java.util.List findAll( int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns an ordered range of all the kaleo notifications. * *

* 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 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 QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from KaleoNotificationModelImpl. 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. *

* * @param start the lower bound of the range of kaleo notifications * @param end the upper bound of the range of kaleo notifications (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of kaleo notifications */ public java.util.List findAll( int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean retrieveFromCache); /** * Removes all the kaleo notifications from the database. */ public void removeAll(); /** * Returns the number of kaleo notifications. * * @return the number of kaleo notifications */ public int countAll(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy