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

com.liferay.object.service.persistence.ObjectDefinitionPersistence Maven / Gradle / Ivy

There is a newer version: 96.0.0
Show newest version
/**
 * SPDX-FileCopyrightText: (c) 2000 Liferay, Inc. https://liferay.com
 * SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
 */

package com.liferay.object.service.persistence;

import com.liferay.object.exception.NoSuchObjectDefinitionException;
import com.liferay.object.model.ObjectDefinition;
import com.liferay.portal.kernel.service.persistence.BasePersistence;

import org.osgi.annotation.versioning.ProviderType;

/**
 * The persistence interface for the object definition service.
 *
 * 

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

* * @author Marco Leo * @see ObjectDefinitionUtil * @generated */ @ProviderType public interface ObjectDefinitionPersistence extends BasePersistence { /* * NOTE FOR DEVELOPERS: * * Never modify or reference this interface directly. Always use {@link ObjectDefinitionUtil} to access the object definition persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. */ /** * Returns all the object definitions where uuid = ?. * * @param uuid the uuid * @return the matching object definitions */ public java.util.List findByUuid(String uuid); /** * Returns a range of all the object definitions 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, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

* * @param uuid the uuid * @param start the lower bound of the range of object definitions * @param end the upper bound of the range of object definitions (not inclusive) * @return the range of matching object definitions */ public java.util.List findByUuid( String uuid, int start, int end); /** * Returns an ordered range of all the object definitions 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, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

* * @param uuid the uuid * @param start the lower bound of the range of object definitions * @param end the upper bound of the range of object definitions (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching object definitions */ 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 object definitions 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, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

* * @param uuid the uuid * @param start the lower bound of the range of object definitions * @param end the upper bound of the range of object definitions (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param useFinderCache whether to use the finder cache * @return the ordered range of matching object definitions */ public java.util.List findByUuid( String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean useFinderCache); /** * Returns the first object definition 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 object definition * @throws NoSuchObjectDefinitionException if a matching object definition could not be found */ public ObjectDefinition findByUuid_First( String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectDefinitionException; /** * Returns the first object definition 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 object definition, or null if a matching object definition could not be found */ public ObjectDefinition fetchByUuid_First( String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last object definition 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 object definition * @throws NoSuchObjectDefinitionException if a matching object definition could not be found */ public ObjectDefinition findByUuid_Last( String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectDefinitionException; /** * Returns the last object definition 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 object definition, or null if a matching object definition could not be found */ public ObjectDefinition fetchByUuid_Last( String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the object definitions before and after the current object definition in the ordered set where uuid = ?. * * @param objectDefinitionId the primary key of the current object definition * @param uuid the uuid * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next object definition * @throws NoSuchObjectDefinitionException if a object definition with the primary key could not be found */ public ObjectDefinition[] findByUuid_PrevAndNext( long objectDefinitionId, String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectDefinitionException; /** * Returns all the object definitions that the user has permission to view where uuid = ?. * * @param uuid the uuid * @return the matching object definitions that the user has permission to view */ public java.util.List filterFindByUuid(String uuid); /** * Returns a range of all the object definitions that the user has permission to view 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, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

* * @param uuid the uuid * @param start the lower bound of the range of object definitions * @param end the upper bound of the range of object definitions (not inclusive) * @return the range of matching object definitions that the user has permission to view */ public java.util.List filterFindByUuid( String uuid, int start, int end); /** * Returns an ordered range of all the object definitions that the user has permissions to view 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, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

* * @param uuid the uuid * @param start the lower bound of the range of object definitions * @param end the upper bound of the range of object definitions (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching object definitions that the user has permission to view */ public java.util.List filterFindByUuid( String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the object definitions before and after the current object definition in the ordered set of object definitions that the user has permission to view where uuid = ?. * * @param objectDefinitionId the primary key of the current object definition * @param uuid the uuid * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next object definition * @throws NoSuchObjectDefinitionException if a object definition with the primary key could not be found */ public ObjectDefinition[] filterFindByUuid_PrevAndNext( long objectDefinitionId, String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectDefinitionException; /** * Removes all the object definitions where uuid = ? from the database. * * @param uuid the uuid */ public void removeByUuid(String uuid); /** * Returns the number of object definitions where uuid = ?. * * @param uuid the uuid * @return the number of matching object definitions */ public int countByUuid(String uuid); /** * Returns the number of object definitions that the user has permission to view where uuid = ?. * * @param uuid the uuid * @return the number of matching object definitions that the user has permission to view */ public int filterCountByUuid(String uuid); /** * Returns all the object definitions where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @return the matching object definitions */ public java.util.List findByUuid_C( String uuid, long companyId); /** * Returns a range of all the object definitions 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, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

* * @param uuid the uuid * @param companyId the company ID * @param start the lower bound of the range of object definitions * @param end the upper bound of the range of object definitions (not inclusive) * @return the range of matching object definitions */ public java.util.List findByUuid_C( String uuid, long companyId, int start, int end); /** * Returns an ordered range of all the object definitions 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, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

* * @param uuid the uuid * @param companyId the company ID * @param start the lower bound of the range of object definitions * @param end the upper bound of the range of object definitions (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching object definitions */ 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 object definitions 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, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

* * @param uuid the uuid * @param companyId the company ID * @param start the lower bound of the range of object definitions * @param end the upper bound of the range of object definitions (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param useFinderCache whether to use the finder cache * @return the ordered range of matching object definitions */ public java.util.List findByUuid_C( String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean useFinderCache); /** * Returns the first object definition 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 object definition * @throws NoSuchObjectDefinitionException if a matching object definition could not be found */ public ObjectDefinition findByUuid_C_First( String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectDefinitionException; /** * Returns the first object definition 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 object definition, or null if a matching object definition could not be found */ public ObjectDefinition fetchByUuid_C_First( String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last object definition 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 object definition * @throws NoSuchObjectDefinitionException if a matching object definition could not be found */ public ObjectDefinition findByUuid_C_Last( String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectDefinitionException; /** * Returns the last object definition 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 object definition, or null if a matching object definition could not be found */ public ObjectDefinition fetchByUuid_C_Last( String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the object definitions before and after the current object definition in the ordered set where uuid = ? and companyId = ?. * * @param objectDefinitionId the primary key of the current object definition * @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 object definition * @throws NoSuchObjectDefinitionException if a object definition with the primary key could not be found */ public ObjectDefinition[] findByUuid_C_PrevAndNext( long objectDefinitionId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectDefinitionException; /** * Returns all the object definitions that the user has permission to view where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @return the matching object definitions that the user has permission to view */ public java.util.List filterFindByUuid_C( String uuid, long companyId); /** * Returns a range of all the object definitions that the user has permission to view 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, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

* * @param uuid the uuid * @param companyId the company ID * @param start the lower bound of the range of object definitions * @param end the upper bound of the range of object definitions (not inclusive) * @return the range of matching object definitions that the user has permission to view */ public java.util.List filterFindByUuid_C( String uuid, long companyId, int start, int end); /** * Returns an ordered range of all the object definitions that the user has permissions to view 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, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

* * @param uuid the uuid * @param companyId the company ID * @param start the lower bound of the range of object definitions * @param end the upper bound of the range of object definitions (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching object definitions that the user has permission to view */ public java.util.List filterFindByUuid_C( String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the object definitions before and after the current object definition in the ordered set of object definitions that the user has permission to view where uuid = ? and companyId = ?. * * @param objectDefinitionId the primary key of the current object definition * @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 object definition * @throws NoSuchObjectDefinitionException if a object definition with the primary key could not be found */ public ObjectDefinition[] filterFindByUuid_C_PrevAndNext( long objectDefinitionId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectDefinitionException; /** * Removes all the object definitions 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 object definitions where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @return the number of matching object definitions */ public int countByUuid_C(String uuid, long companyId); /** * Returns the number of object definitions that the user has permission to view where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @return the number of matching object definitions that the user has permission to view */ public int filterCountByUuid_C(String uuid, long companyId); /** * Returns all the object definitions where companyId = ?. * * @param companyId the company ID * @return the matching object definitions */ public java.util.List findByCompanyId(long companyId); /** * Returns a range of all the object definitions where companyId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

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

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

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

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

* * @param companyId the company ID * @param start the lower bound of the range of object definitions * @param end the upper bound of the range of object definitions (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param useFinderCache whether to use the finder cache * @return the ordered range of matching object definitions */ public java.util.List findByCompanyId( long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean useFinderCache); /** * Returns the first object definition in the ordered set where companyId = ?. * * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching object definition * @throws NoSuchObjectDefinitionException if a matching object definition could not be found */ public ObjectDefinition findByCompanyId_First( long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectDefinitionException; /** * Returns the first object definition in the ordered set where companyId = ?. * * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching object definition, or null if a matching object definition could not be found */ public ObjectDefinition fetchByCompanyId_First( long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last object definition in the ordered set where companyId = ?. * * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching object definition * @throws NoSuchObjectDefinitionException if a matching object definition could not be found */ public ObjectDefinition findByCompanyId_Last( long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectDefinitionException; /** * Returns the last object definition in the ordered set where companyId = ?. * * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching object definition, or null if a matching object definition could not be found */ public ObjectDefinition fetchByCompanyId_Last( long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the object definitions before and after the current object definition in the ordered set where companyId = ?. * * @param objectDefinitionId the primary key of the current object definition * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next object definition * @throws NoSuchObjectDefinitionException if a object definition with the primary key could not be found */ public ObjectDefinition[] findByCompanyId_PrevAndNext( long objectDefinitionId, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectDefinitionException; /** * Returns all the object definitions that the user has permission to view where companyId = ?. * * @param companyId the company ID * @return the matching object definitions that the user has permission to view */ public java.util.List filterFindByCompanyId( long companyId); /** * Returns a range of all the object definitions that the user has permission to view where companyId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

* * @param companyId the company ID * @param start the lower bound of the range of object definitions * @param end the upper bound of the range of object definitions (not inclusive) * @return the range of matching object definitions that the user has permission to view */ public java.util.List filterFindByCompanyId( long companyId, int start, int end); /** * Returns an ordered range of all the object definitions that the user has permissions to view where companyId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

* * @param companyId the company ID * @param start the lower bound of the range of object definitions * @param end the upper bound of the range of object definitions (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching object definitions that the user has permission to view */ public java.util.List filterFindByCompanyId( long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the object definitions before and after the current object definition in the ordered set of object definitions that the user has permission to view where companyId = ?. * * @param objectDefinitionId the primary key of the current object definition * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next object definition * @throws NoSuchObjectDefinitionException if a object definition with the primary key could not be found */ public ObjectDefinition[] filterFindByCompanyId_PrevAndNext( long objectDefinitionId, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectDefinitionException; /** * Removes all the object definitions where companyId = ? from the database. * * @param companyId the company ID */ public void removeByCompanyId(long companyId); /** * Returns the number of object definitions where companyId = ?. * * @param companyId the company ID * @return the number of matching object definitions */ public int countByCompanyId(long companyId); /** * Returns the number of object definitions that the user has permission to view where companyId = ?. * * @param companyId the company ID * @return the number of matching object definitions that the user has permission to view */ public int filterCountByCompanyId(long companyId); /** * Returns all the object definitions where objectFolderId = ?. * * @param objectFolderId the object folder ID * @return the matching object definitions */ public java.util.List findByObjectFolderId( long objectFolderId); /** * Returns a range of all the object definitions where objectFolderId = ?. * *

* 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, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

* * @param objectFolderId the object folder ID * @param start the lower bound of the range of object definitions * @param end the upper bound of the range of object definitions (not inclusive) * @return the range of matching object definitions */ public java.util.List findByObjectFolderId( long objectFolderId, int start, int end); /** * Returns an ordered range of all the object definitions where objectFolderId = ?. * *

* 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, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

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

* 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, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

* * @param objectFolderId the object folder ID * @param start the lower bound of the range of object definitions * @param end the upper bound of the range of object definitions (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param useFinderCache whether to use the finder cache * @return the ordered range of matching object definitions */ public java.util.List findByObjectFolderId( long objectFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean useFinderCache); /** * Returns the first object definition in the ordered set where objectFolderId = ?. * * @param objectFolderId the object folder ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching object definition * @throws NoSuchObjectDefinitionException if a matching object definition could not be found */ public ObjectDefinition findByObjectFolderId_First( long objectFolderId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectDefinitionException; /** * Returns the first object definition in the ordered set where objectFolderId = ?. * * @param objectFolderId the object folder ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching object definition, or null if a matching object definition could not be found */ public ObjectDefinition fetchByObjectFolderId_First( long objectFolderId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last object definition in the ordered set where objectFolderId = ?. * * @param objectFolderId the object folder ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching object definition * @throws NoSuchObjectDefinitionException if a matching object definition could not be found */ public ObjectDefinition findByObjectFolderId_Last( long objectFolderId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectDefinitionException; /** * Returns the last object definition in the ordered set where objectFolderId = ?. * * @param objectFolderId the object folder ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching object definition, or null if a matching object definition could not be found */ public ObjectDefinition fetchByObjectFolderId_Last( long objectFolderId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the object definitions before and after the current object definition in the ordered set where objectFolderId = ?. * * @param objectDefinitionId the primary key of the current object definition * @param objectFolderId the object folder ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next object definition * @throws NoSuchObjectDefinitionException if a object definition with the primary key could not be found */ public ObjectDefinition[] findByObjectFolderId_PrevAndNext( long objectDefinitionId, long objectFolderId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectDefinitionException; /** * Returns all the object definitions that the user has permission to view where objectFolderId = ?. * * @param objectFolderId the object folder ID * @return the matching object definitions that the user has permission to view */ public java.util.List filterFindByObjectFolderId( long objectFolderId); /** * Returns a range of all the object definitions that the user has permission to view where objectFolderId = ?. * *

* 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, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

* * @param objectFolderId the object folder ID * @param start the lower bound of the range of object definitions * @param end the upper bound of the range of object definitions (not inclusive) * @return the range of matching object definitions that the user has permission to view */ public java.util.List filterFindByObjectFolderId( long objectFolderId, int start, int end); /** * Returns an ordered range of all the object definitions that the user has permissions to view where objectFolderId = ?. * *

* 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, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

* * @param objectFolderId the object folder ID * @param start the lower bound of the range of object definitions * @param end the upper bound of the range of object definitions (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching object definitions that the user has permission to view */ public java.util.List filterFindByObjectFolderId( long objectFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the object definitions before and after the current object definition in the ordered set of object definitions that the user has permission to view where objectFolderId = ?. * * @param objectDefinitionId the primary key of the current object definition * @param objectFolderId the object folder ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next object definition * @throws NoSuchObjectDefinitionException if a object definition with the primary key could not be found */ public ObjectDefinition[] filterFindByObjectFolderId_PrevAndNext( long objectDefinitionId, long objectFolderId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectDefinitionException; /** * Removes all the object definitions where objectFolderId = ? from the database. * * @param objectFolderId the object folder ID */ public void removeByObjectFolderId(long objectFolderId); /** * Returns the number of object definitions where objectFolderId = ?. * * @param objectFolderId the object folder ID * @return the number of matching object definitions */ public int countByObjectFolderId(long objectFolderId); /** * Returns the number of object definitions that the user has permission to view where objectFolderId = ?. * * @param objectFolderId the object folder ID * @return the number of matching object definitions that the user has permission to view */ public int filterCountByObjectFolderId(long objectFolderId); /** * Returns all the object definitions where accountEntryRestricted = ?. * * @param accountEntryRestricted the account entry restricted * @return the matching object definitions */ public java.util.List findByAccountEntryRestricted( boolean accountEntryRestricted); /** * Returns a range of all the object definitions where accountEntryRestricted = ?. * *

* 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, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

* * @param accountEntryRestricted the account entry restricted * @param start the lower bound of the range of object definitions * @param end the upper bound of the range of object definitions (not inclusive) * @return the range of matching object definitions */ public java.util.List findByAccountEntryRestricted( boolean accountEntryRestricted, int start, int end); /** * Returns an ordered range of all the object definitions where accountEntryRestricted = ?. * *

* 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, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

* * @param accountEntryRestricted the account entry restricted * @param start the lower bound of the range of object definitions * @param end the upper bound of the range of object definitions (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching object definitions */ public java.util.List findByAccountEntryRestricted( boolean accountEntryRestricted, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns an ordered range of all the object definitions where accountEntryRestricted = ?. * *

* 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, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

* * @param accountEntryRestricted the account entry restricted * @param start the lower bound of the range of object definitions * @param end the upper bound of the range of object definitions (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param useFinderCache whether to use the finder cache * @return the ordered range of matching object definitions */ public java.util.List findByAccountEntryRestricted( boolean accountEntryRestricted, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean useFinderCache); /** * Returns the first object definition in the ordered set where accountEntryRestricted = ?. * * @param accountEntryRestricted the account entry restricted * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching object definition * @throws NoSuchObjectDefinitionException if a matching object definition could not be found */ public ObjectDefinition findByAccountEntryRestricted_First( boolean accountEntryRestricted, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectDefinitionException; /** * Returns the first object definition in the ordered set where accountEntryRestricted = ?. * * @param accountEntryRestricted the account entry restricted * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching object definition, or null if a matching object definition could not be found */ public ObjectDefinition fetchByAccountEntryRestricted_First( boolean accountEntryRestricted, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last object definition in the ordered set where accountEntryRestricted = ?. * * @param accountEntryRestricted the account entry restricted * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching object definition * @throws NoSuchObjectDefinitionException if a matching object definition could not be found */ public ObjectDefinition findByAccountEntryRestricted_Last( boolean accountEntryRestricted, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectDefinitionException; /** * Returns the last object definition in the ordered set where accountEntryRestricted = ?. * * @param accountEntryRestricted the account entry restricted * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching object definition, or null if a matching object definition could not be found */ public ObjectDefinition fetchByAccountEntryRestricted_Last( boolean accountEntryRestricted, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the object definitions before and after the current object definition in the ordered set where accountEntryRestricted = ?. * * @param objectDefinitionId the primary key of the current object definition * @param accountEntryRestricted the account entry restricted * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next object definition * @throws NoSuchObjectDefinitionException if a object definition with the primary key could not be found */ public ObjectDefinition[] findByAccountEntryRestricted_PrevAndNext( long objectDefinitionId, boolean accountEntryRestricted, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectDefinitionException; /** * Returns all the object definitions that the user has permission to view where accountEntryRestricted = ?. * * @param accountEntryRestricted the account entry restricted * @return the matching object definitions that the user has permission to view */ public java.util.List filterFindByAccountEntryRestricted( boolean accountEntryRestricted); /** * Returns a range of all the object definitions that the user has permission to view where accountEntryRestricted = ?. * *

* 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, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

* * @param accountEntryRestricted the account entry restricted * @param start the lower bound of the range of object definitions * @param end the upper bound of the range of object definitions (not inclusive) * @return the range of matching object definitions that the user has permission to view */ public java.util.List filterFindByAccountEntryRestricted( boolean accountEntryRestricted, int start, int end); /** * Returns an ordered range of all the object definitions that the user has permissions to view where accountEntryRestricted = ?. * *

* 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, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

* * @param accountEntryRestricted the account entry restricted * @param start the lower bound of the range of object definitions * @param end the upper bound of the range of object definitions (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching object definitions that the user has permission to view */ public java.util.List filterFindByAccountEntryRestricted( boolean accountEntryRestricted, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the object definitions before and after the current object definition in the ordered set of object definitions that the user has permission to view where accountEntryRestricted = ?. * * @param objectDefinitionId the primary key of the current object definition * @param accountEntryRestricted the account entry restricted * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next object definition * @throws NoSuchObjectDefinitionException if a object definition with the primary key could not be found */ public ObjectDefinition[] filterFindByAccountEntryRestricted_PrevAndNext( long objectDefinitionId, boolean accountEntryRestricted, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectDefinitionException; /** * Removes all the object definitions where accountEntryRestricted = ? from the database. * * @param accountEntryRestricted the account entry restricted */ public void removeByAccountEntryRestricted(boolean accountEntryRestricted); /** * Returns the number of object definitions where accountEntryRestricted = ?. * * @param accountEntryRestricted the account entry restricted * @return the number of matching object definitions */ public int countByAccountEntryRestricted(boolean accountEntryRestricted); /** * Returns the number of object definitions that the user has permission to view where accountEntryRestricted = ?. * * @param accountEntryRestricted the account entry restricted * @return the number of matching object definitions that the user has permission to view */ public int filterCountByAccountEntryRestricted( boolean accountEntryRestricted); /** * Returns all the object definitions where system = ?. * * @param system the system * @return the matching object definitions */ public java.util.List findBySystem(boolean system); /** * Returns a range of all the object definitions where system = ?. * *

* 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, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

* * @param system the system * @param start the lower bound of the range of object definitions * @param end the upper bound of the range of object definitions (not inclusive) * @return the range of matching object definitions */ public java.util.List findBySystem( boolean system, int start, int end); /** * Returns an ordered range of all the object definitions where system = ?. * *

* 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, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

* * @param system the system * @param start the lower bound of the range of object definitions * @param end the upper bound of the range of object definitions (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching object definitions */ public java.util.List findBySystem( boolean system, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns an ordered range of all the object definitions where system = ?. * *

* 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, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

* * @param system the system * @param start the lower bound of the range of object definitions * @param end the upper bound of the range of object definitions (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param useFinderCache whether to use the finder cache * @return the ordered range of matching object definitions */ public java.util.List findBySystem( boolean system, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean useFinderCache); /** * Returns the first object definition in the ordered set where system = ?. * * @param system the system * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching object definition * @throws NoSuchObjectDefinitionException if a matching object definition could not be found */ public ObjectDefinition findBySystem_First( boolean system, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectDefinitionException; /** * Returns the first object definition in the ordered set where system = ?. * * @param system the system * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching object definition, or null if a matching object definition could not be found */ public ObjectDefinition fetchBySystem_First( boolean system, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last object definition in the ordered set where system = ?. * * @param system the system * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching object definition * @throws NoSuchObjectDefinitionException if a matching object definition could not be found */ public ObjectDefinition findBySystem_Last( boolean system, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectDefinitionException; /** * Returns the last object definition in the ordered set where system = ?. * * @param system the system * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching object definition, or null if a matching object definition could not be found */ public ObjectDefinition fetchBySystem_Last( boolean system, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the object definitions before and after the current object definition in the ordered set where system = ?. * * @param objectDefinitionId the primary key of the current object definition * @param system the system * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next object definition * @throws NoSuchObjectDefinitionException if a object definition with the primary key could not be found */ public ObjectDefinition[] findBySystem_PrevAndNext( long objectDefinitionId, boolean system, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectDefinitionException; /** * Returns all the object definitions that the user has permission to view where system = ?. * * @param system the system * @return the matching object definitions that the user has permission to view */ public java.util.List filterFindBySystem(boolean system); /** * Returns a range of all the object definitions that the user has permission to view where system = ?. * *

* 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, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

* * @param system the system * @param start the lower bound of the range of object definitions * @param end the upper bound of the range of object definitions (not inclusive) * @return the range of matching object definitions that the user has permission to view */ public java.util.List filterFindBySystem( boolean system, int start, int end); /** * Returns an ordered range of all the object definitions that the user has permissions to view where system = ?. * *

* 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, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

* * @param system the system * @param start the lower bound of the range of object definitions * @param end the upper bound of the range of object definitions (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching object definitions that the user has permission to view */ public java.util.List filterFindBySystem( boolean system, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the object definitions before and after the current object definition in the ordered set of object definitions that the user has permission to view where system = ?. * * @param objectDefinitionId the primary key of the current object definition * @param system the system * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next object definition * @throws NoSuchObjectDefinitionException if a object definition with the primary key could not be found */ public ObjectDefinition[] filterFindBySystem_PrevAndNext( long objectDefinitionId, boolean system, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectDefinitionException; /** * Removes all the object definitions where system = ? from the database. * * @param system the system */ public void removeBySystem(boolean system); /** * Returns the number of object definitions where system = ?. * * @param system the system * @return the number of matching object definitions */ public int countBySystem(boolean system); /** * Returns the number of object definitions that the user has permission to view where system = ?. * * @param system the system * @return the number of matching object definitions that the user has permission to view */ public int filterCountBySystem(boolean system); /** * Returns all the object definitions where companyId = ? and userId = ?. * * @param companyId the company ID * @param userId the user ID * @return the matching object definitions */ public java.util.List findByC_U( long companyId, long userId); /** * Returns a range of all the object definitions where companyId = ? and userId = ?. * *

* 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, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

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

* 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, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

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

* 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, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

* * @param companyId the company ID * @param userId the user ID * @param start the lower bound of the range of object definitions * @param end the upper bound of the range of object definitions (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param useFinderCache whether to use the finder cache * @return the ordered range of matching object definitions */ public java.util.List findByC_U( long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean useFinderCache); /** * Returns the first object definition in the ordered set where companyId = ? and userId = ?. * * @param companyId the company ID * @param userId the user ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching object definition * @throws NoSuchObjectDefinitionException if a matching object definition could not be found */ public ObjectDefinition findByC_U_First( long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectDefinitionException; /** * Returns the first object definition in the ordered set where companyId = ? and userId = ?. * * @param companyId the company ID * @param userId the user ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching object definition, or null if a matching object definition could not be found */ public ObjectDefinition fetchByC_U_First( long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last object definition in the ordered set where companyId = ? and userId = ?. * * @param companyId the company ID * @param userId the user ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching object definition * @throws NoSuchObjectDefinitionException if a matching object definition could not be found */ public ObjectDefinition findByC_U_Last( long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectDefinitionException; /** * Returns the last object definition in the ordered set where companyId = ? and userId = ?. * * @param companyId the company ID * @param userId the user ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching object definition, or null if a matching object definition could not be found */ public ObjectDefinition fetchByC_U_Last( long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the object definitions before and after the current object definition in the ordered set where companyId = ? and userId = ?. * * @param objectDefinitionId the primary key of the current object definition * @param companyId the company ID * @param userId the user ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next object definition * @throws NoSuchObjectDefinitionException if a object definition with the primary key could not be found */ public ObjectDefinition[] findByC_U_PrevAndNext( long objectDefinitionId, long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectDefinitionException; /** * Returns all the object definitions that the user has permission to view where companyId = ? and userId = ?. * * @param companyId the company ID * @param userId the user ID * @return the matching object definitions that the user has permission to view */ public java.util.List filterFindByC_U( long companyId, long userId); /** * Returns a range of all the object definitions that the user has permission to view where companyId = ? and userId = ?. * *

* 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, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

* * @param companyId the company ID * @param userId the user ID * @param start the lower bound of the range of object definitions * @param end the upper bound of the range of object definitions (not inclusive) * @return the range of matching object definitions that the user has permission to view */ public java.util.List filterFindByC_U( long companyId, long userId, int start, int end); /** * Returns an ordered range of all the object definitions that the user has permissions to view where companyId = ? and userId = ?. * *

* 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, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

* * @param companyId the company ID * @param userId the user ID * @param start the lower bound of the range of object definitions * @param end the upper bound of the range of object definitions (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching object definitions that the user has permission to view */ public java.util.List filterFindByC_U( long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the object definitions before and after the current object definition in the ordered set of object definitions that the user has permission to view where companyId = ? and userId = ?. * * @param objectDefinitionId the primary key of the current object definition * @param companyId the company ID * @param userId the user ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next object definition * @throws NoSuchObjectDefinitionException if a object definition with the primary key could not be found */ public ObjectDefinition[] filterFindByC_U_PrevAndNext( long objectDefinitionId, long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectDefinitionException; /** * Removes all the object definitions where companyId = ? and userId = ? from the database. * * @param companyId the company ID * @param userId the user ID */ public void removeByC_U(long companyId, long userId); /** * Returns the number of object definitions where companyId = ? and userId = ?. * * @param companyId the company ID * @param userId the user ID * @return the number of matching object definitions */ public int countByC_U(long companyId, long userId); /** * Returns the number of object definitions that the user has permission to view where companyId = ? and userId = ?. * * @param companyId the company ID * @param userId the user ID * @return the number of matching object definitions that the user has permission to view */ public int filterCountByC_U(long companyId, long userId); /** * Returns all the object definitions where companyId = ? and rootObjectDefinitionId = ?. * * @param companyId the company ID * @param rootObjectDefinitionId the root object definition ID * @return the matching object definitions */ public java.util.List findByC_RODI( long companyId, long rootObjectDefinitionId); /** * Returns a range of all the object definitions where companyId = ? and rootObjectDefinitionId = ?. * *

* 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, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

* * @param companyId the company ID * @param rootObjectDefinitionId the root object definition ID * @param start the lower bound of the range of object definitions * @param end the upper bound of the range of object definitions (not inclusive) * @return the range of matching object definitions */ public java.util.List findByC_RODI( long companyId, long rootObjectDefinitionId, int start, int end); /** * Returns an ordered range of all the object definitions where companyId = ? and rootObjectDefinitionId = ?. * *

* 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, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

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

* 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, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

* * @param companyId the company ID * @param rootObjectDefinitionId the root object definition ID * @param start the lower bound of the range of object definitions * @param end the upper bound of the range of object definitions (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param useFinderCache whether to use the finder cache * @return the ordered range of matching object definitions */ public java.util.List findByC_RODI( long companyId, long rootObjectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean useFinderCache); /** * Returns the first object definition in the ordered set where companyId = ? and rootObjectDefinitionId = ?. * * @param companyId the company ID * @param rootObjectDefinitionId the root object definition ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching object definition * @throws NoSuchObjectDefinitionException if a matching object definition could not be found */ public ObjectDefinition findByC_RODI_First( long companyId, long rootObjectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectDefinitionException; /** * Returns the first object definition in the ordered set where companyId = ? and rootObjectDefinitionId = ?. * * @param companyId the company ID * @param rootObjectDefinitionId the root object definition ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching object definition, or null if a matching object definition could not be found */ public ObjectDefinition fetchByC_RODI_First( long companyId, long rootObjectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last object definition in the ordered set where companyId = ? and rootObjectDefinitionId = ?. * * @param companyId the company ID * @param rootObjectDefinitionId the root object definition ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching object definition * @throws NoSuchObjectDefinitionException if a matching object definition could not be found */ public ObjectDefinition findByC_RODI_Last( long companyId, long rootObjectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectDefinitionException; /** * Returns the last object definition in the ordered set where companyId = ? and rootObjectDefinitionId = ?. * * @param companyId the company ID * @param rootObjectDefinitionId the root object definition ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching object definition, or null if a matching object definition could not be found */ public ObjectDefinition fetchByC_RODI_Last( long companyId, long rootObjectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the object definitions before and after the current object definition in the ordered set where companyId = ? and rootObjectDefinitionId = ?. * * @param objectDefinitionId the primary key of the current object definition * @param companyId the company ID * @param rootObjectDefinitionId the root object definition ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next object definition * @throws NoSuchObjectDefinitionException if a object definition with the primary key could not be found */ public ObjectDefinition[] findByC_RODI_PrevAndNext( long objectDefinitionId, long companyId, long rootObjectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectDefinitionException; /** * Returns all the object definitions that the user has permission to view where companyId = ? and rootObjectDefinitionId = ?. * * @param companyId the company ID * @param rootObjectDefinitionId the root object definition ID * @return the matching object definitions that the user has permission to view */ public java.util.List filterFindByC_RODI( long companyId, long rootObjectDefinitionId); /** * Returns a range of all the object definitions that the user has permission to view where companyId = ? and rootObjectDefinitionId = ?. * *

* 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, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

* * @param companyId the company ID * @param rootObjectDefinitionId the root object definition ID * @param start the lower bound of the range of object definitions * @param end the upper bound of the range of object definitions (not inclusive) * @return the range of matching object definitions that the user has permission to view */ public java.util.List filterFindByC_RODI( long companyId, long rootObjectDefinitionId, int start, int end); /** * Returns an ordered range of all the object definitions that the user has permissions to view where companyId = ? and rootObjectDefinitionId = ?. * *

* 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, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

* * @param companyId the company ID * @param rootObjectDefinitionId the root object definition ID * @param start the lower bound of the range of object definitions * @param end the upper bound of the range of object definitions (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching object definitions that the user has permission to view */ public java.util.List filterFindByC_RODI( long companyId, long rootObjectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the object definitions before and after the current object definition in the ordered set of object definitions that the user has permission to view where companyId = ? and rootObjectDefinitionId = ?. * * @param objectDefinitionId the primary key of the current object definition * @param companyId the company ID * @param rootObjectDefinitionId the root object definition ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next object definition * @throws NoSuchObjectDefinitionException if a object definition with the primary key could not be found */ public ObjectDefinition[] filterFindByC_RODI_PrevAndNext( long objectDefinitionId, long companyId, long rootObjectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectDefinitionException; /** * Removes all the object definitions where companyId = ? and rootObjectDefinitionId = ? from the database. * * @param companyId the company ID * @param rootObjectDefinitionId the root object definition ID */ public void removeByC_RODI(long companyId, long rootObjectDefinitionId); /** * Returns the number of object definitions where companyId = ? and rootObjectDefinitionId = ?. * * @param companyId the company ID * @param rootObjectDefinitionId the root object definition ID * @return the number of matching object definitions */ public int countByC_RODI(long companyId, long rootObjectDefinitionId); /** * Returns the number of object definitions that the user has permission to view where companyId = ? and rootObjectDefinitionId = ?. * * @param companyId the company ID * @param rootObjectDefinitionId the root object definition ID * @return the number of matching object definitions that the user has permission to view */ public int filterCountByC_RODI(long companyId, long rootObjectDefinitionId); /** * Returns the object definition where companyId = ? and className = ? or throws a NoSuchObjectDefinitionException if it could not be found. * * @param companyId the company ID * @param className the class name * @return the matching object definition * @throws NoSuchObjectDefinitionException if a matching object definition could not be found */ public ObjectDefinition findByC_C(long companyId, String className) throws NoSuchObjectDefinitionException; /** * Returns the object definition where companyId = ? and className = ? or returns null if it could not be found. Uses the finder cache. * * @param companyId the company ID * @param className the class name * @return the matching object definition, or null if a matching object definition could not be found */ public ObjectDefinition fetchByC_C(long companyId, String className); /** * Returns the object definition where companyId = ? and className = ? or returns null if it could not be found, optionally using the finder cache. * * @param companyId the company ID * @param className the class name * @param useFinderCache whether to use the finder cache * @return the matching object definition, or null if a matching object definition could not be found */ public ObjectDefinition fetchByC_C( long companyId, String className, boolean useFinderCache); /** * Removes the object definition where companyId = ? and className = ? from the database. * * @param companyId the company ID * @param className the class name * @return the object definition that was removed */ public ObjectDefinition removeByC_C(long companyId, String className) throws NoSuchObjectDefinitionException; /** * Returns the number of object definitions where companyId = ? and className = ?. * * @param companyId the company ID * @param className the class name * @return the number of matching object definitions */ public int countByC_C(long companyId, String className); /** * Returns the object definition where companyId = ? and name = ? or throws a NoSuchObjectDefinitionException if it could not be found. * * @param companyId the company ID * @param name the name * @return the matching object definition * @throws NoSuchObjectDefinitionException if a matching object definition could not be found */ public ObjectDefinition findByC_N(long companyId, String name) throws NoSuchObjectDefinitionException; /** * Returns the object definition where companyId = ? and name = ? or returns null if it could not be found. Uses the finder cache. * * @param companyId the company ID * @param name the name * @return the matching object definition, or null if a matching object definition could not be found */ public ObjectDefinition fetchByC_N(long companyId, String name); /** * Returns the object definition where companyId = ? and name = ? or returns null if it could not be found, optionally using the finder cache. * * @param companyId the company ID * @param name the name * @param useFinderCache whether to use the finder cache * @return the matching object definition, or null if a matching object definition could not be found */ public ObjectDefinition fetchByC_N( long companyId, String name, boolean useFinderCache); /** * Removes the object definition where companyId = ? and name = ? from the database. * * @param companyId the company ID * @param name the name * @return the object definition that was removed */ public ObjectDefinition removeByC_N(long companyId, String name) throws NoSuchObjectDefinitionException; /** * Returns the number of object definitions where companyId = ? and name = ?. * * @param companyId the company ID * @param name the name * @return the number of matching object definitions */ public int countByC_N(long companyId, String name); /** * Returns all the object definitions where companyId = ? and status = ?. * * @param companyId the company ID * @param status the status * @return the matching object definitions */ public java.util.List findByC_S( long companyId, int status); /** * Returns a range of all the object definitions where companyId = ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

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

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

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

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

* * @param companyId the company ID * @param status the status * @param start the lower bound of the range of object definitions * @param end the upper bound of the range of object definitions (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param useFinderCache whether to use the finder cache * @return the ordered range of matching object definitions */ public java.util.List findByC_S( long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean useFinderCache); /** * Returns the first object definition in the ordered set where companyId = ? and status = ?. * * @param companyId the company ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching object definition * @throws NoSuchObjectDefinitionException if a matching object definition could not be found */ public ObjectDefinition findByC_S_First( long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectDefinitionException; /** * Returns the first object definition in the ordered set where companyId = ? and status = ?. * * @param companyId the company ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching object definition, or null if a matching object definition could not be found */ public ObjectDefinition fetchByC_S_First( long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last object definition in the ordered set where companyId = ? and status = ?. * * @param companyId the company ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching object definition * @throws NoSuchObjectDefinitionException if a matching object definition could not be found */ public ObjectDefinition findByC_S_Last( long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectDefinitionException; /** * Returns the last object definition in the ordered set where companyId = ? and status = ?. * * @param companyId the company ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching object definition, or null if a matching object definition could not be found */ public ObjectDefinition fetchByC_S_Last( long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the object definitions before and after the current object definition in the ordered set where companyId = ? and status = ?. * * @param objectDefinitionId the primary key of the current object definition * @param companyId the company ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next object definition * @throws NoSuchObjectDefinitionException if a object definition with the primary key could not be found */ public ObjectDefinition[] findByC_S_PrevAndNext( long objectDefinitionId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectDefinitionException; /** * Returns all the object definitions that the user has permission to view where companyId = ? and status = ?. * * @param companyId the company ID * @param status the status * @return the matching object definitions that the user has permission to view */ public java.util.List filterFindByC_S( long companyId, int status); /** * Returns a range of all the object definitions that the user has permission to view where companyId = ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

* * @param companyId the company ID * @param status the status * @param start the lower bound of the range of object definitions * @param end the upper bound of the range of object definitions (not inclusive) * @return the range of matching object definitions that the user has permission to view */ public java.util.List filterFindByC_S( long companyId, int status, int start, int end); /** * Returns an ordered range of all the object definitions that the user has permissions to view where companyId = ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

* * @param companyId the company ID * @param status the status * @param start the lower bound of the range of object definitions * @param end the upper bound of the range of object definitions (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching object definitions that the user has permission to view */ public java.util.List filterFindByC_S( long companyId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the object definitions before and after the current object definition in the ordered set of object definitions that the user has permission to view where companyId = ? and status = ?. * * @param objectDefinitionId the primary key of the current object definition * @param companyId the company ID * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next object definition * @throws NoSuchObjectDefinitionException if a object definition with the primary key could not be found */ public ObjectDefinition[] filterFindByC_S_PrevAndNext( long objectDefinitionId, long companyId, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectDefinitionException; /** * Removes all the object definitions where companyId = ? and status = ? from the database. * * @param companyId the company ID * @param status the status */ public void removeByC_S(long companyId, int status); /** * Returns the number of object definitions where companyId = ? and status = ?. * * @param companyId the company ID * @param status the status * @return the number of matching object definitions */ public int countByC_S(long companyId, int status); /** * Returns the number of object definitions that the user has permission to view where companyId = ? and status = ?. * * @param companyId the company ID * @param status the status * @return the number of matching object definitions that the user has permission to view */ public int filterCountByC_S(long companyId, int status); /** * Returns all the object definitions where system = ? and status = ?. * * @param system the system * @param status the status * @return the matching object definitions */ public java.util.List findByS_S( boolean system, int status); /** * Returns a range of all the object definitions where system = ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

* * @param system the system * @param status the status * @param start the lower bound of the range of object definitions * @param end the upper bound of the range of object definitions (not inclusive) * @return the range of matching object definitions */ public java.util.List findByS_S( boolean system, int status, int start, int end); /** * Returns an ordered range of all the object definitions where system = ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

* * @param system the system * @param status the status * @param start the lower bound of the range of object definitions * @param end the upper bound of the range of object definitions (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching object definitions */ public java.util.List findByS_S( boolean system, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns an ordered range of all the object definitions where system = ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

* * @param system the system * @param status the status * @param start the lower bound of the range of object definitions * @param end the upper bound of the range of object definitions (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param useFinderCache whether to use the finder cache * @return the ordered range of matching object definitions */ public java.util.List findByS_S( boolean system, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean useFinderCache); /** * Returns the first object definition in the ordered set where system = ? and status = ?. * * @param system the system * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching object definition * @throws NoSuchObjectDefinitionException if a matching object definition could not be found */ public ObjectDefinition findByS_S_First( boolean system, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectDefinitionException; /** * Returns the first object definition in the ordered set where system = ? and status = ?. * * @param system the system * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching object definition, or null if a matching object definition could not be found */ public ObjectDefinition fetchByS_S_First( boolean system, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last object definition in the ordered set where system = ? and status = ?. * * @param system the system * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching object definition * @throws NoSuchObjectDefinitionException if a matching object definition could not be found */ public ObjectDefinition findByS_S_Last( boolean system, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectDefinitionException; /** * Returns the last object definition in the ordered set where system = ? and status = ?. * * @param system the system * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching object definition, or null if a matching object definition could not be found */ public ObjectDefinition fetchByS_S_Last( boolean system, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the object definitions before and after the current object definition in the ordered set where system = ? and status = ?. * * @param objectDefinitionId the primary key of the current object definition * @param system the system * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next object definition * @throws NoSuchObjectDefinitionException if a object definition with the primary key could not be found */ public ObjectDefinition[] findByS_S_PrevAndNext( long objectDefinitionId, boolean system, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectDefinitionException; /** * Returns all the object definitions that the user has permission to view where system = ? and status = ?. * * @param system the system * @param status the status * @return the matching object definitions that the user has permission to view */ public java.util.List filterFindByS_S( boolean system, int status); /** * Returns a range of all the object definitions that the user has permission to view where system = ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

* * @param system the system * @param status the status * @param start the lower bound of the range of object definitions * @param end the upper bound of the range of object definitions (not inclusive) * @return the range of matching object definitions that the user has permission to view */ public java.util.List filterFindByS_S( boolean system, int status, int start, int end); /** * Returns an ordered range of all the object definitions that the user has permissions to view where system = ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

* * @param system the system * @param status the status * @param start the lower bound of the range of object definitions * @param end the upper bound of the range of object definitions (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching object definitions that the user has permission to view */ public java.util.List filterFindByS_S( boolean system, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the object definitions before and after the current object definition in the ordered set of object definitions that the user has permission to view where system = ? and status = ?. * * @param objectDefinitionId the primary key of the current object definition * @param system the system * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next object definition * @throws NoSuchObjectDefinitionException if a object definition with the primary key could not be found */ public ObjectDefinition[] filterFindByS_S_PrevAndNext( long objectDefinitionId, boolean system, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectDefinitionException; /** * Removes all the object definitions where system = ? and status = ? from the database. * * @param system the system * @param status the status */ public void removeByS_S(boolean system, int status); /** * Returns the number of object definitions where system = ? and status = ?. * * @param system the system * @param status the status * @return the number of matching object definitions */ public int countByS_S(boolean system, int status); /** * Returns the number of object definitions that the user has permission to view where system = ? and status = ?. * * @param system the system * @param status the status * @return the number of matching object definitions that the user has permission to view */ public int filterCountByS_S(boolean system, int status); /** * Returns all the object definitions where companyId = ? and active = ? and status = ?. * * @param companyId the company ID * @param active the active * @param status the status * @return the matching object definitions */ public java.util.List findByC_A_S( long companyId, boolean active, int status); /** * Returns a range of all the object definitions where companyId = ? and active = ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

* * @param companyId the company ID * @param active the active * @param status the status * @param start the lower bound of the range of object definitions * @param end the upper bound of the range of object definitions (not inclusive) * @return the range of matching object definitions */ public java.util.List findByC_A_S( long companyId, boolean active, int status, int start, int end); /** * Returns an ordered range of all the object definitions where companyId = ? and active = ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

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

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

* * @param companyId the company ID * @param active the active * @param status the status * @param start the lower bound of the range of object definitions * @param end the upper bound of the range of object definitions (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param useFinderCache whether to use the finder cache * @return the ordered range of matching object definitions */ public java.util.List findByC_A_S( long companyId, boolean active, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean useFinderCache); /** * Returns the first object definition in the ordered set where companyId = ? and active = ? and status = ?. * * @param companyId the company ID * @param active the active * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching object definition * @throws NoSuchObjectDefinitionException if a matching object definition could not be found */ public ObjectDefinition findByC_A_S_First( long companyId, boolean active, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectDefinitionException; /** * Returns the first object definition in the ordered set where companyId = ? and active = ? and status = ?. * * @param companyId the company ID * @param active the active * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching object definition, or null if a matching object definition could not be found */ public ObjectDefinition fetchByC_A_S_First( long companyId, boolean active, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last object definition in the ordered set where companyId = ? and active = ? and status = ?. * * @param companyId the company ID * @param active the active * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching object definition * @throws NoSuchObjectDefinitionException if a matching object definition could not be found */ public ObjectDefinition findByC_A_S_Last( long companyId, boolean active, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectDefinitionException; /** * Returns the last object definition in the ordered set where companyId = ? and active = ? and status = ?. * * @param companyId the company ID * @param active the active * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching object definition, or null if a matching object definition could not be found */ public ObjectDefinition fetchByC_A_S_Last( long companyId, boolean active, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the object definitions before and after the current object definition in the ordered set where companyId = ? and active = ? and status = ?. * * @param objectDefinitionId the primary key of the current object definition * @param companyId the company ID * @param active the active * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next object definition * @throws NoSuchObjectDefinitionException if a object definition with the primary key could not be found */ public ObjectDefinition[] findByC_A_S_PrevAndNext( long objectDefinitionId, long companyId, boolean active, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectDefinitionException; /** * Returns all the object definitions that the user has permission to view where companyId = ? and active = ? and status = ?. * * @param companyId the company ID * @param active the active * @param status the status * @return the matching object definitions that the user has permission to view */ public java.util.List filterFindByC_A_S( long companyId, boolean active, int status); /** * Returns a range of all the object definitions that the user has permission to view where companyId = ? and active = ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

* * @param companyId the company ID * @param active the active * @param status the status * @param start the lower bound of the range of object definitions * @param end the upper bound of the range of object definitions (not inclusive) * @return the range of matching object definitions that the user has permission to view */ public java.util.List filterFindByC_A_S( long companyId, boolean active, int status, int start, int end); /** * Returns an ordered range of all the object definitions that the user has permissions to view where companyId = ? and active = ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

* * @param companyId the company ID * @param active the active * @param status the status * @param start the lower bound of the range of object definitions * @param end the upper bound of the range of object definitions (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching object definitions that the user has permission to view */ public java.util.List filterFindByC_A_S( long companyId, boolean active, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the object definitions before and after the current object definition in the ordered set of object definitions that the user has permission to view where companyId = ? and active = ? and status = ?. * * @param objectDefinitionId the primary key of the current object definition * @param companyId the company ID * @param active the active * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next object definition * @throws NoSuchObjectDefinitionException if a object definition with the primary key could not be found */ public ObjectDefinition[] filterFindByC_A_S_PrevAndNext( long objectDefinitionId, long companyId, boolean active, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectDefinitionException; /** * Removes all the object definitions where companyId = ? and active = ? and status = ? from the database. * * @param companyId the company ID * @param active the active * @param status the status */ public void removeByC_A_S(long companyId, boolean active, int status); /** * Returns the number of object definitions where companyId = ? and active = ? and status = ?. * * @param companyId the company ID * @param active the active * @param status the status * @return the number of matching object definitions */ public int countByC_A_S(long companyId, boolean active, int status); /** * Returns the number of object definitions that the user has permission to view where companyId = ? and active = ? and status = ?. * * @param companyId the company ID * @param active the active * @param status the status * @return the number of matching object definitions that the user has permission to view */ public int filterCountByC_A_S(long companyId, boolean active, int status); /** * Returns all the object definitions where companyId = ? and modifiable = ? and system = ?. * * @param companyId the company ID * @param modifiable the modifiable * @param system the system * @return the matching object definitions */ public java.util.List findByC_M_S( long companyId, boolean modifiable, boolean system); /** * Returns a range of all the object definitions where companyId = ? and modifiable = ? and system = ?. * *

* 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, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

* * @param companyId the company ID * @param modifiable the modifiable * @param system the system * @param start the lower bound of the range of object definitions * @param end the upper bound of the range of object definitions (not inclusive) * @return the range of matching object definitions */ public java.util.List findByC_M_S( long companyId, boolean modifiable, boolean system, int start, int end); /** * Returns an ordered range of all the object definitions where companyId = ? and modifiable = ? and system = ?. * *

* 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, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

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

* 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, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

* * @param companyId the company ID * @param modifiable the modifiable * @param system the system * @param start the lower bound of the range of object definitions * @param end the upper bound of the range of object definitions (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param useFinderCache whether to use the finder cache * @return the ordered range of matching object definitions */ public java.util.List findByC_M_S( long companyId, boolean modifiable, boolean system, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean useFinderCache); /** * Returns the first object definition in the ordered set where companyId = ? and modifiable = ? and system = ?. * * @param companyId the company ID * @param modifiable the modifiable * @param system the system * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching object definition * @throws NoSuchObjectDefinitionException if a matching object definition could not be found */ public ObjectDefinition findByC_M_S_First( long companyId, boolean modifiable, boolean system, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectDefinitionException; /** * Returns the first object definition in the ordered set where companyId = ? and modifiable = ? and system = ?. * * @param companyId the company ID * @param modifiable the modifiable * @param system the system * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching object definition, or null if a matching object definition could not be found */ public ObjectDefinition fetchByC_M_S_First( long companyId, boolean modifiable, boolean system, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last object definition in the ordered set where companyId = ? and modifiable = ? and system = ?. * * @param companyId the company ID * @param modifiable the modifiable * @param system the system * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching object definition * @throws NoSuchObjectDefinitionException if a matching object definition could not be found */ public ObjectDefinition findByC_M_S_Last( long companyId, boolean modifiable, boolean system, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectDefinitionException; /** * Returns the last object definition in the ordered set where companyId = ? and modifiable = ? and system = ?. * * @param companyId the company ID * @param modifiable the modifiable * @param system the system * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching object definition, or null if a matching object definition could not be found */ public ObjectDefinition fetchByC_M_S_Last( long companyId, boolean modifiable, boolean system, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the object definitions before and after the current object definition in the ordered set where companyId = ? and modifiable = ? and system = ?. * * @param objectDefinitionId the primary key of the current object definition * @param companyId the company ID * @param modifiable the modifiable * @param system the system * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next object definition * @throws NoSuchObjectDefinitionException if a object definition with the primary key could not be found */ public ObjectDefinition[] findByC_M_S_PrevAndNext( long objectDefinitionId, long companyId, boolean modifiable, boolean system, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectDefinitionException; /** * Returns all the object definitions that the user has permission to view where companyId = ? and modifiable = ? and system = ?. * * @param companyId the company ID * @param modifiable the modifiable * @param system the system * @return the matching object definitions that the user has permission to view */ public java.util.List filterFindByC_M_S( long companyId, boolean modifiable, boolean system); /** * Returns a range of all the object definitions that the user has permission to view where companyId = ? and modifiable = ? and system = ?. * *

* 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, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

* * @param companyId the company ID * @param modifiable the modifiable * @param system the system * @param start the lower bound of the range of object definitions * @param end the upper bound of the range of object definitions (not inclusive) * @return the range of matching object definitions that the user has permission to view */ public java.util.List filterFindByC_M_S( long companyId, boolean modifiable, boolean system, int start, int end); /** * Returns an ordered range of all the object definitions that the user has permissions to view where companyId = ? and modifiable = ? and system = ?. * *

* 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, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

* * @param companyId the company ID * @param modifiable the modifiable * @param system the system * @param start the lower bound of the range of object definitions * @param end the upper bound of the range of object definitions (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching object definitions that the user has permission to view */ public java.util.List filterFindByC_M_S( long companyId, boolean modifiable, boolean system, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the object definitions before and after the current object definition in the ordered set of object definitions that the user has permission to view where companyId = ? and modifiable = ? and system = ?. * * @param objectDefinitionId the primary key of the current object definition * @param companyId the company ID * @param modifiable the modifiable * @param system the system * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next object definition * @throws NoSuchObjectDefinitionException if a object definition with the primary key could not be found */ public ObjectDefinition[] filterFindByC_M_S_PrevAndNext( long objectDefinitionId, long companyId, boolean modifiable, boolean system, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectDefinitionException; /** * Removes all the object definitions where companyId = ? and modifiable = ? and system = ? from the database. * * @param companyId the company ID * @param modifiable the modifiable * @param system the system */ public void removeByC_M_S( long companyId, boolean modifiable, boolean system); /** * Returns the number of object definitions where companyId = ? and modifiable = ? and system = ?. * * @param companyId the company ID * @param modifiable the modifiable * @param system the system * @return the number of matching object definitions */ public int countByC_M_S(long companyId, boolean modifiable, boolean system); /** * Returns the number of object definitions that the user has permission to view where companyId = ? and modifiable = ? and system = ?. * * @param companyId the company ID * @param modifiable the modifiable * @param system the system * @return the number of matching object definitions that the user has permission to view */ public int filterCountByC_M_S( long companyId, boolean modifiable, boolean system); /** * Returns all the object definitions where companyId = ? and active = ? and system = ? and status = ?. * * @param companyId the company ID * @param active the active * @param system the system * @param status the status * @return the matching object definitions */ public java.util.List findByC_A_S_S( long companyId, boolean active, boolean system, int status); /** * Returns a range of all the object definitions where companyId = ? and active = ? and system = ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

* * @param companyId the company ID * @param active the active * @param system the system * @param status the status * @param start the lower bound of the range of object definitions * @param end the upper bound of the range of object definitions (not inclusive) * @return the range of matching object definitions */ public java.util.List findByC_A_S_S( long companyId, boolean active, boolean system, int status, int start, int end); /** * Returns an ordered range of all the object definitions where companyId = ? and active = ? and system = ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

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

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

* * @param companyId the company ID * @param active the active * @param system the system * @param status the status * @param start the lower bound of the range of object definitions * @param end the upper bound of the range of object definitions (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param useFinderCache whether to use the finder cache * @return the ordered range of matching object definitions */ public java.util.List findByC_A_S_S( long companyId, boolean active, boolean system, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean useFinderCache); /** * Returns the first object definition in the ordered set where companyId = ? and active = ? and system = ? and status = ?. * * @param companyId the company ID * @param active the active * @param system the system * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching object definition * @throws NoSuchObjectDefinitionException if a matching object definition could not be found */ public ObjectDefinition findByC_A_S_S_First( long companyId, boolean active, boolean system, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectDefinitionException; /** * Returns the first object definition in the ordered set where companyId = ? and active = ? and system = ? and status = ?. * * @param companyId the company ID * @param active the active * @param system the system * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching object definition, or null if a matching object definition could not be found */ public ObjectDefinition fetchByC_A_S_S_First( long companyId, boolean active, boolean system, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last object definition in the ordered set where companyId = ? and active = ? and system = ? and status = ?. * * @param companyId the company ID * @param active the active * @param system the system * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching object definition * @throws NoSuchObjectDefinitionException if a matching object definition could not be found */ public ObjectDefinition findByC_A_S_S_Last( long companyId, boolean active, boolean system, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectDefinitionException; /** * Returns the last object definition in the ordered set where companyId = ? and active = ? and system = ? and status = ?. * * @param companyId the company ID * @param active the active * @param system the system * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching object definition, or null if a matching object definition could not be found */ public ObjectDefinition fetchByC_A_S_S_Last( long companyId, boolean active, boolean system, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the object definitions before and after the current object definition in the ordered set where companyId = ? and active = ? and system = ? and status = ?. * * @param objectDefinitionId the primary key of the current object definition * @param companyId the company ID * @param active the active * @param system the system * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next object definition * @throws NoSuchObjectDefinitionException if a object definition with the primary key could not be found */ public ObjectDefinition[] findByC_A_S_S_PrevAndNext( long objectDefinitionId, long companyId, boolean active, boolean system, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectDefinitionException; /** * Returns all the object definitions that the user has permission to view where companyId = ? and active = ? and system = ? and status = ?. * * @param companyId the company ID * @param active the active * @param system the system * @param status the status * @return the matching object definitions that the user has permission to view */ public java.util.List filterFindByC_A_S_S( long companyId, boolean active, boolean system, int status); /** * Returns a range of all the object definitions that the user has permission to view where companyId = ? and active = ? and system = ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

* * @param companyId the company ID * @param active the active * @param system the system * @param status the status * @param start the lower bound of the range of object definitions * @param end the upper bound of the range of object definitions (not inclusive) * @return the range of matching object definitions that the user has permission to view */ public java.util.List filterFindByC_A_S_S( long companyId, boolean active, boolean system, int status, int start, int end); /** * Returns an ordered range of all the object definitions that the user has permissions to view where companyId = ? and active = ? and system = ? and status = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

* * @param companyId the company ID * @param active the active * @param system the system * @param status the status * @param start the lower bound of the range of object definitions * @param end the upper bound of the range of object definitions (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching object definitions that the user has permission to view */ public java.util.List filterFindByC_A_S_S( long companyId, boolean active, boolean system, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the object definitions before and after the current object definition in the ordered set of object definitions that the user has permission to view where companyId = ? and active = ? and system = ? and status = ?. * * @param objectDefinitionId the primary key of the current object definition * @param companyId the company ID * @param active the active * @param system the system * @param status the status * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next object definition * @throws NoSuchObjectDefinitionException if a object definition with the primary key could not be found */ public ObjectDefinition[] filterFindByC_A_S_S_PrevAndNext( long objectDefinitionId, long companyId, boolean active, boolean system, int status, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectDefinitionException; /** * Removes all the object definitions where companyId = ? and active = ? and system = ? and status = ? from the database. * * @param companyId the company ID * @param active the active * @param system the system * @param status the status */ public void removeByC_A_S_S( long companyId, boolean active, boolean system, int status); /** * Returns the number of object definitions where companyId = ? and active = ? and system = ? and status = ?. * * @param companyId the company ID * @param active the active * @param system the system * @param status the status * @return the number of matching object definitions */ public int countByC_A_S_S( long companyId, boolean active, boolean system, int status); /** * Returns the number of object definitions that the user has permission to view where companyId = ? and active = ? and system = ? and status = ?. * * @param companyId the company ID * @param active the active * @param system the system * @param status the status * @return the number of matching object definitions that the user has permission to view */ public int filterCountByC_A_S_S( long companyId, boolean active, boolean system, int status); /** * Returns the object definition where externalReferenceCode = ? and companyId = ? or throws a NoSuchObjectDefinitionException if it could not be found. * * @param externalReferenceCode the external reference code * @param companyId the company ID * @return the matching object definition * @throws NoSuchObjectDefinitionException if a matching object definition could not be found */ public ObjectDefinition findByERC_C( String externalReferenceCode, long companyId) throws NoSuchObjectDefinitionException; /** * Returns the object definition where externalReferenceCode = ? and companyId = ? or returns null if it could not be found. Uses the finder cache. * * @param externalReferenceCode the external reference code * @param companyId the company ID * @return the matching object definition, or null if a matching object definition could not be found */ public ObjectDefinition fetchByERC_C( String externalReferenceCode, long companyId); /** * Returns the object definition where externalReferenceCode = ? and companyId = ? or returns null if it could not be found, optionally using the finder cache. * * @param externalReferenceCode the external reference code * @param companyId the company ID * @param useFinderCache whether to use the finder cache * @return the matching object definition, or null if a matching object definition could not be found */ public ObjectDefinition fetchByERC_C( String externalReferenceCode, long companyId, boolean useFinderCache); /** * Removes the object definition where externalReferenceCode = ? and companyId = ? from the database. * * @param externalReferenceCode the external reference code * @param companyId the company ID * @return the object definition that was removed */ public ObjectDefinition removeByERC_C( String externalReferenceCode, long companyId) throws NoSuchObjectDefinitionException; /** * Returns the number of object definitions where externalReferenceCode = ? and companyId = ?. * * @param externalReferenceCode the external reference code * @param companyId the company ID * @return the number of matching object definitions */ public int countByERC_C(String externalReferenceCode, long companyId); /** * Caches the object definition in the entity cache if it is enabled. * * @param objectDefinition the object definition */ public void cacheResult(ObjectDefinition objectDefinition); /** * Caches the object definitions in the entity cache if it is enabled. * * @param objectDefinitions the object definitions */ public void cacheResult(java.util.List objectDefinitions); /** * Creates a new object definition with the primary key. Does not add the object definition to the database. * * @param objectDefinitionId the primary key for the new object definition * @return the new object definition */ public ObjectDefinition create(long objectDefinitionId); /** * Removes the object definition with the primary key from the database. Also notifies the appropriate model listeners. * * @param objectDefinitionId the primary key of the object definition * @return the object definition that was removed * @throws NoSuchObjectDefinitionException if a object definition with the primary key could not be found */ public ObjectDefinition remove(long objectDefinitionId) throws NoSuchObjectDefinitionException; public ObjectDefinition updateImpl(ObjectDefinition objectDefinition); /** * Returns the object definition with the primary key or throws a NoSuchObjectDefinitionException if it could not be found. * * @param objectDefinitionId the primary key of the object definition * @return the object definition * @throws NoSuchObjectDefinitionException if a object definition with the primary key could not be found */ public ObjectDefinition findByPrimaryKey(long objectDefinitionId) throws NoSuchObjectDefinitionException; /** * Returns the object definition with the primary key or returns null if it could not be found. * * @param objectDefinitionId the primary key of the object definition * @return the object definition, or null if a object definition with the primary key could not be found */ public ObjectDefinition fetchByPrimaryKey(long objectDefinitionId); /** * Returns all the object definitions. * * @return the object definitions */ public java.util.List findAll(); /** * Returns a range of all the object definitions. * *

* 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, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

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

* 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, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

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

* 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, then the query will include the default ORDER BY logic from ObjectDefinitionModelImpl. *

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy