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

com.liferay.asset.kernel.service.persistence.AssetTagPersistence Maven / Gradle / Ivy

There is a newer version: 7.4.3.112-ga112
Show newest version
/**
 * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.liferay.asset.kernel.service.persistence;

import aQute.bnd.annotation.ProviderType;

import com.liferay.asset.kernel.exception.NoSuchTagException;
import com.liferay.asset.kernel.model.AssetTag;
import com.liferay.portal.kernel.service.persistence.BasePersistence;

import java.io.Serializable;

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

/**
 * The persistence interface for the asset tag service.
 *
 * 

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

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

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param uuid the uuid * @param start the lower bound of the range of asset tags * @param end the upper bound of the range of asset tags (not inclusive) * @return the range of matching asset tags */ public java.util.List findByUuid(String uuid, int start, int end); /** * Returns an ordered range of all the asset tags where uuid = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

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

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param uuid the uuid * @param start the lower bound of the range of asset tags * @param end the upper bound of the range of asset tags (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching asset tags */ public java.util.List findByUuid( String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean retrieveFromCache); /** * Returns the first asset tag 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 asset tag * @throws NoSuchTagException if a matching asset tag could not be found */ public AssetTag findByUuid_First( String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTagException; /** * Returns the first asset tag 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 asset tag, or null if a matching asset tag could not be found */ public AssetTag fetchByUuid_First( String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last asset tag 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 asset tag * @throws NoSuchTagException if a matching asset tag could not be found */ public AssetTag findByUuid_Last( String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTagException; /** * Returns the last asset tag 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 asset tag, or null if a matching asset tag could not be found */ public AssetTag fetchByUuid_Last( String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the asset tags before and after the current asset tag in the ordered set where uuid = ?. * * @param tagId the primary key of the current asset tag * @param uuid the uuid * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next asset tag * @throws NoSuchTagException if a asset tag with the primary key could not be found */ public AssetTag[] findByUuid_PrevAndNext( long tagId, String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTagException; /** * Removes all the asset tags where uuid = ? from the database. * * @param uuid the uuid */ public void removeByUuid(String uuid); /** * Returns the number of asset tags where uuid = ?. * * @param uuid the uuid * @return the number of matching asset tags */ public int countByUuid(String uuid); /** * Returns the asset tag where uuid = ? and groupId = ? or throws a NoSuchTagException if it could not be found. * * @param uuid the uuid * @param groupId the group ID * @return the matching asset tag * @throws NoSuchTagException if a matching asset tag could not be found */ public AssetTag findByUUID_G(String uuid, long groupId) throws NoSuchTagException; /** * Returns the asset tag where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache. * * @param uuid the uuid * @param groupId the group ID * @return the matching asset tag, or null if a matching asset tag could not be found */ public AssetTag fetchByUUID_G(String uuid, long groupId); /** * Returns the asset tag where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache. * * @param uuid the uuid * @param groupId the group ID * @param retrieveFromCache whether to retrieve from the finder cache * @return the matching asset tag, or null if a matching asset tag could not be found */ public AssetTag fetchByUUID_G( String uuid, long groupId, boolean retrieveFromCache); /** * Removes the asset tag where uuid = ? and groupId = ? from the database. * * @param uuid the uuid * @param groupId the group ID * @return the asset tag that was removed */ public AssetTag removeByUUID_G(String uuid, long groupId) throws NoSuchTagException; /** * Returns the number of asset tags where uuid = ? and groupId = ?. * * @param uuid the uuid * @param groupId the group ID * @return the number of matching asset tags */ public int countByUUID_G(String uuid, long groupId); /** * Returns all the asset tags where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @return the matching asset tags */ public java.util.List findByUuid_C(String uuid, long companyId); /** * Returns a range of all the asset tags where uuid = ? and companyId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

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

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

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

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param uuid the uuid * @param companyId the company ID * @param start the lower bound of the range of asset tags * @param end the upper bound of the range of asset tags (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching asset tags */ public java.util.List findByUuid_C( String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean retrieveFromCache); /** * Returns the first asset tag 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 asset tag * @throws NoSuchTagException if a matching asset tag could not be found */ public AssetTag findByUuid_C_First( String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTagException; /** * Returns the first asset tag 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 asset tag, or null if a matching asset tag could not be found */ public AssetTag fetchByUuid_C_First( String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last asset tag 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 asset tag * @throws NoSuchTagException if a matching asset tag could not be found */ public AssetTag findByUuid_C_Last( String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTagException; /** * Returns the last asset tag 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 asset tag, or null if a matching asset tag could not be found */ public AssetTag fetchByUuid_C_Last( String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the asset tags before and after the current asset tag in the ordered set where uuid = ? and companyId = ?. * * @param tagId the primary key of the current asset tag * @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 asset tag * @throws NoSuchTagException if a asset tag with the primary key could not be found */ public AssetTag[] findByUuid_C_PrevAndNext( long tagId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTagException; /** * Removes all the asset tags 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 asset tags where uuid = ? and companyId = ?. * * @param uuid the uuid * @param companyId the company ID * @return the number of matching asset tags */ public int countByUuid_C(String uuid, long companyId); /** * Returns all the asset tags where groupId = ?. * * @param groupId the group ID * @return the matching asset tags */ public java.util.List findByGroupId(long groupId); /** * Returns a range of all the asset tags where groupId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param start the lower bound of the range of asset tags * @param end the upper bound of the range of asset tags (not inclusive) * @return the range of matching asset tags */ public java.util.List findByGroupId( long groupId, int start, int end); /** * Returns an ordered range of all the asset tags where groupId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

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

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param start the lower bound of the range of asset tags * @param end the upper bound of the range of asset tags (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching asset tags */ public java.util.List findByGroupId( long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean retrieveFromCache); /** * Returns the first asset tag in the ordered set where groupId = ?. * * @param groupId the group ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching asset tag * @throws NoSuchTagException if a matching asset tag could not be found */ public AssetTag findByGroupId_First( long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTagException; /** * Returns the first asset tag in the ordered set where groupId = ?. * * @param groupId the group ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching asset tag, or null if a matching asset tag could not be found */ public AssetTag fetchByGroupId_First( long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last asset tag in the ordered set where groupId = ?. * * @param groupId the group ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching asset tag * @throws NoSuchTagException if a matching asset tag could not be found */ public AssetTag findByGroupId_Last( long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTagException; /** * Returns the last asset tag in the ordered set where groupId = ?. * * @param groupId the group ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching asset tag, or null if a matching asset tag could not be found */ public AssetTag fetchByGroupId_Last( long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the asset tags before and after the current asset tag in the ordered set where groupId = ?. * * @param tagId the primary key of the current asset tag * @param groupId the group ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next asset tag * @throws NoSuchTagException if a asset tag with the primary key could not be found */ public AssetTag[] findByGroupId_PrevAndNext( long tagId, long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTagException; /** * Returns all the asset tags that the user has permission to view where groupId = ?. * * @param groupId the group ID * @return the matching asset tags that the user has permission to view */ public java.util.List filterFindByGroupId(long groupId); /** * Returns a range of all the asset tags that the user has permission to view where groupId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

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

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param start the lower bound of the range of asset tags * @param end the upper bound of the range of asset tags (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching asset tags that the user has permission to view */ public java.util.List filterFindByGroupId( long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the asset tags before and after the current asset tag in the ordered set of asset tags that the user has permission to view where groupId = ?. * * @param tagId the primary key of the current asset tag * @param groupId the group ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next asset tag * @throws NoSuchTagException if a asset tag with the primary key could not be found */ public AssetTag[] filterFindByGroupId_PrevAndNext( long tagId, long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTagException; /** * Returns all the asset tags that the user has permission to view where groupId = any ?. * * @param groupIds the group IDs * @return the matching asset tags that the user has permission to view */ public java.util.List filterFindByGroupId(long[] groupIds); /** * Returns a range of all the asset tags that the user has permission to view where groupId = any ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupIds the group IDs * @param start the lower bound of the range of asset tags * @param end the upper bound of the range of asset tags (not inclusive) * @return the range of matching asset tags that the user has permission to view */ public java.util.List filterFindByGroupId( long[] groupIds, int start, int end); /** * Returns an ordered range of all the asset tags that the user has permission to view where groupId = any ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupIds the group IDs * @param start the lower bound of the range of asset tags * @param end the upper bound of the range of asset tags (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching asset tags that the user has permission to view */ public java.util.List filterFindByGroupId( long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns all the asset tags where groupId = any ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupIds the group IDs * @return the matching asset tags */ public java.util.List findByGroupId(long[] groupIds); /** * Returns a range of all the asset tags where groupId = any ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupIds the group IDs * @param start the lower bound of the range of asset tags * @param end the upper bound of the range of asset tags (not inclusive) * @return the range of matching asset tags */ public java.util.List findByGroupId( long[] groupIds, int start, int end); /** * Returns an ordered range of all the asset tags where groupId = any ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupIds the group IDs * @param start the lower bound of the range of asset tags * @param end the upper bound of the range of asset tags (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching asset tags */ public java.util.List findByGroupId( long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns an ordered range of all the asset tags where groupId = ?, optionally using the finder cache. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param start the lower bound of the range of asset tags * @param end the upper bound of the range of asset tags (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching asset tags */ public java.util.List findByGroupId( long[] groupIds, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean retrieveFromCache); /** * Removes all the asset tags where groupId = ? from the database. * * @param groupId the group ID */ public void removeByGroupId(long groupId); /** * Returns the number of asset tags where groupId = ?. * * @param groupId the group ID * @return the number of matching asset tags */ public int countByGroupId(long groupId); /** * Returns the number of asset tags where groupId = any ?. * * @param groupIds the group IDs * @return the number of matching asset tags */ public int countByGroupId(long[] groupIds); /** * Returns the number of asset tags that the user has permission to view where groupId = ?. * * @param groupId the group ID * @return the number of matching asset tags that the user has permission to view */ public int filterCountByGroupId(long groupId); /** * Returns the number of asset tags that the user has permission to view where groupId = any ?. * * @param groupIds the group IDs * @return the number of matching asset tags that the user has permission to view */ public int filterCountByGroupId(long[] groupIds); /** * Returns all the asset tags where name = ?. * * @param name the name * @return the matching asset tags */ public java.util.List findByName(String name); /** * Returns a range of all the asset tags where name = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param name the name * @param start the lower bound of the range of asset tags * @param end the upper bound of the range of asset tags (not inclusive) * @return the range of matching asset tags */ public java.util.List findByName(String name, int start, int end); /** * Returns an ordered range of all the asset tags where name = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

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

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param name the name * @param start the lower bound of the range of asset tags * @param end the upper bound of the range of asset tags (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching asset tags */ public java.util.List findByName( String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean retrieveFromCache); /** * Returns the first asset tag in the ordered set where name = ?. * * @param name the name * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching asset tag * @throws NoSuchTagException if a matching asset tag could not be found */ public AssetTag findByName_First( String name, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTagException; /** * Returns the first asset tag in the ordered set where name = ?. * * @param name the name * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching asset tag, or null if a matching asset tag could not be found */ public AssetTag fetchByName_First( String name, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last asset tag in the ordered set where name = ?. * * @param name the name * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching asset tag * @throws NoSuchTagException if a matching asset tag could not be found */ public AssetTag findByName_Last( String name, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTagException; /** * Returns the last asset tag in the ordered set where name = ?. * * @param name the name * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching asset tag, or null if a matching asset tag could not be found */ public AssetTag fetchByName_Last( String name, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the asset tags before and after the current asset tag in the ordered set where name = ?. * * @param tagId the primary key of the current asset tag * @param name the name * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next asset tag * @throws NoSuchTagException if a asset tag with the primary key could not be found */ public AssetTag[] findByName_PrevAndNext( long tagId, String name, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTagException; /** * Returns all the asset tags where name = any ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param names the names * @return the matching asset tags */ public java.util.List findByName(String[] names); /** * Returns a range of all the asset tags where name = any ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param names the names * @param start the lower bound of the range of asset tags * @param end the upper bound of the range of asset tags (not inclusive) * @return the range of matching asset tags */ public java.util.List findByName( String[] names, int start, int end); /** * Returns an ordered range of all the asset tags where name = any ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param names the names * @param start the lower bound of the range of asset tags * @param end the upper bound of the range of asset tags (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching asset tags */ public java.util.List findByName( String[] names, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns an ordered range of all the asset tags where name = ?, optionally using the finder cache. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param name the name * @param start the lower bound of the range of asset tags * @param end the upper bound of the range of asset tags (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching asset tags */ public java.util.List findByName( String[] names, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean retrieveFromCache); /** * Removes all the asset tags where name = ? from the database. * * @param name the name */ public void removeByName(String name); /** * Returns the number of asset tags where name = ?. * * @param name the name * @return the number of matching asset tags */ public int countByName(String name); /** * Returns the number of asset tags where name = any ?. * * @param names the names * @return the number of matching asset tags */ public int countByName(String[] names); /** * Returns the asset tag where groupId = ? and name = ? or throws a NoSuchTagException if it could not be found. * * @param groupId the group ID * @param name the name * @return the matching asset tag * @throws NoSuchTagException if a matching asset tag could not be found */ public AssetTag findByG_N(long groupId, String name) throws NoSuchTagException; /** * Returns the asset tag where groupId = ? and name = ? or returns null if it could not be found. Uses the finder cache. * * @param groupId the group ID * @param name the name * @return the matching asset tag, or null if a matching asset tag could not be found */ public AssetTag fetchByG_N(long groupId, String name); /** * Returns the asset tag where groupId = ? and name = ? or returns null if it could not be found, optionally using the finder cache. * * @param groupId the group ID * @param name the name * @param retrieveFromCache whether to retrieve from the finder cache * @return the matching asset tag, or null if a matching asset tag could not be found */ public AssetTag fetchByG_N( long groupId, String name, boolean retrieveFromCache); /** * Removes the asset tag where groupId = ? and name = ? from the database. * * @param groupId the group ID * @param name the name * @return the asset tag that was removed */ public AssetTag removeByG_N(long groupId, String name) throws NoSuchTagException; /** * Returns the number of asset tags where groupId = ? and name = ?. * * @param groupId the group ID * @param name the name * @return the number of matching asset tags */ public int countByG_N(long groupId, String name); /** * Returns all the asset tags where groupId = ? and name LIKE ?. * * @param groupId the group ID * @param name the name * @return the matching asset tags */ public java.util.List findByG_LikeN(long groupId, String name); /** * Returns a range of all the asset tags where groupId = ? and name LIKE ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param name the name * @param start the lower bound of the range of asset tags * @param end the upper bound of the range of asset tags (not inclusive) * @return the range of matching asset tags */ public java.util.List findByG_LikeN( long groupId, String name, int start, int end); /** * Returns an ordered range of all the asset tags where groupId = ? and name LIKE ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param name the name * @param start the lower bound of the range of asset tags * @param end the upper bound of the range of asset tags (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching asset tags */ public java.util.List findByG_LikeN( long groupId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns an ordered range of all the asset tags where groupId = ? and name LIKE ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param name the name * @param start the lower bound of the range of asset tags * @param end the upper bound of the range of asset tags (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching asset tags */ public java.util.List findByG_LikeN( long groupId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean retrieveFromCache); /** * Returns the first asset tag in the ordered set where groupId = ? and name LIKE ?. * * @param groupId the group ID * @param name the name * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching asset tag * @throws NoSuchTagException if a matching asset tag could not be found */ public AssetTag findByG_LikeN_First( long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTagException; /** * Returns the first asset tag in the ordered set where groupId = ? and name LIKE ?. * * @param groupId the group ID * @param name the name * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching asset tag, or null if a matching asset tag could not be found */ public AssetTag fetchByG_LikeN_First( long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the last asset tag in the ordered set where groupId = ? and name LIKE ?. * * @param groupId the group ID * @param name the name * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching asset tag * @throws NoSuchTagException if a matching asset tag could not be found */ public AssetTag findByG_LikeN_Last( long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTagException; /** * Returns the last asset tag in the ordered set where groupId = ? and name LIKE ?. * * @param groupId the group ID * @param name the name * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching asset tag, or null if a matching asset tag could not be found */ public AssetTag fetchByG_LikeN_Last( long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the asset tags before and after the current asset tag in the ordered set where groupId = ? and name LIKE ?. * * @param tagId the primary key of the current asset tag * @param groupId the group ID * @param name the name * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next asset tag * @throws NoSuchTagException if a asset tag with the primary key could not be found */ public AssetTag[] findByG_LikeN_PrevAndNext( long tagId, long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTagException; /** * Returns all the asset tags that the user has permission to view where groupId = ? and name LIKE ?. * * @param groupId the group ID * @param name the name * @return the matching asset tags that the user has permission to view */ public java.util.List filterFindByG_LikeN( long groupId, String name); /** * Returns a range of all the asset tags that the user has permission to view where groupId = ? and name LIKE ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param name the name * @param start the lower bound of the range of asset tags * @param end the upper bound of the range of asset tags (not inclusive) * @return the range of matching asset tags that the user has permission to view */ public java.util.List filterFindByG_LikeN( long groupId, String name, int start, int end); /** * Returns an ordered range of all the asset tags that the user has permissions to view where groupId = ? and name LIKE ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param name the name * @param start the lower bound of the range of asset tags * @param end the upper bound of the range of asset tags (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching asset tags that the user has permission to view */ public java.util.List filterFindByG_LikeN( long groupId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the asset tags before and after the current asset tag in the ordered set of asset tags that the user has permission to view where groupId = ? and name LIKE ?. * * @param tagId the primary key of the current asset tag * @param groupId the group ID * @param name the name * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next asset tag * @throws NoSuchTagException if a asset tag with the primary key could not be found */ public AssetTag[] filterFindByG_LikeN_PrevAndNext( long tagId, long groupId, String name, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws NoSuchTagException; /** * Returns all the asset tags that the user has permission to view where groupId = any ? and name LIKE ?. * * @param groupIds the group IDs * @param name the name * @return the matching asset tags that the user has permission to view */ public java.util.List filterFindByG_LikeN( long[] groupIds, String name); /** * Returns a range of all the asset tags that the user has permission to view where groupId = any ? and name LIKE ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupIds the group IDs * @param name the name * @param start the lower bound of the range of asset tags * @param end the upper bound of the range of asset tags (not inclusive) * @return the range of matching asset tags that the user has permission to view */ public java.util.List filterFindByG_LikeN( long[] groupIds, String name, int start, int end); /** * Returns an ordered range of all the asset tags that the user has permission to view where groupId = any ? and name LIKE ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupIds the group IDs * @param name the name * @param start the lower bound of the range of asset tags * @param end the upper bound of the range of asset tags (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching asset tags that the user has permission to view */ public java.util.List filterFindByG_LikeN( long[] groupIds, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns all the asset tags where groupId = any ? and name LIKE ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupIds the group IDs * @param name the name * @return the matching asset tags */ public java.util.List findByG_LikeN(long[] groupIds, String name); /** * Returns a range of all the asset tags where groupId = any ? and name LIKE ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupIds the group IDs * @param name the name * @param start the lower bound of the range of asset tags * @param end the upper bound of the range of asset tags (not inclusive) * @return the range of matching asset tags */ public java.util.List findByG_LikeN( long[] groupIds, String name, int start, int end); /** * Returns an ordered range of all the asset tags where groupId = any ? and name LIKE ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupIds the group IDs * @param name the name * @param start the lower bound of the range of asset tags * @param end the upper bound of the range of asset tags (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching asset tags */ public java.util.List findByG_LikeN( long[] groupIds, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns an ordered range of all the asset tags where groupId = ? and name LIKE ?, optionally using the finder cache. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param groupId the group ID * @param name the name * @param start the lower bound of the range of asset tags * @param end the upper bound of the range of asset tags (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of matching asset tags */ public java.util.List findByG_LikeN( long[] groupIds, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean retrieveFromCache); /** * Removes all the asset tags where groupId = ? and name LIKE ? from the database. * * @param groupId the group ID * @param name the name */ public void removeByG_LikeN(long groupId, String name); /** * Returns the number of asset tags where groupId = ? and name LIKE ?. * * @param groupId the group ID * @param name the name * @return the number of matching asset tags */ public int countByG_LikeN(long groupId, String name); /** * Returns the number of asset tags where groupId = any ? and name LIKE ?. * * @param groupIds the group IDs * @param name the name * @return the number of matching asset tags */ public int countByG_LikeN(long[] groupIds, String name); /** * Returns the number of asset tags that the user has permission to view where groupId = ? and name LIKE ?. * * @param groupId the group ID * @param name the name * @return the number of matching asset tags that the user has permission to view */ public int filterCountByG_LikeN(long groupId, String name); /** * Returns the number of asset tags that the user has permission to view where groupId = any ? and name LIKE ?. * * @param groupIds the group IDs * @param name the name * @return the number of matching asset tags that the user has permission to view */ public int filterCountByG_LikeN(long[] groupIds, String name); /** * Caches the asset tag in the entity cache if it is enabled. * * @param assetTag the asset tag */ public void cacheResult(AssetTag assetTag); /** * Caches the asset tags in the entity cache if it is enabled. * * @param assetTags the asset tags */ public void cacheResult(java.util.List assetTags); /** * Creates a new asset tag with the primary key. Does not add the asset tag to the database. * * @param tagId the primary key for the new asset tag * @return the new asset tag */ public AssetTag create(long tagId); /** * Removes the asset tag with the primary key from the database. Also notifies the appropriate model listeners. * * @param tagId the primary key of the asset tag * @return the asset tag that was removed * @throws NoSuchTagException if a asset tag with the primary key could not be found */ public AssetTag remove(long tagId) throws NoSuchTagException; public AssetTag updateImpl(AssetTag assetTag); /** * Returns the asset tag with the primary key or throws a NoSuchTagException if it could not be found. * * @param tagId the primary key of the asset tag * @return the asset tag * @throws NoSuchTagException if a asset tag with the primary key could not be found */ public AssetTag findByPrimaryKey(long tagId) throws NoSuchTagException; /** * Returns the asset tag with the primary key or returns null if it could not be found. * * @param tagId the primary key of the asset tag * @return the asset tag, or null if a asset tag with the primary key could not be found */ public AssetTag fetchByPrimaryKey(long tagId); /** * Returns all the asset tags. * * @return the asset tags */ public java.util.List findAll(); /** * Returns a range of all the asset tags. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

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

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

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

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param start the lower bound of the range of asset tags * @param end the upper bound of the range of asset tags (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @param retrieveFromCache whether to retrieve from the finder cache * @return the ordered range of asset tags */ public java.util.List findAll( int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean retrieveFromCache); /** * Removes all the asset tags from the database. */ public void removeAll(); /** * Returns the number of asset tags. * * @return the number of asset tags */ public int countAll(); /** * Returns the primaryKeys of asset entries associated with the asset tag. * * @param pk the primary key of the asset tag * @return long[] of the primaryKeys of asset entries associated with the asset tag */ public long[] getAssetEntryPrimaryKeys(long pk); /** * Returns all the asset entries associated with the asset tag. * * @param pk the primary key of the asset tag * @return the asset entries associated with the asset tag */ public java.util.List getAssetEntries(long pk); /** * Returns a range of all the asset entries associated with the asset tag. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param pk the primary key of the asset tag * @param start the lower bound of the range of asset tags * @param end the upper bound of the range of asset tags (not inclusive) * @return the range of asset entries associated with the asset tag */ public java.util.List getAssetEntries(long pk, int start, int end); /** * Returns an ordered range of all the asset entries associated with the asset tag. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from AssetTagModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order. *

* * @param pk the primary key of the asset tag * @param start the lower bound of the range of asset tags * @param end the upper bound of the range of asset tags (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of asset entries associated with the asset tag */ public java.util.List getAssetEntries( long pk, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator); /** * Returns the number of asset entries associated with the asset tag. * * @param pk the primary key of the asset tag * @return the number of asset entries associated with the asset tag */ public int getAssetEntriesSize(long pk); /** * Returns true if the asset entry is associated with the asset tag. * * @param pk the primary key of the asset tag * @param assetEntryPK the primary key of the asset entry * @return true if the asset entry is associated with the asset tag; false otherwise */ public boolean containsAssetEntry(long pk, long assetEntryPK); /** * Returns true if the asset tag has any asset entries associated with it. * * @param pk the primary key of the asset tag to check for associations with asset entries * @return true if the asset tag has any asset entries associated with it; false otherwise */ public boolean containsAssetEntries(long pk); /** * Adds an association between the asset tag and the asset entry. Also notifies the appropriate model listeners and clears the mapping table finder cache. * * @param pk the primary key of the asset tag * @param assetEntryPK the primary key of the asset entry */ public void addAssetEntry(long pk, long assetEntryPK); /** * Adds an association between the asset tag and the asset entry. Also notifies the appropriate model listeners and clears the mapping table finder cache. * * @param pk the primary key of the asset tag * @param assetEntry the asset entry */ public void addAssetEntry( long pk, com.liferay.asset.kernel.model.AssetEntry assetEntry); /** * Adds an association between the asset tag and the asset entries. Also notifies the appropriate model listeners and clears the mapping table finder cache. * * @param pk the primary key of the asset tag * @param assetEntryPKs the primary keys of the asset entries */ public void addAssetEntries(long pk, long[] assetEntryPKs); /** * Adds an association between the asset tag and the asset entries. Also notifies the appropriate model listeners and clears the mapping table finder cache. * * @param pk the primary key of the asset tag * @param assetEntries the asset entries */ public void addAssetEntries( long pk, java.util.List assetEntries); /** * Clears all associations between the asset tag and its asset entries. Also notifies the appropriate model listeners and clears the mapping table finder cache. * * @param pk the primary key of the asset tag to clear the associated asset entries from */ public void clearAssetEntries(long pk); /** * Removes the association between the asset tag and the asset entry. Also notifies the appropriate model listeners and clears the mapping table finder cache. * * @param pk the primary key of the asset tag * @param assetEntryPK the primary key of the asset entry */ public void removeAssetEntry(long pk, long assetEntryPK); /** * Removes the association between the asset tag and the asset entry. Also notifies the appropriate model listeners and clears the mapping table finder cache. * * @param pk the primary key of the asset tag * @param assetEntry the asset entry */ public void removeAssetEntry( long pk, com.liferay.asset.kernel.model.AssetEntry assetEntry); /** * Removes the association between the asset tag and the asset entries. Also notifies the appropriate model listeners and clears the mapping table finder cache. * * @param pk the primary key of the asset tag * @param assetEntryPKs the primary keys of the asset entries */ public void removeAssetEntries(long pk, long[] assetEntryPKs); /** * Removes the association between the asset tag and the asset entries. Also notifies the appropriate model listeners and clears the mapping table finder cache. * * @param pk the primary key of the asset tag * @param assetEntries the asset entries */ public void removeAssetEntries( long pk, java.util.List assetEntries); /** * Sets the asset entries associated with the asset tag, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache. * * @param pk the primary key of the asset tag * @param assetEntryPKs the primary keys of the asset entries to be associated with the asset tag */ public void setAssetEntries(long pk, long[] assetEntryPKs); /** * Sets the asset entries associated with the asset tag, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache. * * @param pk the primary key of the asset tag * @param assetEntries the asset entries to be associated with the asset tag */ public void setAssetEntries( long pk, java.util.List assetEntries); @Override public Set getBadColumnNames(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy