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

com.liferay.dynamic.data.mapping.service.persistence.DDMFormInstanceRecordVersionPersistence 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.NoSuchFormInstanceRecordVersionException;
import com.liferay.dynamic.data.mapping.model.DDMFormInstanceRecordVersion;
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 version service.
 *
 * 

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

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

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

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

* 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 DDMFormInstanceRecordVersionModelImpl. 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 formInstanceRecordId the form instance record ID * @param start the lower bound of the range of ddm form instance record versions * @param end the upper bound of the range of ddm form instance record versions (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 record versions */ public java.util.List findByFormInstanceRecordId( long formInstanceRecordId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean retrieveFromCache); /** * Returns the first ddm form instance record version in the ordered set where formInstanceRecordId = ?. * * @param formInstanceRecordId the form instance record ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching ddm form instance record version * @throws NoSuchFormInstanceRecordVersionException if a matching ddm form instance record version could not be found */ public DDMFormInstanceRecordVersion findByFormInstanceRecordId_First( long formInstanceRecordId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchFormInstanceRecordVersionException; /** * Returns the first ddm form instance record version in the ordered set where formInstanceRecordId = ?. * * @param formInstanceRecordId the form instance record ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching ddm form instance record version, or null if a matching ddm form instance record version could not be found */ public DDMFormInstanceRecordVersion fetchByFormInstanceRecordId_First( long formInstanceRecordId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last ddm form instance record version in the ordered set where formInstanceRecordId = ?. * * @param formInstanceRecordId the form instance record ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching ddm form instance record version * @throws NoSuchFormInstanceRecordVersionException if a matching ddm form instance record version could not be found */ public DDMFormInstanceRecordVersion findByFormInstanceRecordId_Last( long formInstanceRecordId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchFormInstanceRecordVersionException; /** * Returns the last ddm form instance record version in the ordered set where formInstanceRecordId = ?. * * @param formInstanceRecordId the form instance record ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching ddm form instance record version, or null if a matching ddm form instance record version could not be found */ public DDMFormInstanceRecordVersion fetchByFormInstanceRecordId_Last( long formInstanceRecordId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the ddm form instance record versions before and after the current ddm form instance record version in the ordered set where formInstanceRecordId = ?. * * @param formInstanceRecordVersionId the primary key of the current ddm form instance record version * @param formInstanceRecordId the form instance record ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next ddm form instance record version * @throws NoSuchFormInstanceRecordVersionException if a ddm form instance record version with the primary key could not be found */ public DDMFormInstanceRecordVersion[] findByFormInstanceRecordId_PrevAndNext( long formInstanceRecordVersionId, long formInstanceRecordId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchFormInstanceRecordVersionException; /** * Removes all the ddm form instance record versions where formInstanceRecordId = ? from the database. * * @param formInstanceRecordId the form instance record ID */ public void removeByFormInstanceRecordId(long formInstanceRecordId); /** * Returns the number of ddm form instance record versions where formInstanceRecordId = ?. * * @param formInstanceRecordId the form instance record ID * @return the number of matching ddm form instance record versions */ public int countByFormInstanceRecordId(long formInstanceRecordId); /** * Returns all the ddm form instance record versions where formInstanceId = ? and formInstanceVersion = ?. * * @param formInstanceId the form instance ID * @param formInstanceVersion the form instance version * @return the matching ddm form instance record versions */ public java.util.List findByF_F( long formInstanceId, String formInstanceVersion); /** * Returns a range of all the ddm form instance record versions 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 DDMFormInstanceRecordVersionModelImpl. 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 record versions * @param end the upper bound of the range of ddm form instance record versions (not inclusive) * @return the range of matching ddm form instance record versions */ public java.util.List findByF_F( long formInstanceId, String formInstanceVersion, int start, int end); /** * Returns an ordered range of all the ddm form instance record versions 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 DDMFormInstanceRecordVersionModelImpl. 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 record versions * @param end the upper bound of the range of ddm form instance record versions (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching ddm form instance record versions */ 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 record versions 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 DDMFormInstanceRecordVersionModelImpl. 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 record versions * @param end the upper bound of the range of ddm form instance record versions (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 record versions */ 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 version 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 version * @throws NoSuchFormInstanceRecordVersionException if a matching ddm form instance record version could not be found */ public DDMFormInstanceRecordVersion findByF_F_First( long formInstanceId, String formInstanceVersion, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchFormInstanceRecordVersionException; /** * Returns the first ddm form instance record version 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 version, or null if a matching ddm form instance record version could not be found */ public DDMFormInstanceRecordVersion fetchByF_F_First( long formInstanceId, String formInstanceVersion, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last ddm form instance record version 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 version * @throws NoSuchFormInstanceRecordVersionException if a matching ddm form instance record version could not be found */ public DDMFormInstanceRecordVersion findByF_F_Last( long formInstanceId, String formInstanceVersion, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchFormInstanceRecordVersionException; /** * Returns the last ddm form instance record version 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 version, or null if a matching ddm form instance record version could not be found */ public DDMFormInstanceRecordVersion fetchByF_F_Last( long formInstanceId, String formInstanceVersion, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the ddm form instance record versions before and after the current ddm form instance record version in the ordered set where formInstanceId = ? and formInstanceVersion = ?. * * @param formInstanceRecordVersionId the primary key of the current ddm form instance record version * @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 version * @throws NoSuchFormInstanceRecordVersionException if a ddm form instance record version with the primary key could not be found */ public DDMFormInstanceRecordVersion[] findByF_F_PrevAndNext( long formInstanceRecordVersionId, long formInstanceId, String formInstanceVersion, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchFormInstanceRecordVersionException; /** * Removes all the ddm form instance record versions 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 record versions where formInstanceId = ? and formInstanceVersion = ?. * * @param formInstanceId the form instance ID * @param formInstanceVersion the form instance version * @return the number of matching ddm form instance record versions */ public int countByF_F(long formInstanceId, String formInstanceVersion); /** * Returns the ddm form instance record version where formInstanceRecordId = ? and version = ? or throws a NoSuchFormInstanceRecordVersionException if it could not be found. * * @param formInstanceRecordId the form instance record ID * @param version the version * @return the matching ddm form instance record version * @throws NoSuchFormInstanceRecordVersionException if a matching ddm form instance record version could not be found */ public DDMFormInstanceRecordVersion findByF_V( long formInstanceRecordId, String version) throws NoSuchFormInstanceRecordVersionException; /** * Returns the ddm form instance record version where formInstanceRecordId = ? and version = ? or returns null if it could not be found. Uses the finder cache. * * @param formInstanceRecordId the form instance record ID * @param version the version * @return the matching ddm form instance record version, or null if a matching ddm form instance record version could not be found */ public DDMFormInstanceRecordVersion fetchByF_V( long formInstanceRecordId, String version); /** * Returns the ddm form instance record version where formInstanceRecordId = ? and version = ? or returns null if it could not be found, optionally using the finder cache. * * @param formInstanceRecordId the form instance record ID * @param version the version * @param retrieveFromCache whether to retrieve from the finder cache * @return the matching ddm form instance record version, or null if a matching ddm form instance record version could not be found */ public DDMFormInstanceRecordVersion fetchByF_V( long formInstanceRecordId, String version, boolean retrieveFromCache); /** * Removes the ddm form instance record version where formInstanceRecordId = ? and version = ? from the database. * * @param formInstanceRecordId the form instance record ID * @param version the version * @return the ddm form instance record version that was removed */ public DDMFormInstanceRecordVersion removeByF_V( long formInstanceRecordId, String version) throws NoSuchFormInstanceRecordVersionException; /** * Returns the number of ddm form instance record versions where formInstanceRecordId = ? and version = ?. * * @param formInstanceRecordId the form instance record ID * @param version the version * @return the number of matching ddm form instance record versions */ public int countByF_V(long formInstanceRecordId, String version); /** * Returns all the ddm form instance record versions where formInstanceRecordId = ? and status = ?. * * @param formInstanceRecordId the form instance record ID * @param status the status * @return the matching ddm form instance record versions */ public java.util.List findByF_S( long formInstanceRecordId, int status); /** * Returns a range of all the ddm form instance record versions where formInstanceRecordId = ? and status = ?. * *

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

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

* 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 DDMFormInstanceRecordVersionModelImpl. 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 formInstanceRecordId the form instance record ID * @param status the status * @param start the lower bound of the range of ddm form instance record versions * @param end the upper bound of the range of ddm form instance record versions (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 record versions */ public java.util.List findByF_S( long formInstanceRecordId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean retrieveFromCache); /** * Returns the first ddm form instance record version in the ordered set where formInstanceRecordId = ? and status = ?. * * @param formInstanceRecordId the form instance record ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching ddm form instance record version * @throws NoSuchFormInstanceRecordVersionException if a matching ddm form instance record version could not be found */ public DDMFormInstanceRecordVersion findByF_S_First( long formInstanceRecordId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchFormInstanceRecordVersionException; /** * Returns the first ddm form instance record version in the ordered set where formInstanceRecordId = ? and status = ?. * * @param formInstanceRecordId the form instance record ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching ddm form instance record version, or null if a matching ddm form instance record version could not be found */ public DDMFormInstanceRecordVersion fetchByF_S_First( long formInstanceRecordId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last ddm form instance record version in the ordered set where formInstanceRecordId = ? and status = ?. * * @param formInstanceRecordId the form instance record ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching ddm form instance record version * @throws NoSuchFormInstanceRecordVersionException if a matching ddm form instance record version could not be found */ public DDMFormInstanceRecordVersion findByF_S_Last( long formInstanceRecordId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchFormInstanceRecordVersionException; /** * Returns the last ddm form instance record version in the ordered set where formInstanceRecordId = ? and status = ?. * * @param formInstanceRecordId the form instance record ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching ddm form instance record version, or null if a matching ddm form instance record version could not be found */ public DDMFormInstanceRecordVersion fetchByF_S_Last( long formInstanceRecordId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the ddm form instance record versions before and after the current ddm form instance record version in the ordered set where formInstanceRecordId = ? and status = ?. * * @param formInstanceRecordVersionId the primary key of the current ddm form instance record version * @param formInstanceRecordId the form instance record ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next ddm form instance record version * @throws NoSuchFormInstanceRecordVersionException if a ddm form instance record version with the primary key could not be found */ public DDMFormInstanceRecordVersion[] findByF_S_PrevAndNext( long formInstanceRecordVersionId, long formInstanceRecordId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchFormInstanceRecordVersionException; /** * Removes all the ddm form instance record versions where formInstanceRecordId = ? and status = ? from the database. * * @param formInstanceRecordId the form instance record ID * @param status the status */ public void removeByF_S(long formInstanceRecordId, int status); /** * Returns the number of ddm form instance record versions where formInstanceRecordId = ? and status = ?. * * @param formInstanceRecordId the form instance record ID * @param status the status * @return the number of matching ddm form instance record versions */ public int countByF_S(long formInstanceRecordId, int status); /** * Returns all the ddm form instance record versions where userId = ? and formInstanceId = ? and formInstanceVersion = ? and status = ?. * * @param userId the user ID * @param formInstanceId the form instance ID * @param formInstanceVersion the form instance version * @param status the status * @return the matching ddm form instance record versions */ public java.util.List findByU_F_F_S( long userId, long formInstanceId, String formInstanceVersion, int status); /** * Returns a range of all the ddm form instance record versions where userId = ? and formInstanceId = ? and formInstanceVersion = ? and status = ?. * *

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

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

* 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 DDMFormInstanceRecordVersionModelImpl. 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 formInstanceVersion the form instance version * @param status the status * @param start the lower bound of the range of ddm form instance record versions * @param end the upper bound of the range of ddm form instance record versions (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 record versions */ public java.util.List findByU_F_F_S( long userId, long formInstanceId, String formInstanceVersion, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean retrieveFromCache); /** * Returns the first ddm form instance record version in the ordered set where userId = ? and formInstanceId = ? and formInstanceVersion = ? and status = ?. * * @param userId the user ID * @param formInstanceId the form instance ID * @param formInstanceVersion the form instance version * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching ddm form instance record version * @throws NoSuchFormInstanceRecordVersionException if a matching ddm form instance record version could not be found */ public DDMFormInstanceRecordVersion findByU_F_F_S_First( long userId, long formInstanceId, String formInstanceVersion, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchFormInstanceRecordVersionException; /** * Returns the first ddm form instance record version in the ordered set where userId = ? and formInstanceId = ? and formInstanceVersion = ? and status = ?. * * @param userId the user ID * @param formInstanceId the form instance ID * @param formInstanceVersion the form instance version * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching ddm form instance record version, or null if a matching ddm form instance record version could not be found */ public DDMFormInstanceRecordVersion fetchByU_F_F_S_First( long userId, long formInstanceId, String formInstanceVersion, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last ddm form instance record version in the ordered set where userId = ? and formInstanceId = ? and formInstanceVersion = ? and status = ?. * * @param userId the user ID * @param formInstanceId the form instance ID * @param formInstanceVersion the form instance version * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching ddm form instance record version * @throws NoSuchFormInstanceRecordVersionException if a matching ddm form instance record version could not be found */ public DDMFormInstanceRecordVersion findByU_F_F_S_Last( long userId, long formInstanceId, String formInstanceVersion, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchFormInstanceRecordVersionException; /** * Returns the last ddm form instance record version in the ordered set where userId = ? and formInstanceId = ? and formInstanceVersion = ? and status = ?. * * @param userId the user ID * @param formInstanceId the form instance ID * @param formInstanceVersion the form instance version * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching ddm form instance record version, or null if a matching ddm form instance record version could not be found */ public DDMFormInstanceRecordVersion fetchByU_F_F_S_Last( long userId, long formInstanceId, String formInstanceVersion, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the ddm form instance record versions before and after the current ddm form instance record version in the ordered set where userId = ? and formInstanceId = ? and formInstanceVersion = ? and status = ?. * * @param formInstanceRecordVersionId the primary key of the current ddm form instance record version * @param userId the user ID * @param formInstanceId the form instance ID * @param formInstanceVersion the form instance version * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next ddm form instance record version * @throws NoSuchFormInstanceRecordVersionException if a ddm form instance record version with the primary key could not be found */ public DDMFormInstanceRecordVersion[] findByU_F_F_S_PrevAndNext( long formInstanceRecordVersionId, long userId, long formInstanceId, String formInstanceVersion, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchFormInstanceRecordVersionException; /** * Removes all the ddm form instance record versions where userId = ? and formInstanceId = ? and formInstanceVersion = ? and status = ? from the database. * * @param userId the user ID * @param formInstanceId the form instance ID * @param formInstanceVersion the form instance version * @param status the status */ public void removeByU_F_F_S( long userId, long formInstanceId, String formInstanceVersion, int status); /** * Returns the number of ddm form instance record versions where userId = ? and formInstanceId = ? and formInstanceVersion = ? and status = ?. * * @param userId the user ID * @param formInstanceId the form instance ID * @param formInstanceVersion the form instance version * @param status the status * @return the number of matching ddm form instance record versions */ public int countByU_F_F_S( long userId, long formInstanceId, String formInstanceVersion, int status); /** * Caches the ddm form instance record version in the entity cache if it is enabled. * * @param ddmFormInstanceRecordVersion the ddm form instance record version */ public void cacheResult( DDMFormInstanceRecordVersion ddmFormInstanceRecordVersion); /** * Caches the ddm form instance record versions in the entity cache if it is enabled. * * @param ddmFormInstanceRecordVersions the ddm form instance record versions */ public void cacheResult( java.util.List ddmFormInstanceRecordVersions); /** * Creates a new ddm form instance record version with the primary key. Does not add the ddm form instance record version to the database. * * @param formInstanceRecordVersionId the primary key for the new ddm form instance record version * @return the new ddm form instance record version */ public DDMFormInstanceRecordVersion create( long formInstanceRecordVersionId); /** * Removes the ddm form instance record version with the primary key from the database. Also notifies the appropriate model listeners. * * @param formInstanceRecordVersionId the primary key of the ddm form instance record version * @return the ddm form instance record version that was removed * @throws NoSuchFormInstanceRecordVersionException if a ddm form instance record version with the primary key could not be found */ public DDMFormInstanceRecordVersion remove(long formInstanceRecordVersionId) throws NoSuchFormInstanceRecordVersionException; public DDMFormInstanceRecordVersion updateImpl( DDMFormInstanceRecordVersion ddmFormInstanceRecordVersion); /** * Returns the ddm form instance record version with the primary key or throws a NoSuchFormInstanceRecordVersionException if it could not be found. * * @param formInstanceRecordVersionId the primary key of the ddm form instance record version * @return the ddm form instance record version * @throws NoSuchFormInstanceRecordVersionException if a ddm form instance record version with the primary key could not be found */ public DDMFormInstanceRecordVersion findByPrimaryKey( long formInstanceRecordVersionId) throws NoSuchFormInstanceRecordVersionException; /** * Returns the ddm form instance record version with the primary key or returns null if it could not be found. * * @param formInstanceRecordVersionId the primary key of the ddm form instance record version * @return the ddm form instance record version, or null if a ddm form instance record version with the primary key could not be found */ public DDMFormInstanceRecordVersion fetchByPrimaryKey( long formInstanceRecordVersionId); /** * Returns all the ddm form instance record versions. * * @return the ddm form instance record versions */ public java.util.List findAll(); /** * Returns a range of all the ddm form instance record versions. * *

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

* 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 DDMFormInstanceRecordVersionModelImpl. 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 record versions * @param end the upper bound of the range of ddm form instance record versions (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of ddm form instance record versions */ 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 record versions. * *

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy