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

com.liferay.dynamic.data.mapping.service.persistence.DDMTemplatePersistence 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.NoSuchTemplateException;
import com.liferay.dynamic.data.mapping.model.DDMTemplate;
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 template service.
 *
 * 

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

* * @author Brian Wing Shun Chan * @see DDMTemplateUtil * @generated */ @ProviderType public interface DDMTemplatePersistence extends BasePersistence { /* * NOTE FOR DEVELOPERS: * * Never modify or reference this interface directly. Always use {@link DDMTemplateUtil} to access the ddm template persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. */ @Override public Map fetchByPrimaryKeys( Set primaryKeys); /** * Returns all the ddm templates where uuid = ?. * * @param uuid the uuid * @return the matching ddm templates */ public java.util.List findByUuid(String uuid); /** * Returns a range of all the ddm templates 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 DDMTemplateModelImpl. 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 templates * @param end the upper bound of the range of ddm templates (not inclusive) * @return the range of matching ddm templates */ public java.util.List findByUuid( String uuid, int start, int end); /** * Returns an ordered range of all the ddm templates 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 DDMTemplateModelImpl. 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 templates * @param end the upper bound of the range of ddm templates (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching ddm templates */ 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 templates 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 DDMTemplateModelImpl. 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 templates * @param end the upper bound of the range of ddm templates (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 templates */ public java.util.List findByUuid( String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean retrieveFromCache); /** * Returns the first ddm template 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 template * @throws NoSuchTemplateException if a matching ddm template could not be found */ public DDMTemplate findByUuid_First( String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTemplateException; /** * Returns the first ddm template 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 template, or null if a matching ddm template could not be found */ public DDMTemplate fetchByUuid_First( String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last ddm template 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 template * @throws NoSuchTemplateException if a matching ddm template could not be found */ public DDMTemplate findByUuid_Last( String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTemplateException; /** * Returns the last ddm template 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 template, or null if a matching ddm template could not be found */ public DDMTemplate fetchByUuid_Last( String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the ddm templates before and after the current ddm template in the ordered set where uuid = ?. * * @param templateId the primary key of the current ddm template * @param uuid the uuid * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next ddm template * @throws NoSuchTemplateException if a ddm template with the primary key could not be found */ public DDMTemplate[] findByUuid_PrevAndNext( long templateId, String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTemplateException; /** * Removes all the ddm templates where uuid = ? from the database. * * @param uuid the uuid */ public void removeByUuid(String uuid); /** * Returns the number of ddm templates where uuid = ?. * * @param uuid the uuid * @return the number of matching ddm templates */ public int countByUuid(String uuid); /** * Returns the ddm template where uuid = ? and groupId = ? or throws a NoSuchTemplateException if it could not be found. * * @param uuid the uuid * @param groupId the group ID * @return the matching ddm template * @throws NoSuchTemplateException if a matching ddm template could not be found */ public DDMTemplate findByUUID_G(String uuid, long groupId) throws NoSuchTemplateException; /** * Returns the ddm template 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 template, or null if a matching ddm template could not be found */ public DDMTemplate fetchByUUID_G(String uuid, long groupId); /** * Returns the ddm template 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 template, or null if a matching ddm template could not be found */ public DDMTemplate fetchByUUID_G( String uuid, long groupId, boolean retrieveFromCache); /** * Removes the ddm template where uuid = ? and groupId = ? from the database. * * @param uuid the uuid * @param groupId the group ID * @return the ddm template that was removed */ public DDMTemplate removeByUUID_G(String uuid, long groupId) throws NoSuchTemplateException; /** * Returns the number of ddm templates where uuid = ? and groupId = ?. * * @param uuid the uuid * @param groupId the group ID * @return the number of matching ddm templates */ public int countByUUID_G(String uuid, long groupId); /** * Returns all the ddm templates where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @return the matching ddm templates */ public java.util.List findByUuid_C( String uuid, long companyId); /** * Returns a range of all the ddm templates 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 DDMTemplateModelImpl. 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 templates * @param end the upper bound of the range of ddm templates (not inclusive) * @return the range of matching ddm templates */ public java.util.List findByUuid_C( String uuid, long companyId, int start, int end); /** * Returns an ordered range of all the ddm templates 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 DDMTemplateModelImpl. 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 templates * @param end the upper bound of the range of ddm templates (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching ddm templates */ 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 templates 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 DDMTemplateModelImpl. 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 templates * @param end the upper bound of the range of ddm templates (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 templates */ 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 template 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 template * @throws NoSuchTemplateException if a matching ddm template could not be found */ public DDMTemplate findByUuid_C_First( String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTemplateException; /** * Returns the first ddm template 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 template, or null if a matching ddm template could not be found */ public DDMTemplate fetchByUuid_C_First( String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last ddm template 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 template * @throws NoSuchTemplateException if a matching ddm template could not be found */ public DDMTemplate findByUuid_C_Last( String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTemplateException; /** * Returns the last ddm template 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 template, or null if a matching ddm template could not be found */ public DDMTemplate fetchByUuid_C_Last( String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the ddm templates before and after the current ddm template in the ordered set where uuid = ? and companyId = ?. * * @param templateId the primary key of the current ddm template * @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 template * @throws NoSuchTemplateException if a ddm template with the primary key could not be found */ public DDMTemplate[] findByUuid_C_PrevAndNext( long templateId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTemplateException; /** * Removes all the ddm templates 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 templates where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @return the number of matching ddm templates */ public int countByUuid_C(String uuid, long companyId); /** * Returns all the ddm templates where groupId = ?. * * @param groupId the group ID * @return the matching ddm templates */ public java.util.List findByGroupId(long groupId); /** * Returns a range of all the ddm templates where groupId = ?. * *

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

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

* 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 DDMTemplateModelImpl. 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 groupId the group ID * @param start the lower bound of the range of ddm templates * @param end the upper bound of the range of ddm templates (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 templates */ public java.util.List findByGroupId( long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean retrieveFromCache); /** * Returns the first ddm template in the ordered set where groupId = ?. * * @param groupId the group ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching ddm template * @throws NoSuchTemplateException if a matching ddm template could not be found */ public DDMTemplate findByGroupId_First( long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTemplateException; /** * Returns the first ddm template in the ordered set where groupId = ?. * * @param groupId the group ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching ddm template, or null if a matching ddm template could not be found */ public DDMTemplate fetchByGroupId_First( long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last ddm template in the ordered set where groupId = ?. * * @param groupId the group ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching ddm template * @throws NoSuchTemplateException if a matching ddm template could not be found */ public DDMTemplate findByGroupId_Last( long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTemplateException; /** * Returns the last ddm template in the ordered set where groupId = ?. * * @param groupId the group ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching ddm template, or null if a matching ddm template could not be found */ public DDMTemplate fetchByGroupId_Last( long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the ddm templates before and after the current ddm template in the ordered set where groupId = ?. * * @param templateId the primary key of the current ddm template * @param groupId the group ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next ddm template * @throws NoSuchTemplateException if a ddm template with the primary key could not be found */ public DDMTemplate[] findByGroupId_PrevAndNext( long templateId, long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTemplateException; /** * Returns all the ddm templates that the user has permission to view where groupId = ?. * * @param groupId the group ID * @return the matching ddm templates that the user has permission to view */ public java.util.List filterFindByGroupId(long groupId); /** * Returns a range of all the ddm templates that the user has permission to view where groupId = ?. * *

* 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 DDMTemplateModelImpl. 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 groupId the group ID * @param start the lower bound of the range of ddm templates * @param end the upper bound of the range of ddm templates (not inclusive) * @return the range of matching ddm templates that the user has permission to view */ public java.util.List filterFindByGroupId( long groupId, int start, int end); /** * Returns an ordered range of all the ddm templates that the user has permissions to view where groupId = ?. * *

* 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 DDMTemplateModelImpl. 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 groupId the group ID * @param start the lower bound of the range of ddm templates * @param end the upper bound of the range of ddm templates (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching ddm templates that the user has permission to view */ public java.util.List filterFindByGroupId( long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the ddm templates before and after the current ddm template in the ordered set of ddm templates that the user has permission to view where groupId = ?. * * @param templateId the primary key of the current ddm template * @param groupId the group ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next ddm template * @throws NoSuchTemplateException if a ddm template with the primary key could not be found */ public DDMTemplate[] filterFindByGroupId_PrevAndNext( long templateId, long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTemplateException; /** * Removes all the ddm templates where groupId = ? from the database. * * @param groupId the group ID */ public void removeByGroupId(long groupId); /** * Returns the number of ddm templates where groupId = ?. * * @param groupId the group ID * @return the number of matching ddm templates */ public int countByGroupId(long groupId); /** * Returns the number of ddm templates that the user has permission to view where groupId = ?. * * @param groupId the group ID * @return the number of matching ddm templates that the user has permission to view */ public int filterCountByGroupId(long groupId); /** * Returns all the ddm templates where classPK = ?. * * @param classPK the class pk * @return the matching ddm templates */ public java.util.List findByClassPK(long classPK); /** * Returns a range of all the ddm templates where classPK = ?. * *

* 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 DDMTemplateModelImpl. 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 classPK the class pk * @param start the lower bound of the range of ddm templates * @param end the upper bound of the range of ddm templates (not inclusive) * @return the range of matching ddm templates */ public java.util.List findByClassPK( long classPK, int start, int end); /** * Returns an ordered range of all the ddm templates where classPK = ?. * *

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

* 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 DDMTemplateModelImpl. 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 classPK the class pk * @param start the lower bound of the range of ddm templates * @param end the upper bound of the range of ddm templates (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 templates */ public java.util.List findByClassPK( long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean retrieveFromCache); /** * Returns the first ddm template in the ordered set where classPK = ?. * * @param classPK the class pk * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching ddm template * @throws NoSuchTemplateException if a matching ddm template could not be found */ public DDMTemplate findByClassPK_First( long classPK, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTemplateException; /** * Returns the first ddm template in the ordered set where classPK = ?. * * @param classPK the class pk * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching ddm template, or null if a matching ddm template could not be found */ public DDMTemplate fetchByClassPK_First( long classPK, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last ddm template in the ordered set where classPK = ?. * * @param classPK the class pk * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching ddm template * @throws NoSuchTemplateException if a matching ddm template could not be found */ public DDMTemplate findByClassPK_Last( long classPK, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTemplateException; /** * Returns the last ddm template in the ordered set where classPK = ?. * * @param classPK the class pk * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching ddm template, or null if a matching ddm template could not be found */ public DDMTemplate fetchByClassPK_Last( long classPK, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the ddm templates before and after the current ddm template in the ordered set where classPK = ?. * * @param templateId the primary key of the current ddm template * @param classPK the class pk * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next ddm template * @throws NoSuchTemplateException if a ddm template with the primary key could not be found */ public DDMTemplate[] findByClassPK_PrevAndNext( long templateId, long classPK, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTemplateException; /** * Removes all the ddm templates where classPK = ? from the database. * * @param classPK the class pk */ public void removeByClassPK(long classPK); /** * Returns the number of ddm templates where classPK = ?. * * @param classPK the class pk * @return the number of matching ddm templates */ public int countByClassPK(long classPK); /** * Returns all the ddm templates where templateKey = ?. * * @param templateKey the template key * @return the matching ddm templates */ public java.util.List findByTemplateKey(String templateKey); /** * Returns a range of all the ddm templates where templateKey = ?. * *

* 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 DDMTemplateModelImpl. 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 templateKey the template key * @param start the lower bound of the range of ddm templates * @param end the upper bound of the range of ddm templates (not inclusive) * @return the range of matching ddm templates */ public java.util.List findByTemplateKey( String templateKey, int start, int end); /** * Returns an ordered range of all the ddm templates where templateKey = ?. * *

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

* 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 DDMTemplateModelImpl. 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 templateKey the template key * @param start the lower bound of the range of ddm templates * @param end the upper bound of the range of ddm templates (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 templates */ public java.util.List findByTemplateKey( String templateKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean retrieveFromCache); /** * Returns the first ddm template in the ordered set where templateKey = ?. * * @param templateKey the template key * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching ddm template * @throws NoSuchTemplateException if a matching ddm template could not be found */ public DDMTemplate findByTemplateKey_First( String templateKey, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTemplateException; /** * Returns the first ddm template in the ordered set where templateKey = ?. * * @param templateKey the template key * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching ddm template, or null if a matching ddm template could not be found */ public DDMTemplate fetchByTemplateKey_First( String templateKey, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last ddm template in the ordered set where templateKey = ?. * * @param templateKey the template key * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching ddm template * @throws NoSuchTemplateException if a matching ddm template could not be found */ public DDMTemplate findByTemplateKey_Last( String templateKey, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTemplateException; /** * Returns the last ddm template in the ordered set where templateKey = ?. * * @param templateKey the template key * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching ddm template, or null if a matching ddm template could not be found */ public DDMTemplate fetchByTemplateKey_Last( String templateKey, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the ddm templates before and after the current ddm template in the ordered set where templateKey = ?. * * @param templateId the primary key of the current ddm template * @param templateKey the template key * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next ddm template * @throws NoSuchTemplateException if a ddm template with the primary key could not be found */ public DDMTemplate[] findByTemplateKey_PrevAndNext( long templateId, String templateKey, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTemplateException; /** * Removes all the ddm templates where templateKey = ? from the database. * * @param templateKey the template key */ public void removeByTemplateKey(String templateKey); /** * Returns the number of ddm templates where templateKey = ?. * * @param templateKey the template key * @return the number of matching ddm templates */ public int countByTemplateKey(String templateKey); /** * Returns all the ddm templates where type = ?. * * @param type the type * @return the matching ddm templates */ public java.util.List findByType(String type); /** * Returns a range of all the ddm templates where type = ?. * *

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

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

* 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 DDMTemplateModelImpl. 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 type the type * @param start the lower bound of the range of ddm templates * @param end the upper bound of the range of ddm templates (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 templates */ public java.util.List findByType( String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean retrieveFromCache); /** * Returns the first ddm template in the ordered set where type = ?. * * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching ddm template * @throws NoSuchTemplateException if a matching ddm template could not be found */ public DDMTemplate findByType_First( String type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTemplateException; /** * Returns the first ddm template in the ordered set where type = ?. * * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching ddm template, or null if a matching ddm template could not be found */ public DDMTemplate fetchByType_First( String type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last ddm template in the ordered set where type = ?. * * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching ddm template * @throws NoSuchTemplateException if a matching ddm template could not be found */ public DDMTemplate findByType_Last( String type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTemplateException; /** * Returns the last ddm template in the ordered set where type = ?. * * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching ddm template, or null if a matching ddm template could not be found */ public DDMTemplate fetchByType_Last( String type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the ddm templates before and after the current ddm template in the ordered set where type = ?. * * @param templateId the primary key of the current ddm template * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next ddm template * @throws NoSuchTemplateException if a ddm template with the primary key could not be found */ public DDMTemplate[] findByType_PrevAndNext( long templateId, String type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTemplateException; /** * Removes all the ddm templates where type = ? from the database. * * @param type the type */ public void removeByType(String type); /** * Returns the number of ddm templates where type = ?. * * @param type the type * @return the number of matching ddm templates */ public int countByType(String type); /** * Returns all the ddm templates where language = ?. * * @param language the language * @return the matching ddm templates */ public java.util.List findByLanguage(String language); /** * Returns a range of all the ddm templates where language = ?. * *

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

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

* 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 DDMTemplateModelImpl. 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 language the language * @param start the lower bound of the range of ddm templates * @param end the upper bound of the range of ddm templates (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 templates */ public java.util.List findByLanguage( String language, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean retrieveFromCache); /** * Returns the first ddm template in the ordered set where language = ?. * * @param language the language * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching ddm template * @throws NoSuchTemplateException if a matching ddm template could not be found */ public DDMTemplate findByLanguage_First( String language, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTemplateException; /** * Returns the first ddm template in the ordered set where language = ?. * * @param language the language * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching ddm template, or null if a matching ddm template could not be found */ public DDMTemplate fetchByLanguage_First( String language, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last ddm template in the ordered set where language = ?. * * @param language the language * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching ddm template * @throws NoSuchTemplateException if a matching ddm template could not be found */ public DDMTemplate findByLanguage_Last( String language, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTemplateException; /** * Returns the last ddm template in the ordered set where language = ?. * * @param language the language * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching ddm template, or null if a matching ddm template could not be found */ public DDMTemplate fetchByLanguage_Last( String language, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the ddm templates before and after the current ddm template in the ordered set where language = ?. * * @param templateId the primary key of the current ddm template * @param language the language * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next ddm template * @throws NoSuchTemplateException if a ddm template with the primary key could not be found */ public DDMTemplate[] findByLanguage_PrevAndNext( long templateId, String language, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTemplateException; /** * Removes all the ddm templates where language = ? from the database. * * @param language the language */ public void removeByLanguage(String language); /** * Returns the number of ddm templates where language = ?. * * @param language the language * @return the number of matching ddm templates */ public int countByLanguage(String language); /** * Returns the ddm template where smallImageId = ? or throws a NoSuchTemplateException if it could not be found. * * @param smallImageId the small image ID * @return the matching ddm template * @throws NoSuchTemplateException if a matching ddm template could not be found */ public DDMTemplate findBySmallImageId(long smallImageId) throws NoSuchTemplateException; /** * Returns the ddm template where smallImageId = ? or returns null if it could not be found. Uses the finder cache. * * @param smallImageId the small image ID * @return the matching ddm template, or null if a matching ddm template could not be found */ public DDMTemplate fetchBySmallImageId(long smallImageId); /** * Returns the ddm template where smallImageId = ? or returns null if it could not be found, optionally using the finder cache. * * @param smallImageId the small image ID * @param retrieveFromCache whether to retrieve from the finder cache * @return the matching ddm template, or null if a matching ddm template could not be found */ public DDMTemplate fetchBySmallImageId( long smallImageId, boolean retrieveFromCache); /** * Removes the ddm template where smallImageId = ? from the database. * * @param smallImageId the small image ID * @return the ddm template that was removed */ public DDMTemplate removeBySmallImageId(long smallImageId) throws NoSuchTemplateException; /** * Returns the number of ddm templates where smallImageId = ?. * * @param smallImageId the small image ID * @return the number of matching ddm templates */ public int countBySmallImageId(long smallImageId); /** * Returns all the ddm templates where groupId = ? and classNameId = ?. * * @param groupId the group ID * @param classNameId the class name ID * @return the matching ddm templates */ public java.util.List findByG_C( long groupId, long classNameId); /** * Returns a range of all the ddm templates where groupId = ? and classNameId = ?. * *

* 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 DDMTemplateModelImpl. 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 groupId the group ID * @param classNameId the class name ID * @param start the lower bound of the range of ddm templates * @param end the upper bound of the range of ddm templates (not inclusive) * @return the range of matching ddm templates */ public java.util.List findByG_C( long groupId, long classNameId, int start, int end); /** * Returns an ordered range of all the ddm templates where groupId = ? and classNameId = ?. * *

* 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 DDMTemplateModelImpl. 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 groupId the group ID * @param classNameId the class name ID * @param start the lower bound of the range of ddm templates * @param end the upper bound of the range of ddm templates (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching ddm templates */ public java.util.List findByG_C( long groupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns an ordered range of all the ddm templates where groupId = ? and classNameId = ?. * *

* 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 DDMTemplateModelImpl. 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 groupId the group ID * @param classNameId the class name ID * @param start the lower bound of the range of ddm templates * @param end the upper bound of the range of ddm templates (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 templates */ public java.util.List findByG_C( long groupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean retrieveFromCache); /** * Returns the first ddm template in the ordered set where groupId = ? and classNameId = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching ddm template * @throws NoSuchTemplateException if a matching ddm template could not be found */ public DDMTemplate findByG_C_First( long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTemplateException; /** * Returns the first ddm template in the ordered set where groupId = ? and classNameId = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching ddm template, or null if a matching ddm template could not be found */ public DDMTemplate fetchByG_C_First( long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last ddm template in the ordered set where groupId = ? and classNameId = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching ddm template * @throws NoSuchTemplateException if a matching ddm template could not be found */ public DDMTemplate findByG_C_Last( long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTemplateException; /** * Returns the last ddm template in the ordered set where groupId = ? and classNameId = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching ddm template, or null if a matching ddm template could not be found */ public DDMTemplate fetchByG_C_Last( long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the ddm templates before and after the current ddm template in the ordered set where groupId = ? and classNameId = ?. * * @param templateId the primary key of the current ddm template * @param groupId the group ID * @param classNameId the class name ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next ddm template * @throws NoSuchTemplateException if a ddm template with the primary key could not be found */ public DDMTemplate[] findByG_C_PrevAndNext( long templateId, long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTemplateException; /** * Returns all the ddm templates that the user has permission to view where groupId = ? and classNameId = ?. * * @param groupId the group ID * @param classNameId the class name ID * @return the matching ddm templates that the user has permission to view */ public java.util.List filterFindByG_C( long groupId, long classNameId); /** * Returns a range of all the ddm templates that the user has permission to view where groupId = ? and classNameId = ?. * *

* 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 DDMTemplateModelImpl. 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 groupId the group ID * @param classNameId the class name ID * @param start the lower bound of the range of ddm templates * @param end the upper bound of the range of ddm templates (not inclusive) * @return the range of matching ddm templates that the user has permission to view */ public java.util.List filterFindByG_C( long groupId, long classNameId, int start, int end); /** * Returns an ordered range of all the ddm templates that the user has permissions to view where groupId = ? and classNameId = ?. * *

* 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 DDMTemplateModelImpl. 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 groupId the group ID * @param classNameId the class name ID * @param start the lower bound of the range of ddm templates * @param end the upper bound of the range of ddm templates (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching ddm templates that the user has permission to view */ public java.util.List filterFindByG_C( long groupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the ddm templates before and after the current ddm template in the ordered set of ddm templates that the user has permission to view where groupId = ? and classNameId = ?. * * @param templateId the primary key of the current ddm template * @param groupId the group ID * @param classNameId the class name ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next ddm template * @throws NoSuchTemplateException if a ddm template with the primary key could not be found */ public DDMTemplate[] filterFindByG_C_PrevAndNext( long templateId, long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTemplateException; /** * Removes all the ddm templates where groupId = ? and classNameId = ? from the database. * * @param groupId the group ID * @param classNameId the class name ID */ public void removeByG_C(long groupId, long classNameId); /** * Returns the number of ddm templates where groupId = ? and classNameId = ?. * * @param groupId the group ID * @param classNameId the class name ID * @return the number of matching ddm templates */ public int countByG_C(long groupId, long classNameId); /** * Returns the number of ddm templates that the user has permission to view where groupId = ? and classNameId = ?. * * @param groupId the group ID * @param classNameId the class name ID * @return the number of matching ddm templates that the user has permission to view */ public int filterCountByG_C(long groupId, long classNameId); /** * Returns all the ddm templates where groupId = ? and classPK = ?. * * @param groupId the group ID * @param classPK the class pk * @return the matching ddm templates */ public java.util.List findByG_CPK(long groupId, long classPK); /** * Returns a range of all the ddm templates where groupId = ? and classPK = ?. * *

* 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 DDMTemplateModelImpl. 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 groupId the group ID * @param classPK the class pk * @param start the lower bound of the range of ddm templates * @param end the upper bound of the range of ddm templates (not inclusive) * @return the range of matching ddm templates */ public java.util.List findByG_CPK( long groupId, long classPK, int start, int end); /** * Returns an ordered range of all the ddm templates where groupId = ? and classPK = ?. * *

* 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 DDMTemplateModelImpl. 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 groupId the group ID * @param classPK the class pk * @param start the lower bound of the range of ddm templates * @param end the upper bound of the range of ddm templates (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching ddm templates */ public java.util.List findByG_CPK( long groupId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns an ordered range of all the ddm templates where groupId = ? and classPK = ?. * *

* 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 DDMTemplateModelImpl. 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 groupId the group ID * @param classPK the class pk * @param start the lower bound of the range of ddm templates * @param end the upper bound of the range of ddm templates (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 templates */ public java.util.List findByG_CPK( long groupId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean retrieveFromCache); /** * Returns the first ddm template in the ordered set where groupId = ? and classPK = ?. * * @param groupId the group ID * @param classPK the class pk * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching ddm template * @throws NoSuchTemplateException if a matching ddm template could not be found */ public DDMTemplate findByG_CPK_First( long groupId, long classPK, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTemplateException; /** * Returns the first ddm template in the ordered set where groupId = ? and classPK = ?. * * @param groupId the group ID * @param classPK the class pk * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching ddm template, or null if a matching ddm template could not be found */ public DDMTemplate fetchByG_CPK_First( long groupId, long classPK, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last ddm template in the ordered set where groupId = ? and classPK = ?. * * @param groupId the group ID * @param classPK the class pk * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching ddm template * @throws NoSuchTemplateException if a matching ddm template could not be found */ public DDMTemplate findByG_CPK_Last( long groupId, long classPK, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTemplateException; /** * Returns the last ddm template in the ordered set where groupId = ? and classPK = ?. * * @param groupId the group ID * @param classPK the class pk * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching ddm template, or null if a matching ddm template could not be found */ public DDMTemplate fetchByG_CPK_Last( long groupId, long classPK, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the ddm templates before and after the current ddm template in the ordered set where groupId = ? and classPK = ?. * * @param templateId the primary key of the current ddm template * @param groupId the group ID * @param classPK the class pk * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next ddm template * @throws NoSuchTemplateException if a ddm template with the primary key could not be found */ public DDMTemplate[] findByG_CPK_PrevAndNext( long templateId, long groupId, long classPK, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTemplateException; /** * Returns all the ddm templates that the user has permission to view where groupId = ? and classPK = ?. * * @param groupId the group ID * @param classPK the class pk * @return the matching ddm templates that the user has permission to view */ public java.util.List filterFindByG_CPK( long groupId, long classPK); /** * Returns a range of all the ddm templates that the user has permission to view where groupId = ? and classPK = ?. * *

* 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 DDMTemplateModelImpl. 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 groupId the group ID * @param classPK the class pk * @param start the lower bound of the range of ddm templates * @param end the upper bound of the range of ddm templates (not inclusive) * @return the range of matching ddm templates that the user has permission to view */ public java.util.List filterFindByG_CPK( long groupId, long classPK, int start, int end); /** * Returns an ordered range of all the ddm templates that the user has permissions to view where groupId = ? and classPK = ?. * *

* 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 DDMTemplateModelImpl. 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 groupId the group ID * @param classPK the class pk * @param start the lower bound of the range of ddm templates * @param end the upper bound of the range of ddm templates (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching ddm templates that the user has permission to view */ public java.util.List filterFindByG_CPK( long groupId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the ddm templates before and after the current ddm template in the ordered set of ddm templates that the user has permission to view where groupId = ? and classPK = ?. * * @param templateId the primary key of the current ddm template * @param groupId the group ID * @param classPK the class pk * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next ddm template * @throws NoSuchTemplateException if a ddm template with the primary key could not be found */ public DDMTemplate[] filterFindByG_CPK_PrevAndNext( long templateId, long groupId, long classPK, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTemplateException; /** * Returns all the ddm templates that the user has permission to view where groupId = any ? and classPK = ?. * * @param groupIds the group IDs * @param classPK the class pk * @return the matching ddm templates that the user has permission to view */ public java.util.List filterFindByG_CPK( long[] groupIds, long classPK); /** * Returns a range of all the ddm templates that the user has permission to view where groupId = any ? and classPK = ?. * *

* 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 DDMTemplateModelImpl. 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 groupIds the group IDs * @param classPK the class pk * @param start the lower bound of the range of ddm templates * @param end the upper bound of the range of ddm templates (not inclusive) * @return the range of matching ddm templates that the user has permission to view */ public java.util.List filterFindByG_CPK( long[] groupIds, long classPK, int start, int end); /** * Returns an ordered range of all the ddm templates that the user has permission to view where groupId = any ? and classPK = ?. * *

* 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 DDMTemplateModelImpl. 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 groupIds the group IDs * @param classPK the class pk * @param start the lower bound of the range of ddm templates * @param end the upper bound of the range of ddm templates (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching ddm templates that the user has permission to view */ public java.util.List filterFindByG_CPK( long[] groupIds, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns all the ddm templates where groupId = any ? and classPK = ?. * *

* 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 DDMTemplateModelImpl. 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 groupIds the group IDs * @param classPK the class pk * @return the matching ddm templates */ public java.util.List findByG_CPK( long[] groupIds, long classPK); /** * Returns a range of all the ddm templates where groupId = any ? and classPK = ?. * *

* 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 DDMTemplateModelImpl. 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 groupIds the group IDs * @param classPK the class pk * @param start the lower bound of the range of ddm templates * @param end the upper bound of the range of ddm templates (not inclusive) * @return the range of matching ddm templates */ public java.util.List findByG_CPK( long[] groupIds, long classPK, int start, int end); /** * Returns an ordered range of all the ddm templates where groupId = any ? and classPK = ?. * *

* 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 DDMTemplateModelImpl. 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 groupIds the group IDs * @param classPK the class pk * @param start the lower bound of the range of ddm templates * @param end the upper bound of the range of ddm templates (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching ddm templates */ public java.util.List findByG_CPK( long[] groupIds, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns an ordered range of all the ddm templates where groupId = ? and classPK = ?, optionally using the finder cache. * *

* 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 DDMTemplateModelImpl. 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 groupId the group ID * @param classPK the class pk * @param start the lower bound of the range of ddm templates * @param end the upper bound of the range of ddm templates (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 templates */ public java.util.List findByG_CPK( long[] groupIds, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean retrieveFromCache); /** * Removes all the ddm templates where groupId = ? and classPK = ? from the database. * * @param groupId the group ID * @param classPK the class pk */ public void removeByG_CPK(long groupId, long classPK); /** * Returns the number of ddm templates where groupId = ? and classPK = ?. * * @param groupId the group ID * @param classPK the class pk * @return the number of matching ddm templates */ public int countByG_CPK(long groupId, long classPK); /** * Returns the number of ddm templates where groupId = any ? and classPK = ?. * * @param groupIds the group IDs * @param classPK the class pk * @return the number of matching ddm templates */ public int countByG_CPK(long[] groupIds, long classPK); /** * Returns the number of ddm templates that the user has permission to view where groupId = ? and classPK = ?. * * @param groupId the group ID * @param classPK the class pk * @return the number of matching ddm templates that the user has permission to view */ public int filterCountByG_CPK(long groupId, long classPK); /** * Returns the number of ddm templates that the user has permission to view where groupId = any ? and classPK = ?. * * @param groupIds the group IDs * @param classPK the class pk * @return the number of matching ddm templates that the user has permission to view */ public int filterCountByG_CPK(long[] groupIds, long classPK); /** * Returns all the ddm templates where groupId = ? and classNameId = ? and classPK = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classPK the class pk * @return the matching ddm templates */ public java.util.List findByG_C_C( long groupId, long classNameId, long classPK); /** * Returns a range of all the ddm templates where groupId = ? and classNameId = ? and classPK = ?. * *

* 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 DDMTemplateModelImpl. 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 groupId the group ID * @param classNameId the class name ID * @param classPK the class pk * @param start the lower bound of the range of ddm templates * @param end the upper bound of the range of ddm templates (not inclusive) * @return the range of matching ddm templates */ public java.util.List findByG_C_C( long groupId, long classNameId, long classPK, int start, int end); /** * Returns an ordered range of all the ddm templates where groupId = ? and classNameId = ? and classPK = ?. * *

* 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 DDMTemplateModelImpl. 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 groupId the group ID * @param classNameId the class name ID * @param classPK the class pk * @param start the lower bound of the range of ddm templates * @param end the upper bound of the range of ddm templates (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching ddm templates */ public java.util.List findByG_C_C( long groupId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns an ordered range of all the ddm templates where groupId = ? and classNameId = ? and classPK = ?. * *

* 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 DDMTemplateModelImpl. 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 groupId the group ID * @param classNameId the class name ID * @param classPK the class pk * @param start the lower bound of the range of ddm templates * @param end the upper bound of the range of ddm templates (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 templates */ public java.util.List findByG_C_C( long groupId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean retrieveFromCache); /** * Returns the first ddm template in the ordered set where groupId = ? and classNameId = ? and classPK = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classPK the class pk * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching ddm template * @throws NoSuchTemplateException if a matching ddm template could not be found */ public DDMTemplate findByG_C_C_First( long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTemplateException; /** * Returns the first ddm template in the ordered set where groupId = ? and classNameId = ? and classPK = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classPK the class pk * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching ddm template, or null if a matching ddm template could not be found */ public DDMTemplate fetchByG_C_C_First( long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last ddm template in the ordered set where groupId = ? and classNameId = ? and classPK = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classPK the class pk * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching ddm template * @throws NoSuchTemplateException if a matching ddm template could not be found */ public DDMTemplate findByG_C_C_Last( long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTemplateException; /** * Returns the last ddm template in the ordered set where groupId = ? and classNameId = ? and classPK = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classPK the class pk * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching ddm template, or null if a matching ddm template could not be found */ public DDMTemplate fetchByG_C_C_Last( long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the ddm templates before and after the current ddm template in the ordered set where groupId = ? and classNameId = ? and classPK = ?. * * @param templateId the primary key of the current ddm template * @param groupId the group ID * @param classNameId the class name ID * @param classPK the class pk * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next ddm template * @throws NoSuchTemplateException if a ddm template with the primary key could not be found */ public DDMTemplate[] findByG_C_C_PrevAndNext( long templateId, long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTemplateException; /** * Returns all the ddm templates that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classPK the class pk * @return the matching ddm templates that the user has permission to view */ public java.util.List filterFindByG_C_C( long groupId, long classNameId, long classPK); /** * Returns a range of all the ddm templates that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?. * *

* 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 DDMTemplateModelImpl. 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 groupId the group ID * @param classNameId the class name ID * @param classPK the class pk * @param start the lower bound of the range of ddm templates * @param end the upper bound of the range of ddm templates (not inclusive) * @return the range of matching ddm templates that the user has permission to view */ public java.util.List filterFindByG_C_C( long groupId, long classNameId, long classPK, int start, int end); /** * Returns an ordered range of all the ddm templates that the user has permissions to view where groupId = ? and classNameId = ? and classPK = ?. * *

* 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 DDMTemplateModelImpl. 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 groupId the group ID * @param classNameId the class name ID * @param classPK the class pk * @param start the lower bound of the range of ddm templates * @param end the upper bound of the range of ddm templates (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching ddm templates that the user has permission to view */ public java.util.List filterFindByG_C_C( long groupId, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the ddm templates before and after the current ddm template in the ordered set of ddm templates that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?. * * @param templateId the primary key of the current ddm template * @param groupId the group ID * @param classNameId the class name ID * @param classPK the class pk * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next ddm template * @throws NoSuchTemplateException if a ddm template with the primary key could not be found */ public DDMTemplate[] filterFindByG_C_C_PrevAndNext( long templateId, long groupId, long classNameId, long classPK, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTemplateException; /** * Returns all the ddm templates that the user has permission to view where groupId = any ? and classNameId = ? and classPK = ?. * * @param groupIds the group IDs * @param classNameId the class name ID * @param classPK the class pk * @return the matching ddm templates that the user has permission to view */ public java.util.List filterFindByG_C_C( long[] groupIds, long classNameId, long classPK); /** * Returns a range of all the ddm templates that the user has permission to view where groupId = any ? and classNameId = ? and classPK = ?. * *

* 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 DDMTemplateModelImpl. 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 groupIds the group IDs * @param classNameId the class name ID * @param classPK the class pk * @param start the lower bound of the range of ddm templates * @param end the upper bound of the range of ddm templates (not inclusive) * @return the range of matching ddm templates that the user has permission to view */ public java.util.List filterFindByG_C_C( long[] groupIds, long classNameId, long classPK, int start, int end); /** * Returns an ordered range of all the ddm templates that the user has permission to view where groupId = any ? and classNameId = ? and classPK = ?. * *

* 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 DDMTemplateModelImpl. 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 groupIds the group IDs * @param classNameId the class name ID * @param classPK the class pk * @param start the lower bound of the range of ddm templates * @param end the upper bound of the range of ddm templates (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching ddm templates that the user has permission to view */ public java.util.List filterFindByG_C_C( long[] groupIds, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns all the ddm templates where groupId = any ? and classNameId = ? and classPK = ?. * *

* 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 DDMTemplateModelImpl. 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 groupIds the group IDs * @param classNameId the class name ID * @param classPK the class pk * @return the matching ddm templates */ public java.util.List findByG_C_C( long[] groupIds, long classNameId, long classPK); /** * Returns a range of all the ddm templates where groupId = any ? and classNameId = ? and classPK = ?. * *

* 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 DDMTemplateModelImpl. 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 groupIds the group IDs * @param classNameId the class name ID * @param classPK the class pk * @param start the lower bound of the range of ddm templates * @param end the upper bound of the range of ddm templates (not inclusive) * @return the range of matching ddm templates */ public java.util.List findByG_C_C( long[] groupIds, long classNameId, long classPK, int start, int end); /** * Returns an ordered range of all the ddm templates where groupId = any ? and classNameId = ? and classPK = ?. * *

* 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 DDMTemplateModelImpl. 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 groupIds the group IDs * @param classNameId the class name ID * @param classPK the class pk * @param start the lower bound of the range of ddm templates * @param end the upper bound of the range of ddm templates (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching ddm templates */ public java.util.List findByG_C_C( long[] groupIds, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns an ordered range of all the ddm templates where groupId = ? and classNameId = ? and classPK = ?, optionally using the finder cache. * *

* 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 DDMTemplateModelImpl. 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 groupId the group ID * @param classNameId the class name ID * @param classPK the class pk * @param start the lower bound of the range of ddm templates * @param end the upper bound of the range of ddm templates (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 templates */ public java.util.List findByG_C_C( long[] groupIds, long classNameId, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean retrieveFromCache); /** * Removes all the ddm templates where groupId = ? and classNameId = ? and classPK = ? from the database. * * @param groupId the group ID * @param classNameId the class name ID * @param classPK the class pk */ public void removeByG_C_C(long groupId, long classNameId, long classPK); /** * Returns the number of ddm templates where groupId = ? and classNameId = ? and classPK = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classPK the class pk * @return the number of matching ddm templates */ public int countByG_C_C(long groupId, long classNameId, long classPK); /** * Returns the number of ddm templates where groupId = any ? and classNameId = ? and classPK = ?. * * @param groupIds the group IDs * @param classNameId the class name ID * @param classPK the class pk * @return the number of matching ddm templates */ public int countByG_C_C(long[] groupIds, long classNameId, long classPK); /** * Returns the number of ddm templates that the user has permission to view where groupId = ? and classNameId = ? and classPK = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classPK the class pk * @return the number of matching ddm templates that the user has permission to view */ public int filterCountByG_C_C(long groupId, long classNameId, long classPK); /** * Returns the number of ddm templates that the user has permission to view where groupId = any ? and classNameId = ? and classPK = ?. * * @param groupIds the group IDs * @param classNameId the class name ID * @param classPK the class pk * @return the number of matching ddm templates that the user has permission to view */ public int filterCountByG_C_C( long[] groupIds, long classNameId, long classPK); /** * Returns the ddm template where groupId = ? and classNameId = ? and templateKey = ? or throws a NoSuchTemplateException if it could not be found. * * @param groupId the group ID * @param classNameId the class name ID * @param templateKey the template key * @return the matching ddm template * @throws NoSuchTemplateException if a matching ddm template could not be found */ public DDMTemplate findByG_C_T( long groupId, long classNameId, String templateKey) throws NoSuchTemplateException; /** * Returns the ddm template where groupId = ? and classNameId = ? and templateKey = ? or returns null if it could not be found. Uses the finder cache. * * @param groupId the group ID * @param classNameId the class name ID * @param templateKey the template key * @return the matching ddm template, or null if a matching ddm template could not be found */ public DDMTemplate fetchByG_C_T( long groupId, long classNameId, String templateKey); /** * Returns the ddm template where groupId = ? and classNameId = ? and templateKey = ? or returns null if it could not be found, optionally using the finder cache. * * @param groupId the group ID * @param classNameId the class name ID * @param templateKey the template key * @param retrieveFromCache whether to retrieve from the finder cache * @return the matching ddm template, or null if a matching ddm template could not be found */ public DDMTemplate fetchByG_C_T( long groupId, long classNameId, String templateKey, boolean retrieveFromCache); /** * Removes the ddm template where groupId = ? and classNameId = ? and templateKey = ? from the database. * * @param groupId the group ID * @param classNameId the class name ID * @param templateKey the template key * @return the ddm template that was removed */ public DDMTemplate removeByG_C_T( long groupId, long classNameId, String templateKey) throws NoSuchTemplateException; /** * Returns the number of ddm templates where groupId = ? and classNameId = ? and templateKey = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param templateKey the template key * @return the number of matching ddm templates */ public int countByG_C_T(long groupId, long classNameId, String templateKey); /** * Returns all the ddm templates where classNameId = ? and classPK = ? and type = ?. * * @param classNameId the class name ID * @param classPK the class pk * @param type the type * @return the matching ddm templates */ public java.util.List findByC_C_T( long classNameId, long classPK, String type); /** * Returns a range of all the ddm templates where classNameId = ? and classPK = ? and type = ?. * *

* 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 DDMTemplateModelImpl. 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 classNameId the class name ID * @param classPK the class pk * @param type the type * @param start the lower bound of the range of ddm templates * @param end the upper bound of the range of ddm templates (not inclusive) * @return the range of matching ddm templates */ public java.util.List findByC_C_T( long classNameId, long classPK, String type, int start, int end); /** * Returns an ordered range of all the ddm templates where classNameId = ? and classPK = ? and type = ?. * *

* 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 DDMTemplateModelImpl. 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 classNameId the class name ID * @param classPK the class pk * @param type the type * @param start the lower bound of the range of ddm templates * @param end the upper bound of the range of ddm templates (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching ddm templates */ public java.util.List findByC_C_T( long classNameId, long classPK, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns an ordered range of all the ddm templates where classNameId = ? and classPK = ? and type = ?. * *

* 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 DDMTemplateModelImpl. 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 classNameId the class name ID * @param classPK the class pk * @param type the type * @param start the lower bound of the range of ddm templates * @param end the upper bound of the range of ddm templates (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 templates */ public java.util.List findByC_C_T( long classNameId, long classPK, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean retrieveFromCache); /** * Returns the first ddm template in the ordered set where classNameId = ? and classPK = ? and type = ?. * * @param classNameId the class name ID * @param classPK the class pk * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching ddm template * @throws NoSuchTemplateException if a matching ddm template could not be found */ public DDMTemplate findByC_C_T_First( long classNameId, long classPK, String type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTemplateException; /** * Returns the first ddm template in the ordered set where classNameId = ? and classPK = ? and type = ?. * * @param classNameId the class name ID * @param classPK the class pk * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching ddm template, or null if a matching ddm template could not be found */ public DDMTemplate fetchByC_C_T_First( long classNameId, long classPK, String type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last ddm template in the ordered set where classNameId = ? and classPK = ? and type = ?. * * @param classNameId the class name ID * @param classPK the class pk * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching ddm template * @throws NoSuchTemplateException if a matching ddm template could not be found */ public DDMTemplate findByC_C_T_Last( long classNameId, long classPK, String type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTemplateException; /** * Returns the last ddm template in the ordered set where classNameId = ? and classPK = ? and type = ?. * * @param classNameId the class name ID * @param classPK the class pk * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching ddm template, or null if a matching ddm template could not be found */ public DDMTemplate fetchByC_C_T_Last( long classNameId, long classPK, String type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the ddm templates before and after the current ddm template in the ordered set where classNameId = ? and classPK = ? and type = ?. * * @param templateId the primary key of the current ddm template * @param classNameId the class name ID * @param classPK the class pk * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next ddm template * @throws NoSuchTemplateException if a ddm template with the primary key could not be found */ public DDMTemplate[] findByC_C_T_PrevAndNext( long templateId, long classNameId, long classPK, String type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTemplateException; /** * Removes all the ddm templates where classNameId = ? and classPK = ? and type = ? from the database. * * @param classNameId the class name ID * @param classPK the class pk * @param type the type */ public void removeByC_C_T(long classNameId, long classPK, String type); /** * Returns the number of ddm templates where classNameId = ? and classPK = ? and type = ?. * * @param classNameId the class name ID * @param classPK the class pk * @param type the type * @return the number of matching ddm templates */ public int countByC_C_T(long classNameId, long classPK, String type); /** * Returns all the ddm templates where groupId = ? and classNameId = ? and classPK = ? and type = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classPK the class pk * @param type the type * @return the matching ddm templates */ public java.util.List findByG_C_C_T( long groupId, long classNameId, long classPK, String type); /** * Returns a range of all the ddm templates where groupId = ? and classNameId = ? and classPK = ? and type = ?. * *

* 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 DDMTemplateModelImpl. 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 groupId the group ID * @param classNameId the class name ID * @param classPK the class pk * @param type the type * @param start the lower bound of the range of ddm templates * @param end the upper bound of the range of ddm templates (not inclusive) * @return the range of matching ddm templates */ public java.util.List findByG_C_C_T( long groupId, long classNameId, long classPK, String type, int start, int end); /** * Returns an ordered range of all the ddm templates where groupId = ? and classNameId = ? and classPK = ? and type = ?. * *

* 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 DDMTemplateModelImpl. 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 groupId the group ID * @param classNameId the class name ID * @param classPK the class pk * @param type the type * @param start the lower bound of the range of ddm templates * @param end the upper bound of the range of ddm templates (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching ddm templates */ public java.util.List findByG_C_C_T( long groupId, long classNameId, long classPK, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns an ordered range of all the ddm templates where groupId = ? and classNameId = ? and classPK = ? and type = ?. * *

* 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 DDMTemplateModelImpl. 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 groupId the group ID * @param classNameId the class name ID * @param classPK the class pk * @param type the type * @param start the lower bound of the range of ddm templates * @param end the upper bound of the range of ddm templates (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 templates */ public java.util.List findByG_C_C_T( long groupId, long classNameId, long classPK, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean retrieveFromCache); /** * Returns the first ddm template in the ordered set where groupId = ? and classNameId = ? and classPK = ? and type = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classPK the class pk * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching ddm template * @throws NoSuchTemplateException if a matching ddm template could not be found */ public DDMTemplate findByG_C_C_T_First( long groupId, long classNameId, long classPK, String type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTemplateException; /** * Returns the first ddm template in the ordered set where groupId = ? and classNameId = ? and classPK = ? and type = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classPK the class pk * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching ddm template, or null if a matching ddm template could not be found */ public DDMTemplate fetchByG_C_C_T_First( long groupId, long classNameId, long classPK, String type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last ddm template in the ordered set where groupId = ? and classNameId = ? and classPK = ? and type = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classPK the class pk * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching ddm template * @throws NoSuchTemplateException if a matching ddm template could not be found */ public DDMTemplate findByG_C_C_T_Last( long groupId, long classNameId, long classPK, String type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTemplateException; /** * Returns the last ddm template in the ordered set where groupId = ? and classNameId = ? and classPK = ? and type = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classPK the class pk * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching ddm template, or null if a matching ddm template could not be found */ public DDMTemplate fetchByG_C_C_T_Last( long groupId, long classNameId, long classPK, String type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the ddm templates before and after the current ddm template in the ordered set where groupId = ? and classNameId = ? and classPK = ? and type = ?. * * @param templateId the primary key of the current ddm template * @param groupId the group ID * @param classNameId the class name ID * @param classPK the class pk * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next ddm template * @throws NoSuchTemplateException if a ddm template with the primary key could not be found */ public DDMTemplate[] findByG_C_C_T_PrevAndNext( long templateId, long groupId, long classNameId, long classPK, String type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTemplateException; /** * Returns all the ddm templates that the user has permission to view where groupId = ? and classNameId = ? and classPK = ? and type = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classPK the class pk * @param type the type * @return the matching ddm templates that the user has permission to view */ public java.util.List filterFindByG_C_C_T( long groupId, long classNameId, long classPK, String type); /** * Returns a range of all the ddm templates that the user has permission to view where groupId = ? and classNameId = ? and classPK = ? and type = ?. * *

* 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 DDMTemplateModelImpl. 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 groupId the group ID * @param classNameId the class name ID * @param classPK the class pk * @param type the type * @param start the lower bound of the range of ddm templates * @param end the upper bound of the range of ddm templates (not inclusive) * @return the range of matching ddm templates that the user has permission to view */ public java.util.List filterFindByG_C_C_T( long groupId, long classNameId, long classPK, String type, int start, int end); /** * Returns an ordered range of all the ddm templates that the user has permissions to view where groupId = ? and classNameId = ? and classPK = ? and type = ?. * *

* 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 DDMTemplateModelImpl. 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 groupId the group ID * @param classNameId the class name ID * @param classPK the class pk * @param type the type * @param start the lower bound of the range of ddm templates * @param end the upper bound of the range of ddm templates (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching ddm templates that the user has permission to view */ public java.util.List filterFindByG_C_C_T( long groupId, long classNameId, long classPK, String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the ddm templates before and after the current ddm template in the ordered set of ddm templates that the user has permission to view where groupId = ? and classNameId = ? and classPK = ? and type = ?. * * @param templateId the primary key of the current ddm template * @param groupId the group ID * @param classNameId the class name ID * @param classPK the class pk * @param type the type * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next ddm template * @throws NoSuchTemplateException if a ddm template with the primary key could not be found */ public DDMTemplate[] filterFindByG_C_C_T_PrevAndNext( long templateId, long groupId, long classNameId, long classPK, String type, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTemplateException; /** * Removes all the ddm templates where groupId = ? and classNameId = ? and classPK = ? and type = ? from the database. * * @param groupId the group ID * @param classNameId the class name ID * @param classPK the class pk * @param type the type */ public void removeByG_C_C_T( long groupId, long classNameId, long classPK, String type); /** * Returns the number of ddm templates where groupId = ? and classNameId = ? and classPK = ? and type = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classPK the class pk * @param type the type * @return the number of matching ddm templates */ public int countByG_C_C_T( long groupId, long classNameId, long classPK, String type); /** * Returns the number of ddm templates that the user has permission to view where groupId = ? and classNameId = ? and classPK = ? and type = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classPK the class pk * @param type the type * @return the number of matching ddm templates that the user has permission to view */ public int filterCountByG_C_C_T( long groupId, long classNameId, long classPK, String type); /** * Returns all the ddm templates where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classPK the class pk * @param type the type * @param mode the mode * @return the matching ddm templates */ public java.util.List findByG_C_C_T_M( long groupId, long classNameId, long classPK, String type, String mode); /** * Returns a range of all the ddm templates where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?. * *

* 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 DDMTemplateModelImpl. 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 groupId the group ID * @param classNameId the class name ID * @param classPK the class pk * @param type the type * @param mode the mode * @param start the lower bound of the range of ddm templates * @param end the upper bound of the range of ddm templates (not inclusive) * @return the range of matching ddm templates */ public java.util.List findByG_C_C_T_M( long groupId, long classNameId, long classPK, String type, String mode, int start, int end); /** * Returns an ordered range of all the ddm templates where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?. * *

* 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 DDMTemplateModelImpl. 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 groupId the group ID * @param classNameId the class name ID * @param classPK the class pk * @param type the type * @param mode the mode * @param start the lower bound of the range of ddm templates * @param end the upper bound of the range of ddm templates (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching ddm templates */ public java.util.List findByG_C_C_T_M( long groupId, long classNameId, long classPK, String type, String mode, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns an ordered range of all the ddm templates where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?. * *

* 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 DDMTemplateModelImpl. 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 groupId the group ID * @param classNameId the class name ID * @param classPK the class pk * @param type the type * @param mode the mode * @param start the lower bound of the range of ddm templates * @param end the upper bound of the range of ddm templates (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 templates */ public java.util.List findByG_C_C_T_M( long groupId, long classNameId, long classPK, String type, String mode, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean retrieveFromCache); /** * Returns the first ddm template in the ordered set where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classPK the class pk * @param type the type * @param mode the mode * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching ddm template * @throws NoSuchTemplateException if a matching ddm template could not be found */ public DDMTemplate findByG_C_C_T_M_First( long groupId, long classNameId, long classPK, String type, String mode, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTemplateException; /** * Returns the first ddm template in the ordered set where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classPK the class pk * @param type the type * @param mode the mode * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching ddm template, or null if a matching ddm template could not be found */ public DDMTemplate fetchByG_C_C_T_M_First( long groupId, long classNameId, long classPK, String type, String mode, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last ddm template in the ordered set where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classPK the class pk * @param type the type * @param mode the mode * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching ddm template * @throws NoSuchTemplateException if a matching ddm template could not be found */ public DDMTemplate findByG_C_C_T_M_Last( long groupId, long classNameId, long classPK, String type, String mode, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTemplateException; /** * Returns the last ddm template in the ordered set where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classPK the class pk * @param type the type * @param mode the mode * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching ddm template, or null if a matching ddm template could not be found */ public DDMTemplate fetchByG_C_C_T_M_Last( long groupId, long classNameId, long classPK, String type, String mode, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the ddm templates before and after the current ddm template in the ordered set where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?. * * @param templateId the primary key of the current ddm template * @param groupId the group ID * @param classNameId the class name ID * @param classPK the class pk * @param type the type * @param mode the mode * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next ddm template * @throws NoSuchTemplateException if a ddm template with the primary key could not be found */ public DDMTemplate[] findByG_C_C_T_M_PrevAndNext( long templateId, long groupId, long classNameId, long classPK, String type, String mode, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTemplateException; /** * Returns all the ddm templates that the user has permission to view where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classPK the class pk * @param type the type * @param mode the mode * @return the matching ddm templates that the user has permission to view */ public java.util.List filterFindByG_C_C_T_M( long groupId, long classNameId, long classPK, String type, String mode); /** * Returns a range of all the ddm templates that the user has permission to view where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?. * *

* 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 DDMTemplateModelImpl. 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 groupId the group ID * @param classNameId the class name ID * @param classPK the class pk * @param type the type * @param mode the mode * @param start the lower bound of the range of ddm templates * @param end the upper bound of the range of ddm templates (not inclusive) * @return the range of matching ddm templates that the user has permission to view */ public java.util.List filterFindByG_C_C_T_M( long groupId, long classNameId, long classPK, String type, String mode, int start, int end); /** * Returns an ordered range of all the ddm templates that the user has permissions to view where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?. * *

* 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 DDMTemplateModelImpl. 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 groupId the group ID * @param classNameId the class name ID * @param classPK the class pk * @param type the type * @param mode the mode * @param start the lower bound of the range of ddm templates * @param end the upper bound of the range of ddm templates (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching ddm templates that the user has permission to view */ public java.util.List filterFindByG_C_C_T_M( long groupId, long classNameId, long classPK, String type, String mode, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the ddm templates before and after the current ddm template in the ordered set of ddm templates that the user has permission to view where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?. * * @param templateId the primary key of the current ddm template * @param groupId the group ID * @param classNameId the class name ID * @param classPK the class pk * @param type the type * @param mode the mode * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next ddm template * @throws NoSuchTemplateException if a ddm template with the primary key could not be found */ public DDMTemplate[] filterFindByG_C_C_T_M_PrevAndNext( long templateId, long groupId, long classNameId, long classPK, String type, String mode, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTemplateException; /** * Removes all the ddm templates where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ? from the database. * * @param groupId the group ID * @param classNameId the class name ID * @param classPK the class pk * @param type the type * @param mode the mode */ public void removeByG_C_C_T_M( long groupId, long classNameId, long classPK, String type, String mode); /** * Returns the number of ddm templates where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classPK the class pk * @param type the type * @param mode the mode * @return the number of matching ddm templates */ public int countByG_C_C_T_M( long groupId, long classNameId, long classPK, String type, String mode); /** * Returns the number of ddm templates that the user has permission to view where groupId = ? and classNameId = ? and classPK = ? and type = ? and mode = ?. * * @param groupId the group ID * @param classNameId the class name ID * @param classPK the class pk * @param type the type * @param mode the mode * @return the number of matching ddm templates that the user has permission to view */ public int filterCountByG_C_C_T_M( long groupId, long classNameId, long classPK, String type, String mode); /** * Caches the ddm template in the entity cache if it is enabled. * * @param ddmTemplate the ddm template */ public void cacheResult(DDMTemplate ddmTemplate); /** * Caches the ddm templates in the entity cache if it is enabled. * * @param ddmTemplates the ddm templates */ public void cacheResult(java.util.List ddmTemplates); /** * Creates a new ddm template with the primary key. Does not add the ddm template to the database. * * @param templateId the primary key for the new ddm template * @return the new ddm template */ public DDMTemplate create(long templateId); /** * Removes the ddm template with the primary key from the database. Also notifies the appropriate model listeners. * * @param templateId the primary key of the ddm template * @return the ddm template that was removed * @throws NoSuchTemplateException if a ddm template with the primary key could not be found */ public DDMTemplate remove(long templateId) throws NoSuchTemplateException; public DDMTemplate updateImpl(DDMTemplate ddmTemplate); /** * Returns the ddm template with the primary key or throws a NoSuchTemplateException if it could not be found. * * @param templateId the primary key of the ddm template * @return the ddm template * @throws NoSuchTemplateException if a ddm template with the primary key could not be found */ public DDMTemplate findByPrimaryKey(long templateId) throws NoSuchTemplateException; /** * Returns the ddm template with the primary key or returns null if it could not be found. * * @param templateId the primary key of the ddm template * @return the ddm template, or null if a ddm template with the primary key could not be found */ public DDMTemplate fetchByPrimaryKey(long templateId); /** * Returns all the ddm templates. * * @return the ddm templates */ public java.util.List findAll(); /** * Returns a range of all the ddm templates. * *

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy