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

com.liferay.dynamic.data.mapping.service.persistence.DDMFormInstanceRecordPersistence 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.dynamic.data.mapping.service.persistence;

import aQute.bnd.annotation.ProviderType;

import com.liferay.dynamic.data.mapping.exception.NoSuchFormInstanceRecordException;
import com.liferay.dynamic.data.mapping.model.DDMFormInstanceRecord;
import com.liferay.portal.kernel.service.persistence.BasePersistence;

import java.io.Serializable;

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

/**
 * The persistence interface for the ddm form instance record service.
 *
 * 

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

* * @author Brian Wing Shun Chan * @see DDMFormInstanceRecordUtil * @generated */ @ProviderType public interface DDMFormInstanceRecordPersistence extends BasePersistence { /* * NOTE FOR DEVELOPERS: * * Never modify or reference this interface directly. Always use {@link DDMFormInstanceRecordUtil} to access the ddm form instance record persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. */ @Override public Map fetchByPrimaryKeys( Set primaryKeys); /** * Returns all the ddm form instance records where uuid = ?. * * @param uuid the uuid * @return the matching ddm form instance records */ public java.util.List findByUuid(String uuid); /** * Returns a range of all the ddm form instance records where uuid = ?. * *

* 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 DDMFormInstanceRecordModelImpl. 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 uuid the uuid * @param start the lower bound of the range of ddm form instance records * @param end the upper bound of the range of ddm form instance records (not inclusive) * @return the range of matching ddm form instance records */ public java.util.List findByUuid( String uuid, int start, int end); /** * Returns an ordered range of all the ddm form instance records where uuid = ?. * *

* 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 DDMFormInstanceRecordModelImpl. 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 uuid the uuid * @param start the lower bound of the range of ddm form instance records * @param end the upper bound of the range of ddm form instance records (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching ddm form instance records */ public java.util.List findByUuid( String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns an ordered range of all the ddm form instance records where uuid = ?. * *

* 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 DDMFormInstanceRecordModelImpl. 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 uuid the uuid * @param start the lower bound of the range of ddm form instance records * @param end the upper bound of the range of ddm form instance records (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 ddm form instance records */ public java.util.List findByUuid( String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean retrieveFromCache); /** * Returns the first ddm form instance record in the ordered set where uuid = ?. * * @param uuid the uuid * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching ddm form instance record * @throws NoSuchFormInstanceRecordException if a matching ddm form instance record could not be found */ public DDMFormInstanceRecord findByUuid_First( String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchFormInstanceRecordException; /** * Returns the first ddm form instance record in the ordered set where uuid = ?. * * @param uuid the uuid * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching ddm form instance record, or null if a matching ddm form instance record could not be found */ public DDMFormInstanceRecord fetchByUuid_First( String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last ddm form instance record in the ordered set where uuid = ?. * * @param uuid the uuid * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching ddm form instance record * @throws NoSuchFormInstanceRecordException if a matching ddm form instance record could not be found */ public DDMFormInstanceRecord findByUuid_Last( String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchFormInstanceRecordException; /** * Returns the last ddm form instance record in the ordered set where uuid = ?. * * @param uuid the uuid * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching ddm form instance record, or null if a matching ddm form instance record could not be found */ public DDMFormInstanceRecord fetchByUuid_Last( String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the ddm form instance records before and after the current ddm form instance record in the ordered set where uuid = ?. * * @param formInstanceRecordId the primary key of the current ddm form instance record * @param uuid the uuid * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next ddm form instance record * @throws NoSuchFormInstanceRecordException if a ddm form instance record with the primary key could not be found */ public DDMFormInstanceRecord[] findByUuid_PrevAndNext( long formInstanceRecordId, String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchFormInstanceRecordException; /** * Removes all the ddm form instance records where uuid = ? from the database. * * @param uuid the uuid */ public void removeByUuid(String uuid); /** * Returns the number of ddm form instance records where uuid = ?. * * @param uuid the uuid * @return the number of matching ddm form instance records */ public int countByUuid(String uuid); /** * Returns the ddm form instance record where uuid = ? and groupId = ? or throws a NoSuchFormInstanceRecordException if it could not be found. * * @param uuid the uuid * @param groupId the group ID * @return the matching ddm form instance record * @throws NoSuchFormInstanceRecordException if a matching ddm form instance record could not be found */ public DDMFormInstanceRecord findByUUID_G(String uuid, long groupId) throws NoSuchFormInstanceRecordException; /** * Returns the ddm form instance record where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. * * @param uuid the uuid * @param groupId the group ID * @return the matching ddm form instance record, or null if a matching ddm form instance record could not be found */ public DDMFormInstanceRecord fetchByUUID_G(String uuid, long groupId); /** * Returns the ddm form instance record where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. * * @param uuid the uuid * @param groupId the group ID * @param retrieveFromCache whether to retrieve from the finder cache * @return the matching ddm form instance record, or null if a matching ddm form instance record could not be found */ public DDMFormInstanceRecord fetchByUUID_G( String uuid, long groupId, boolean retrieveFromCache); /** * Removes the ddm form instance record where uuid = ? and groupId = ? from the database. * * @param uuid the uuid * @param groupId the group ID * @return the ddm form instance record that was removed */ public DDMFormInstanceRecord removeByUUID_G(String uuid, long groupId) throws NoSuchFormInstanceRecordException; /** * Returns the number of ddm form instance records where uuid = ? and groupId = ?. * * @param uuid the uuid * @param groupId the group ID * @return the number of matching ddm form instance records */ public int countByUUID_G(String uuid, long groupId); /** * Returns all the ddm form instance records where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @return the matching ddm form instance records */ public java.util.List findByUuid_C( String uuid, long companyId); /** * Returns a range of all the ddm form instance records where uuid = ? and 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 DDMFormInstanceRecordModelImpl. 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 uuid the uuid * @param companyId the company ID * @param start the lower bound of the range of ddm form instance records * @param end the upper bound of the range of ddm form instance records (not inclusive) * @return the range of matching ddm form instance records */ public java.util.List findByUuid_C( String uuid, long companyId, int start, int end); /** * Returns an ordered range of all the ddm form instance records where uuid = ? and 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 DDMFormInstanceRecordModelImpl. 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 uuid the uuid * @param companyId the company ID * @param start the lower bound of the range of ddm form instance records * @param end the upper bound of the range of ddm form instance records (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching ddm form instance records */ public java.util.List findByUuid_C( String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns an ordered range of all the ddm form instance records where uuid = ? and 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 DDMFormInstanceRecordModelImpl. 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 uuid the uuid * @param companyId the company ID * @param start the lower bound of the range of ddm form instance records * @param end the upper bound of the range of ddm form instance records (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 ddm form instance records */ public java.util.List findByUuid_C( String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean retrieveFromCache); /** * Returns the first ddm form instance record in the ordered set where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching ddm form instance record * @throws NoSuchFormInstanceRecordException if a matching ddm form instance record could not be found */ public DDMFormInstanceRecord findByUuid_C_First( String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchFormInstanceRecordException; /** * Returns the first ddm form instance record in the ordered set where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching ddm form instance record, or null if a matching ddm form instance record could not be found */ public DDMFormInstanceRecord fetchByUuid_C_First( String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last ddm form instance record in the ordered set where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching ddm form instance record * @throws NoSuchFormInstanceRecordException if a matching ddm form instance record could not be found */ public DDMFormInstanceRecord findByUuid_C_Last( String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchFormInstanceRecordException; /** * Returns the last ddm form instance record in the ordered set where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching ddm form instance record, or null if a matching ddm form instance record could not be found */ public DDMFormInstanceRecord fetchByUuid_C_Last( String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the ddm form instance records before and after the current ddm form instance record in the ordered set where uuid = ? and companyId = ?. * * @param formInstanceRecordId the primary key of the current ddm form instance record * @param uuid the uuid * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next ddm form instance record * @throws NoSuchFormInstanceRecordException if a ddm form instance record with the primary key could not be found */ public DDMFormInstanceRecord[] findByUuid_C_PrevAndNext( long formInstanceRecordId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchFormInstanceRecordException; /** * Removes all the ddm form instance records where uuid = ? and companyId = ? from the database. * * @param uuid the uuid * @param companyId the company ID */ public void removeByUuid_C(String uuid, long companyId); /** * Returns the number of ddm form instance records where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @return the number of matching ddm form instance records */ public int countByUuid_C(String uuid, long companyId); /** * Returns all the ddm form instance records where companyId = ?. * * @param companyId the company ID * @return the matching ddm form instance records */ public java.util.List findByCompanyId( long companyId); /** * Returns a range of all the ddm form instance records 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 DDMFormInstanceRecordModelImpl. 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 ddm form instance records * @param end the upper bound of the range of ddm form instance records (not inclusive) * @return the range of matching ddm form instance records */ public java.util.List findByCompanyId( long companyId, int start, int end); /** * Returns an ordered range of all the ddm form instance records 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 DDMFormInstanceRecordModelImpl. 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 ddm form instance records * @param end the upper bound of the range of ddm form instance records (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching ddm form instance records */ 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 ddm form instance records 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 DDMFormInstanceRecordModelImpl. 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 ddm form instance records * @param end the upper bound of the range of ddm form instance records (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 ddm form instance records */ public java.util.List findByCompanyId( long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean retrieveFromCache); /** * Returns the first ddm form instance record 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 ddm form instance record * @throws NoSuchFormInstanceRecordException if a matching ddm form instance record could not be found */ public DDMFormInstanceRecord findByCompanyId_First( long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchFormInstanceRecordException; /** * Returns the first ddm form instance record 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 ddm form instance record, or null if a matching ddm form instance record could not be found */ public DDMFormInstanceRecord fetchByCompanyId_First( long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last ddm form instance record 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 ddm form instance record * @throws NoSuchFormInstanceRecordException if a matching ddm form instance record could not be found */ public DDMFormInstanceRecord findByCompanyId_Last( long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchFormInstanceRecordException; /** * Returns the last ddm form instance record 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 ddm form instance record, or null if a matching ddm form instance record could not be found */ public DDMFormInstanceRecord fetchByCompanyId_Last( long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the ddm form instance records before and after the current ddm form instance record in the ordered set where companyId = ?. * * @param formInstanceRecordId the primary key of the current ddm form instance record * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next ddm form instance record * @throws NoSuchFormInstanceRecordException if a ddm form instance record with the primary key could not be found */ public DDMFormInstanceRecord[] findByCompanyId_PrevAndNext( long formInstanceRecordId, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchFormInstanceRecordException; /** * Removes all the ddm form instance records where companyId = ? from the database. * * @param companyId the company ID */ public void removeByCompanyId(long companyId); /** * Returns the number of ddm form instance records where companyId = ?. * * @param companyId the company ID * @return the number of matching ddm form instance records */ public int countByCompanyId(long companyId); /** * Returns all the ddm form instance records where formInstanceId = ?. * * @param formInstanceId the form instance ID * @return the matching ddm form instance records */ public java.util.List findByFormInstanceId( long formInstanceId); /** * Returns a range of all the ddm form instance records where formInstanceId = ?. * *

* 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 DDMFormInstanceRecordModelImpl. 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 formInstanceId the form instance ID * @param start the lower bound of the range of ddm form instance records * @param end the upper bound of the range of ddm form instance records (not inclusive) * @return the range of matching ddm form instance records */ public java.util.List findByFormInstanceId( long formInstanceId, int start, int end); /** * Returns an ordered range of all the ddm form instance records where formInstanceId = ?. * *

* 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 DDMFormInstanceRecordModelImpl. 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 formInstanceId the form instance ID * @param start the lower bound of the range of ddm form instance records * @param end the upper bound of the range of ddm form instance records (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching ddm form instance records */ public java.util.List findByFormInstanceId( long formInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns an ordered range of all the ddm form instance records where formInstanceId = ?. * *

* 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 DDMFormInstanceRecordModelImpl. 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 formInstanceId the form instance ID * @param start the lower bound of the range of ddm form instance records * @param end the upper bound of the range of ddm form instance records (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 ddm form instance records */ public java.util.List findByFormInstanceId( long formInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean retrieveFromCache); /** * Returns the first ddm form instance record in the ordered set where formInstanceId = ?. * * @param formInstanceId the form instance ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching ddm form instance record * @throws NoSuchFormInstanceRecordException if a matching ddm form instance record could not be found */ public DDMFormInstanceRecord findByFormInstanceId_First( long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchFormInstanceRecordException; /** * Returns the first ddm form instance record in the ordered set where formInstanceId = ?. * * @param formInstanceId the form instance ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching ddm form instance record, or null if a matching ddm form instance record could not be found */ public DDMFormInstanceRecord fetchByFormInstanceId_First( long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last ddm form instance record in the ordered set where formInstanceId = ?. * * @param formInstanceId the form instance ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching ddm form instance record * @throws NoSuchFormInstanceRecordException if a matching ddm form instance record could not be found */ public DDMFormInstanceRecord findByFormInstanceId_Last( long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchFormInstanceRecordException; /** * Returns the last ddm form instance record in the ordered set where formInstanceId = ?. * * @param formInstanceId the form instance ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching ddm form instance record, or null if a matching ddm form instance record could not be found */ public DDMFormInstanceRecord fetchByFormInstanceId_Last( long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the ddm form instance records before and after the current ddm form instance record in the ordered set where formInstanceId = ?. * * @param formInstanceRecordId the primary key of the current ddm form instance record * @param formInstanceId the form instance ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next ddm form instance record * @throws NoSuchFormInstanceRecordException if a ddm form instance record with the primary key could not be found */ public DDMFormInstanceRecord[] findByFormInstanceId_PrevAndNext( long formInstanceRecordId, long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchFormInstanceRecordException; /** * Removes all the ddm form instance records where formInstanceId = ? from the database. * * @param formInstanceId the form instance ID */ public void removeByFormInstanceId(long formInstanceId); /** * Returns the number of ddm form instance records where formInstanceId = ?. * * @param formInstanceId the form instance ID * @return the number of matching ddm form instance records */ public int countByFormInstanceId(long formInstanceId); /** * Returns all the ddm form instance records where userId = ? and formInstanceId = ?. * * @param userId the user ID * @param formInstanceId the form instance ID * @return the matching ddm form instance records */ public java.util.List findByU_F( long userId, long formInstanceId); /** * Returns a range of all the ddm form instance records where userId = ? and formInstanceId = ?. * *

* 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 DDMFormInstanceRecordModelImpl. 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 userId the user ID * @param formInstanceId the form instance ID * @param start the lower bound of the range of ddm form instance records * @param end the upper bound of the range of ddm form instance records (not inclusive) * @return the range of matching ddm form instance records */ public java.util.List findByU_F( long userId, long formInstanceId, int start, int end); /** * Returns an ordered range of all the ddm form instance records where userId = ? and formInstanceId = ?. * *

* 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 DDMFormInstanceRecordModelImpl. 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 userId the user ID * @param formInstanceId the form instance ID * @param start the lower bound of the range of ddm form instance records * @param end the upper bound of the range of ddm form instance records (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching ddm form instance records */ public java.util.List findByU_F( long userId, long formInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns an ordered range of all the ddm form instance records where userId = ? and formInstanceId = ?. * *

* 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 DDMFormInstanceRecordModelImpl. 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 userId the user ID * @param formInstanceId the form instance ID * @param start the lower bound of the range of ddm form instance records * @param end the upper bound of the range of ddm form instance records (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 ddm form instance records */ public java.util.List findByU_F( long userId, long formInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean retrieveFromCache); /** * Returns the first ddm form instance record in the ordered set where userId = ? and formInstanceId = ?. * * @param userId the user ID * @param formInstanceId the form instance ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching ddm form instance record * @throws NoSuchFormInstanceRecordException if a matching ddm form instance record could not be found */ public DDMFormInstanceRecord findByU_F_First( long userId, long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchFormInstanceRecordException; /** * Returns the first ddm form instance record in the ordered set where userId = ? and formInstanceId = ?. * * @param userId the user ID * @param formInstanceId the form instance ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching ddm form instance record, or null if a matching ddm form instance record could not be found */ public DDMFormInstanceRecord fetchByU_F_First( long userId, long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last ddm form instance record in the ordered set where userId = ? and formInstanceId = ?. * * @param userId the user ID * @param formInstanceId the form instance ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching ddm form instance record * @throws NoSuchFormInstanceRecordException if a matching ddm form instance record could not be found */ public DDMFormInstanceRecord findByU_F_Last( long userId, long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchFormInstanceRecordException; /** * Returns the last ddm form instance record in the ordered set where userId = ? and formInstanceId = ?. * * @param userId the user ID * @param formInstanceId the form instance ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching ddm form instance record, or null if a matching ddm form instance record could not be found */ public DDMFormInstanceRecord fetchByU_F_Last( long userId, long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the ddm form instance records before and after the current ddm form instance record in the ordered set where userId = ? and formInstanceId = ?. * * @param formInstanceRecordId the primary key of the current ddm form instance record * @param userId the user ID * @param formInstanceId the form instance ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next ddm form instance record * @throws NoSuchFormInstanceRecordException if a ddm form instance record with the primary key could not be found */ public DDMFormInstanceRecord[] findByU_F_PrevAndNext( long formInstanceRecordId, long userId, long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchFormInstanceRecordException; /** * Removes all the ddm form instance records where userId = ? and formInstanceId = ? from the database. * * @param userId the user ID * @param formInstanceId the form instance ID */ public void removeByU_F(long userId, long formInstanceId); /** * Returns the number of ddm form instance records where userId = ? and formInstanceId = ?. * * @param userId the user ID * @param formInstanceId the form instance ID * @return the number of matching ddm form instance records */ public int countByU_F(long userId, long formInstanceId); /** * Returns all the ddm form instance records where formInstanceId = ? and formInstanceVersion = ?. * * @param formInstanceId the form instance ID * @param formInstanceVersion the form instance version * @return the matching ddm form instance records */ public java.util.List findByF_F( long formInstanceId, String formInstanceVersion); /** * Returns a range of all the ddm form instance records where formInstanceId = ? and formInstanceVersion = ?. * *

* 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 DDMFormInstanceRecordModelImpl. 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 formInstanceId the form instance ID * @param formInstanceVersion the form instance version * @param start the lower bound of the range of ddm form instance records * @param end the upper bound of the range of ddm form instance records (not inclusive) * @return the range of matching ddm form instance records */ public java.util.List findByF_F( long formInstanceId, String formInstanceVersion, int start, int end); /** * Returns an ordered range of all the ddm form instance records where formInstanceId = ? and formInstanceVersion = ?. * *

* 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 DDMFormInstanceRecordModelImpl. 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 formInstanceId the form instance ID * @param formInstanceVersion the form instance version * @param start the lower bound of the range of ddm form instance records * @param end the upper bound of the range of ddm form instance records (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching ddm form instance records */ public java.util.List findByF_F( long formInstanceId, String formInstanceVersion, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns an ordered range of all the ddm form instance records where formInstanceId = ? and formInstanceVersion = ?. * *

* 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 DDMFormInstanceRecordModelImpl. 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 formInstanceId the form instance ID * @param formInstanceVersion the form instance version * @param start the lower bound of the range of ddm form instance records * @param end the upper bound of the range of ddm form instance records (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 ddm form instance records */ public java.util.List findByF_F( long formInstanceId, String formInstanceVersion, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean retrieveFromCache); /** * Returns the first ddm form instance record in the ordered set where formInstanceId = ? and formInstanceVersion = ?. * * @param formInstanceId the form instance ID * @param formInstanceVersion the form instance version * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching ddm form instance record * @throws NoSuchFormInstanceRecordException if a matching ddm form instance record could not be found */ public DDMFormInstanceRecord findByF_F_First( long formInstanceId, String formInstanceVersion, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchFormInstanceRecordException; /** * Returns the first ddm form instance record in the ordered set where formInstanceId = ? and formInstanceVersion = ?. * * @param formInstanceId the form instance ID * @param formInstanceVersion the form instance version * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching ddm form instance record, or null if a matching ddm form instance record could not be found */ public DDMFormInstanceRecord fetchByF_F_First( long formInstanceId, String formInstanceVersion, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last ddm form instance record in the ordered set where formInstanceId = ? and formInstanceVersion = ?. * * @param formInstanceId the form instance ID * @param formInstanceVersion the form instance version * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching ddm form instance record * @throws NoSuchFormInstanceRecordException if a matching ddm form instance record could not be found */ public DDMFormInstanceRecord findByF_F_Last( long formInstanceId, String formInstanceVersion, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchFormInstanceRecordException; /** * Returns the last ddm form instance record in the ordered set where formInstanceId = ? and formInstanceVersion = ?. * * @param formInstanceId the form instance ID * @param formInstanceVersion the form instance version * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching ddm form instance record, or null if a matching ddm form instance record could not be found */ public DDMFormInstanceRecord fetchByF_F_Last( long formInstanceId, String formInstanceVersion, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the ddm form instance records before and after the current ddm form instance record in the ordered set where formInstanceId = ? and formInstanceVersion = ?. * * @param formInstanceRecordId the primary key of the current ddm form instance record * @param formInstanceId the form instance ID * @param formInstanceVersion the form instance version * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next ddm form instance record * @throws NoSuchFormInstanceRecordException if a ddm form instance record with the primary key could not be found */ public DDMFormInstanceRecord[] findByF_F_PrevAndNext( long formInstanceRecordId, long formInstanceId, String formInstanceVersion, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchFormInstanceRecordException; /** * Removes all the ddm form instance records where formInstanceId = ? and formInstanceVersion = ? from the database. * * @param formInstanceId the form instance ID * @param formInstanceVersion the form instance version */ public void removeByF_F(long formInstanceId, String formInstanceVersion); /** * Returns the number of ddm form instance records where formInstanceId = ? and formInstanceVersion = ?. * * @param formInstanceId the form instance ID * @param formInstanceVersion the form instance version * @return the number of matching ddm form instance records */ public int countByF_F(long formInstanceId, String formInstanceVersion); /** * Caches the ddm form instance record in the entity cache if it is enabled. * * @param ddmFormInstanceRecord the ddm form instance record */ public void cacheResult(DDMFormInstanceRecord ddmFormInstanceRecord); /** * Caches the ddm form instance records in the entity cache if it is enabled. * * @param ddmFormInstanceRecords the ddm form instance records */ public void cacheResult( java.util.List ddmFormInstanceRecords); /** * Creates a new ddm form instance record with the primary key. Does not add the ddm form instance record to the database. * * @param formInstanceRecordId the primary key for the new ddm form instance record * @return the new ddm form instance record */ public DDMFormInstanceRecord create(long formInstanceRecordId); /** * Removes the ddm form instance record with the primary key from the database. Also notifies the appropriate model listeners. * * @param formInstanceRecordId the primary key of the ddm form instance record * @return the ddm form instance record that was removed * @throws NoSuchFormInstanceRecordException if a ddm form instance record with the primary key could not be found */ public DDMFormInstanceRecord remove(long formInstanceRecordId) throws NoSuchFormInstanceRecordException; public DDMFormInstanceRecord updateImpl( DDMFormInstanceRecord ddmFormInstanceRecord); /** * Returns the ddm form instance record with the primary key or throws a NoSuchFormInstanceRecordException if it could not be found. * * @param formInstanceRecordId the primary key of the ddm form instance record * @return the ddm form instance record * @throws NoSuchFormInstanceRecordException if a ddm form instance record with the primary key could not be found */ public DDMFormInstanceRecord findByPrimaryKey(long formInstanceRecordId) throws NoSuchFormInstanceRecordException; /** * Returns the ddm form instance record with the primary key or returns null if it could not be found. * * @param formInstanceRecordId the primary key of the ddm form instance record * @return the ddm form instance record, or null if a ddm form instance record with the primary key could not be found */ public DDMFormInstanceRecord fetchByPrimaryKey(long formInstanceRecordId); /** * Returns all the ddm form instance records. * * @return the ddm form instance records */ public java.util.List findAll(); /** * Returns a range of all the ddm form instance records. * *

* 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 DDMFormInstanceRecordModelImpl. 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 ddm form instance records * @param end the upper bound of the range of ddm form instance records (not inclusive) * @return the range of ddm form instance records */ public java.util.List findAll(int start, int end); /** * Returns an ordered range of all the ddm form instance records. * *

* 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 DDMFormInstanceRecordModelImpl. 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 ddm form instance records * @param end the upper bound of the range of ddm form instance records (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of ddm form instance records */ public java.util.List findAll( int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns an ordered range of all the ddm form instance records. * *

* 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 DDMFormInstanceRecordModelImpl. 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 ddm form instance records * @param end the upper bound of the range of ddm form instance records (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 ddm form instance records */ public java.util.List findAll( int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean retrieveFromCache); /** * Removes all the ddm form instance records from the database. */ public void removeAll(); /** * Returns the number of ddm form instance records. * * @return the number of ddm form instance records */ public int countAll(); @Override public Set getBadColumnNames(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy