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

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

There is a newer version: 93.0.0
Show newest version
/**
 * SPDX-FileCopyrightText: (c) 2023 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.NoSuchObjectFolderItemException;
import com.liferay.object.model.ObjectFolderItem;
import com.liferay.portal.kernel.service.persistence.BasePersistence;

import org.osgi.annotation.versioning.ProviderType;

/**
 * The persistence interface for the object folder item service.
 *
 * 

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

* * @author Marco Leo * @see ObjectFolderItemUtil * @generated */ @ProviderType public interface ObjectFolderItemPersistence extends BasePersistence { /* * NOTE FOR DEVELOPERS: * * Never modify or reference this interface directly. Always use {@link ObjectFolderItemUtil} to access the object folder item persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. */ /** * Returns all the object folder items where uuid = ?. * * @param uuid the uuid * @return the matching object folder items */ public java.util.List findByUuid(String uuid); /** * Returns a range of all the object folder items 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 ObjectFolderItemModelImpl. *

* * @param uuid the uuid * @param start the lower bound of the range of object folder items * @param end the upper bound of the range of object folder items (not inclusive) * @return the range of matching object folder items */ public java.util.List findByUuid( String uuid, int start, int end); /** * Returns an ordered range of all the object folder items 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 ObjectFolderItemModelImpl. *

* * @param uuid the uuid * @param start the lower bound of the range of object folder items * @param end the upper bound of the range of object folder items (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching object folder items */ 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 folder items 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 ObjectFolderItemModelImpl. *

* * @param uuid the uuid * @param start the lower bound of the range of object folder items * @param end the upper bound of the range of object folder items (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 folder items */ public java.util.List findByUuid( String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean useFinderCache); /** * Returns the first object folder item 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 folder item * @throws NoSuchObjectFolderItemException if a matching object folder item could not be found */ public ObjectFolderItem findByUuid_First( String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectFolderItemException; /** * Returns the first object folder item 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 folder item, or null if a matching object folder item could not be found */ public ObjectFolderItem fetchByUuid_First( String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last object folder item 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 folder item * @throws NoSuchObjectFolderItemException if a matching object folder item could not be found */ public ObjectFolderItem findByUuid_Last( String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectFolderItemException; /** * Returns the last object folder item 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 folder item, or null if a matching object folder item could not be found */ public ObjectFolderItem fetchByUuid_Last( String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the object folder items before and after the current object folder item in the ordered set where uuid = ?. * * @param objectFolderItemId the primary key of the current object folder item * @param uuid the uuid * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next object folder item * @throws NoSuchObjectFolderItemException if a object folder item with the primary key could not be found */ public ObjectFolderItem[] findByUuid_PrevAndNext( long objectFolderItemId, String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectFolderItemException; /** * Removes all the object folder items where uuid = ? from the database. * * @param uuid the uuid */ public void removeByUuid(String uuid); /** * Returns the number of object folder items where uuid = ?. * * @param uuid the uuid * @return the number of matching object folder items */ public int countByUuid(String uuid); /** * Returns all the object folder items where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @return the matching object folder items */ public java.util.List findByUuid_C( String uuid, long companyId); /** * Returns a range of all the object folder items 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 ObjectFolderItemModelImpl. *

* * @param uuid the uuid * @param companyId the company ID * @param start the lower bound of the range of object folder items * @param end the upper bound of the range of object folder items (not inclusive) * @return the range of matching object folder items */ public java.util.List findByUuid_C( String uuid, long companyId, int start, int end); /** * Returns an ordered range of all the object folder items 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 ObjectFolderItemModelImpl. *

* * @param uuid the uuid * @param companyId the company ID * @param start the lower bound of the range of object folder items * @param end the upper bound of the range of object folder items (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching object folder items */ 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 folder items 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 ObjectFolderItemModelImpl. *

* * @param uuid the uuid * @param companyId the company ID * @param start the lower bound of the range of object folder items * @param end the upper bound of the range of object folder items (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 folder items */ 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 folder item 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 folder item * @throws NoSuchObjectFolderItemException if a matching object folder item could not be found */ public ObjectFolderItem findByUuid_C_First( String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectFolderItemException; /** * Returns the first object folder item 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 folder item, or null if a matching object folder item could not be found */ public ObjectFolderItem fetchByUuid_C_First( String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last object folder item 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 folder item * @throws NoSuchObjectFolderItemException if a matching object folder item could not be found */ public ObjectFolderItem findByUuid_C_Last( String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectFolderItemException; /** * Returns the last object folder item 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 folder item, or null if a matching object folder item could not be found */ public ObjectFolderItem fetchByUuid_C_Last( String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the object folder items before and after the current object folder item in the ordered set where uuid = ? and companyId = ?. * * @param objectFolderItemId the primary key of the current object folder item * @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 folder item * @throws NoSuchObjectFolderItemException if a object folder item with the primary key could not be found */ public ObjectFolderItem[] findByUuid_C_PrevAndNext( long objectFolderItemId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectFolderItemException; /** * Removes all the object folder items 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 folder items where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @return the number of matching object folder items */ public int countByUuid_C(String uuid, long companyId); /** * Returns all the object folder items where objectDefinitionId = ?. * * @param objectDefinitionId the object definition ID * @return the matching object folder items */ public java.util.List findByObjectDefinitionId( long objectDefinitionId); /** * Returns a range of all the object folder items where objectDefinitionId = ?. * *

* 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 ObjectFolderItemModelImpl. *

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

* 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 ObjectFolderItemModelImpl. *

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

* 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 ObjectFolderItemModelImpl. *

* * @param objectDefinitionId the object definition ID * @param start the lower bound of the range of object folder items * @param end the upper bound of the range of object folder items (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 folder items */ public java.util.List findByObjectDefinitionId( long objectDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean useFinderCache); /** * Returns the first object folder item in the ordered set where objectDefinitionId = ?. * * @param objectDefinitionId the object definition ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching object folder item * @throws NoSuchObjectFolderItemException if a matching object folder item could not be found */ public ObjectFolderItem findByObjectDefinitionId_First( long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectFolderItemException; /** * Returns the first object folder item in the ordered set where objectDefinitionId = ?. * * @param objectDefinitionId the object definition ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching object folder item, or null if a matching object folder item could not be found */ public ObjectFolderItem fetchByObjectDefinitionId_First( long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last object folder item in the ordered set where objectDefinitionId = ?. * * @param objectDefinitionId the object definition ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching object folder item * @throws NoSuchObjectFolderItemException if a matching object folder item could not be found */ public ObjectFolderItem findByObjectDefinitionId_Last( long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectFolderItemException; /** * Returns the last object folder item in the ordered set where objectDefinitionId = ?. * * @param objectDefinitionId the object definition ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching object folder item, or null if a matching object folder item could not be found */ public ObjectFolderItem fetchByObjectDefinitionId_Last( long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the object folder items before and after the current object folder item in the ordered set where objectDefinitionId = ?. * * @param objectFolderItemId the primary key of the current object folder item * @param objectDefinitionId the object definition ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next object folder item * @throws NoSuchObjectFolderItemException if a object folder item with the primary key could not be found */ public ObjectFolderItem[] findByObjectDefinitionId_PrevAndNext( long objectFolderItemId, long objectDefinitionId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectFolderItemException; /** * Removes all the object folder items where objectDefinitionId = ? from the database. * * @param objectDefinitionId the object definition ID */ public void removeByObjectDefinitionId(long objectDefinitionId); /** * Returns the number of object folder items where objectDefinitionId = ?. * * @param objectDefinitionId the object definition ID * @return the number of matching object folder items */ public int countByObjectDefinitionId(long objectDefinitionId); /** * Returns all the object folder items where objectFolderId = ?. * * @param objectFolderId the object folder ID * @return the matching object folder items */ public java.util.List findByObjectFolderId( long objectFolderId); /** * Returns a range of all the object folder items 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 ObjectFolderItemModelImpl. *

* * @param objectFolderId the object folder ID * @param start the lower bound of the range of object folder items * @param end the upper bound of the range of object folder items (not inclusive) * @return the range of matching object folder items */ public java.util.List findByObjectFolderId( long objectFolderId, int start, int end); /** * Returns an ordered range of all the object folder items 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 ObjectFolderItemModelImpl. *

* * @param objectFolderId the object folder ID * @param start the lower bound of the range of object folder items * @param end the upper bound of the range of object folder items (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching object folder items */ 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 folder items 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 ObjectFolderItemModelImpl. *

* * @param objectFolderId the object folder ID * @param start the lower bound of the range of object folder items * @param end the upper bound of the range of object folder items (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 folder items */ public java.util.List findByObjectFolderId( long objectFolderId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean useFinderCache); /** * Returns the first object folder item 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 folder item * @throws NoSuchObjectFolderItemException if a matching object folder item could not be found */ public ObjectFolderItem findByObjectFolderId_First( long objectFolderId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectFolderItemException; /** * Returns the first object folder item 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 folder item, or null if a matching object folder item could not be found */ public ObjectFolderItem fetchByObjectFolderId_First( long objectFolderId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last object folder item 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 folder item * @throws NoSuchObjectFolderItemException if a matching object folder item could not be found */ public ObjectFolderItem findByObjectFolderId_Last( long objectFolderId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectFolderItemException; /** * Returns the last object folder item 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 folder item, or null if a matching object folder item could not be found */ public ObjectFolderItem fetchByObjectFolderId_Last( long objectFolderId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the object folder items before and after the current object folder item in the ordered set where objectFolderId = ?. * * @param objectFolderItemId the primary key of the current object folder item * @param objectFolderId the object folder ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next object folder item * @throws NoSuchObjectFolderItemException if a object folder item with the primary key could not be found */ public ObjectFolderItem[] findByObjectFolderId_PrevAndNext( long objectFolderItemId, long objectFolderId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchObjectFolderItemException; /** * Removes all the object folder items where objectFolderId = ? from the database. * * @param objectFolderId the object folder ID */ public void removeByObjectFolderId(long objectFolderId); /** * Returns the number of object folder items where objectFolderId = ?. * * @param objectFolderId the object folder ID * @return the number of matching object folder items */ public int countByObjectFolderId(long objectFolderId); /** * Returns the object folder item where objectDefinitionId = ? and objectFolderId = ? or throws a NoSuchObjectFolderItemException if it could not be found. * * @param objectDefinitionId the object definition ID * @param objectFolderId the object folder ID * @return the matching object folder item * @throws NoSuchObjectFolderItemException if a matching object folder item could not be found */ public ObjectFolderItem findByODI_OFI( long objectDefinitionId, long objectFolderId) throws NoSuchObjectFolderItemException; /** * Returns the object folder item where objectDefinitionId = ? and objectFolderId = ? or returns null if it could not be found. Uses the finder cache. * * @param objectDefinitionId the object definition ID * @param objectFolderId the object folder ID * @return the matching object folder item, or null if a matching object folder item could not be found */ public ObjectFolderItem fetchByODI_OFI( long objectDefinitionId, long objectFolderId); /** * Returns the object folder item where objectDefinitionId = ? and objectFolderId = ? or returns null if it could not be found, optionally using the finder cache. * * @param objectDefinitionId the object definition ID * @param objectFolderId the object folder ID * @param useFinderCache whether to use the finder cache * @return the matching object folder item, or null if a matching object folder item could not be found */ public ObjectFolderItem fetchByODI_OFI( long objectDefinitionId, long objectFolderId, boolean useFinderCache); /** * Removes the object folder item where objectDefinitionId = ? and objectFolderId = ? from the database. * * @param objectDefinitionId the object definition ID * @param objectFolderId the object folder ID * @return the object folder item that was removed */ public ObjectFolderItem removeByODI_OFI( long objectDefinitionId, long objectFolderId) throws NoSuchObjectFolderItemException; /** * Returns the number of object folder items where objectDefinitionId = ? and objectFolderId = ?. * * @param objectDefinitionId the object definition ID * @param objectFolderId the object folder ID * @return the number of matching object folder items */ public int countByODI_OFI(long objectDefinitionId, long objectFolderId); /** * Caches the object folder item in the entity cache if it is enabled. * * @param objectFolderItem the object folder item */ public void cacheResult(ObjectFolderItem objectFolderItem); /** * Caches the object folder items in the entity cache if it is enabled. * * @param objectFolderItems the object folder items */ public void cacheResult(java.util.List objectFolderItems); /** * Creates a new object folder item with the primary key. Does not add the object folder item to the database. * * @param objectFolderItemId the primary key for the new object folder item * @return the new object folder item */ public ObjectFolderItem create(long objectFolderItemId); /** * Removes the object folder item with the primary key from the database. Also notifies the appropriate model listeners. * * @param objectFolderItemId the primary key of the object folder item * @return the object folder item that was removed * @throws NoSuchObjectFolderItemException if a object folder item with the primary key could not be found */ public ObjectFolderItem remove(long objectFolderItemId) throws NoSuchObjectFolderItemException; public ObjectFolderItem updateImpl(ObjectFolderItem objectFolderItem); /** * Returns the object folder item with the primary key or throws a NoSuchObjectFolderItemException if it could not be found. * * @param objectFolderItemId the primary key of the object folder item * @return the object folder item * @throws NoSuchObjectFolderItemException if a object folder item with the primary key could not be found */ public ObjectFolderItem findByPrimaryKey(long objectFolderItemId) throws NoSuchObjectFolderItemException; /** * Returns the object folder item with the primary key or returns null if it could not be found. * * @param objectFolderItemId the primary key of the object folder item * @return the object folder item, or null if a object folder item with the primary key could not be found */ public ObjectFolderItem fetchByPrimaryKey(long objectFolderItemId); /** * Returns all the object folder items. * * @return the object folder items */ public java.util.List findAll(); /** * Returns a range of all the object folder items. * *

* 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 ObjectFolderItemModelImpl. *

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

* 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 ObjectFolderItemModelImpl. *

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

* 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 ObjectFolderItemModelImpl. *

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy