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

com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence Maven / Gradle / Ivy

/**
 * Copyright (c) 2000-2013 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.portlet.asset.service.persistence;

import aQute.bnd.annotation.ProviderType;

import com.liferay.portal.service.persistence.BasePersistence;

import com.liferay.portlet.asset.model.AssetTagProperty;

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

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

* * @author Brian Wing Shun Chan * @see AssetTagPropertyPersistenceImpl * @see AssetTagPropertyUtil * @generated */ @ProviderType public interface AssetTagPropertyPersistence extends BasePersistence { /* * NOTE FOR DEVELOPERS: * * Never modify or reference this interface directly. Always use {@link AssetTagPropertyUtil} to access the asset tag property persistence. Modify service.xml and rerun ServiceBuilder to regenerate this interface. */ /** * Returns all the asset tag properties where companyId = ?. * * @param companyId the company ID * @return the matching asset tag properties * @throws SystemException if a system exception occurred */ public java.util.List findByCompanyId( long companyId) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the asset tag properties where companyId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetTagPropertyModelImpl}. 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 companyId the company ID * @param start the lower bound of the range of asset tag properties * @param end the upper bound of the range of asset tag properties (not inclusive) * @return the range of matching asset tag properties * @throws SystemException if a system exception occurred */ public java.util.List findByCompanyId( long companyId, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the asset tag properties where companyId = ?. * *

* Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetTagPropertyModelImpl}. 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 companyId the company ID * @param start the lower bound of the range of asset tag properties * @param end the upper bound of the range of asset tag properties (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching asset tag properties * @throws SystemException if a system exception occurred */ public java.util.List findByCompanyId( long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the first asset tag property in the ordered set where companyId = ?. * * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching asset tag property * @throws com.liferay.portlet.asset.NoSuchTagPropertyException if a matching asset tag property could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.asset.model.AssetTagProperty findByCompanyId_First( long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.asset.NoSuchTagPropertyException; /** * Returns the first asset tag property in the ordered set where companyId = ?. * * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching asset tag property, or null if a matching asset tag property could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.asset.model.AssetTagProperty fetchByCompanyId_First( long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the last asset tag property in the ordered set where companyId = ?. * * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching asset tag property * @throws com.liferay.portlet.asset.NoSuchTagPropertyException if a matching asset tag property could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.asset.model.AssetTagProperty findByCompanyId_Last( long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.asset.NoSuchTagPropertyException; /** * Returns the last asset tag property in the ordered set where companyId = ?. * * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching asset tag property, or null if a matching asset tag property could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.asset.model.AssetTagProperty fetchByCompanyId_Last( long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the asset tag properties before and after the current asset tag property in the ordered set where companyId = ?. * * @param tagPropertyId the primary key of the current asset tag property * @param companyId the company ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next asset tag property * @throws com.liferay.portlet.asset.NoSuchTagPropertyException if a asset tag property with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.asset.model.AssetTagProperty[] findByCompanyId_PrevAndNext( long tagPropertyId, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.asset.NoSuchTagPropertyException; /** * Removes all the asset tag properties where companyId = ? from the database. * * @param companyId the company ID * @throws SystemException if a system exception occurred */ public void removeByCompanyId(long companyId) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of asset tag properties where companyId = ?. * * @param companyId the company ID * @return the number of matching asset tag properties * @throws SystemException if a system exception occurred */ public int countByCompanyId(long companyId) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns all the asset tag properties where tagId = ?. * * @param tagId the tag ID * @return the matching asset tag properties * @throws SystemException if a system exception occurred */ public java.util.List findByTagId( long tagId) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the asset tag properties where tagId = ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetTagPropertyModelImpl}. 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 tagId the tag ID * @param start the lower bound of the range of asset tag properties * @param end the upper bound of the range of asset tag properties (not inclusive) * @return the range of matching asset tag properties * @throws SystemException if a system exception occurred */ public java.util.List findByTagId( long tagId, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the asset tag properties where tagId = ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetTagPropertyModelImpl}. 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 tagId the tag ID * @param start the lower bound of the range of asset tag properties * @param end the upper bound of the range of asset tag properties (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching asset tag properties * @throws SystemException if a system exception occurred */ public java.util.List findByTagId( long tagId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the first asset tag property in the ordered set where tagId = ?. * * @param tagId the tag ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching asset tag property * @throws com.liferay.portlet.asset.NoSuchTagPropertyException if a matching asset tag property could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.asset.model.AssetTagProperty findByTagId_First( long tagId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.asset.NoSuchTagPropertyException; /** * Returns the first asset tag property in the ordered set where tagId = ?. * * @param tagId the tag ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching asset tag property, or null if a matching asset tag property could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.asset.model.AssetTagProperty fetchByTagId_First( long tagId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the last asset tag property in the ordered set where tagId = ?. * * @param tagId the tag ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching asset tag property * @throws com.liferay.portlet.asset.NoSuchTagPropertyException if a matching asset tag property could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.asset.model.AssetTagProperty findByTagId_Last( long tagId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.asset.NoSuchTagPropertyException; /** * Returns the last asset tag property in the ordered set where tagId = ?. * * @param tagId the tag ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching asset tag property, or null if a matching asset tag property could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.asset.model.AssetTagProperty fetchByTagId_Last( long tagId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the asset tag properties before and after the current asset tag property in the ordered set where tagId = ?. * * @param tagPropertyId the primary key of the current asset tag property * @param tagId the tag ID * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next asset tag property * @throws com.liferay.portlet.asset.NoSuchTagPropertyException if a asset tag property with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.asset.model.AssetTagProperty[] findByTagId_PrevAndNext( long tagPropertyId, long tagId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.asset.NoSuchTagPropertyException; /** * Removes all the asset tag properties where tagId = ? from the database. * * @param tagId the tag ID * @throws SystemException if a system exception occurred */ public void removeByTagId(long tagId) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of asset tag properties where tagId = ?. * * @param tagId the tag ID * @return the number of matching asset tag properties * @throws SystemException if a system exception occurred */ public int countByTagId(long tagId) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns all the asset tag properties where companyId = ? and key = ?. * * @param companyId the company ID * @param key the key * @return the matching asset tag properties * @throws SystemException if a system exception occurred */ public java.util.List findByC_K( long companyId, java.lang.String key) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the asset tag properties where companyId = ? and key = ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetTagPropertyModelImpl}. 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 companyId the company ID * @param key the key * @param start the lower bound of the range of asset tag properties * @param end the upper bound of the range of asset tag properties (not inclusive) * @return the range of matching asset tag properties * @throws SystemException if a system exception occurred */ public java.util.List findByC_K( long companyId, java.lang.String key, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the asset tag properties where companyId = ? and key = ?. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetTagPropertyModelImpl}. 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 companyId the company ID * @param key the key * @param start the lower bound of the range of asset tag properties * @param end the upper bound of the range of asset tag properties (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of matching asset tag properties * @throws SystemException if a system exception occurred */ public java.util.List findByC_K( long companyId, java.lang.String key, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the first asset tag property in the ordered set where companyId = ? and key = ?. * * @param companyId the company ID * @param key the key * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching asset tag property * @throws com.liferay.portlet.asset.NoSuchTagPropertyException if a matching asset tag property could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.asset.model.AssetTagProperty findByC_K_First( long companyId, java.lang.String key, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.asset.NoSuchTagPropertyException; /** * Returns the first asset tag property in the ordered set where companyId = ? and key = ?. * * @param companyId the company ID * @param key the key * @param orderByComparator the comparator to order the set by (optionally null) * @return the first matching asset tag property, or null if a matching asset tag property could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.asset.model.AssetTagProperty fetchByC_K_First( long companyId, java.lang.String key, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the last asset tag property in the ordered set where companyId = ? and key = ?. * * @param companyId the company ID * @param key the key * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching asset tag property * @throws com.liferay.portlet.asset.NoSuchTagPropertyException if a matching asset tag property could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.asset.model.AssetTagProperty findByC_K_Last( long companyId, java.lang.String key, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.asset.NoSuchTagPropertyException; /** * Returns the last asset tag property in the ordered set where companyId = ? and key = ?. * * @param companyId the company ID * @param key the key * @param orderByComparator the comparator to order the set by (optionally null) * @return the last matching asset tag property, or null if a matching asset tag property could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.asset.model.AssetTagProperty fetchByC_K_Last( long companyId, java.lang.String key, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the asset tag properties before and after the current asset tag property in the ordered set where companyId = ? and key = ?. * * @param tagPropertyId the primary key of the current asset tag property * @param companyId the company ID * @param key the key * @param orderByComparator the comparator to order the set by (optionally null) * @return the previous, current, and next asset tag property * @throws com.liferay.portlet.asset.NoSuchTagPropertyException if a asset tag property with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.asset.model.AssetTagProperty[] findByC_K_PrevAndNext( long tagPropertyId, long companyId, java.lang.String key, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.asset.NoSuchTagPropertyException; /** * Removes all the asset tag properties where companyId = ? and key = ? from the database. * * @param companyId the company ID * @param key the key * @throws SystemException if a system exception occurred */ public void removeByC_K(long companyId, java.lang.String key) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of asset tag properties where companyId = ? and key = ?. * * @param companyId the company ID * @param key the key * @return the number of matching asset tag properties * @throws SystemException if a system exception occurred */ public int countByC_K(long companyId, java.lang.String key) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the asset tag property where tagId = ? and key = ? or throws a {@link com.liferay.portlet.asset.NoSuchTagPropertyException} if it could not be found. * * @param tagId the tag ID * @param key the key * @return the matching asset tag property * @throws com.liferay.portlet.asset.NoSuchTagPropertyException if a matching asset tag property could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.asset.model.AssetTagProperty findByT_K( long tagId, java.lang.String key) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.asset.NoSuchTagPropertyException; /** * Returns the asset tag property where tagId = ? and key = ? or returns null if it could not be found. Uses the finder cache. * * @param tagId the tag ID * @param key the key * @return the matching asset tag property, or null if a matching asset tag property could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.asset.model.AssetTagProperty fetchByT_K( long tagId, java.lang.String key) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the asset tag property where tagId = ? and key = ? or returns null if it could not be found, optionally using the finder cache. * * @param tagId the tag ID * @param key the key * @param retrieveFromCache whether to use the finder cache * @return the matching asset tag property, or null if a matching asset tag property could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.asset.model.AssetTagProperty fetchByT_K( long tagId, java.lang.String key, boolean retrieveFromCache) throws com.liferay.portal.kernel.exception.SystemException; /** * Removes the asset tag property where tagId = ? and key = ? from the database. * * @param tagId the tag ID * @param key the key * @return the asset tag property that was removed * @throws SystemException if a system exception occurred */ public com.liferay.portlet.asset.model.AssetTagProperty removeByT_K( long tagId, java.lang.String key) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.asset.NoSuchTagPropertyException; /** * Returns the number of asset tag properties where tagId = ? and key = ?. * * @param tagId the tag ID * @param key the key * @return the number of matching asset tag properties * @throws SystemException if a system exception occurred */ public int countByT_K(long tagId, java.lang.String key) throws com.liferay.portal.kernel.exception.SystemException; /** * Caches the asset tag property in the entity cache if it is enabled. * * @param assetTagProperty the asset tag property */ public void cacheResult( com.liferay.portlet.asset.model.AssetTagProperty assetTagProperty); /** * Caches the asset tag properties in the entity cache if it is enabled. * * @param assetTagProperties the asset tag properties */ public void cacheResult( java.util.List assetTagProperties); /** * Creates a new asset tag property with the primary key. Does not add the asset tag property to the database. * * @param tagPropertyId the primary key for the new asset tag property * @return the new asset tag property */ public com.liferay.portlet.asset.model.AssetTagProperty create( long tagPropertyId); /** * Removes the asset tag property with the primary key from the database. Also notifies the appropriate model listeners. * * @param tagPropertyId the primary key of the asset tag property * @return the asset tag property that was removed * @throws com.liferay.portlet.asset.NoSuchTagPropertyException if a asset tag property with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.asset.model.AssetTagProperty remove( long tagPropertyId) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.asset.NoSuchTagPropertyException; public com.liferay.portlet.asset.model.AssetTagProperty updateImpl( com.liferay.portlet.asset.model.AssetTagProperty assetTagProperty) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the asset tag property with the primary key or throws a {@link com.liferay.portlet.asset.NoSuchTagPropertyException} if it could not be found. * * @param tagPropertyId the primary key of the asset tag property * @return the asset tag property * @throws com.liferay.portlet.asset.NoSuchTagPropertyException if a asset tag property with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.asset.model.AssetTagProperty findByPrimaryKey( long tagPropertyId) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.asset.NoSuchTagPropertyException; /** * Returns the asset tag property with the primary key or returns null if it could not be found. * * @param tagPropertyId the primary key of the asset tag property * @return the asset tag property, or null if a asset tag property with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.asset.model.AssetTagProperty fetchByPrimaryKey( long tagPropertyId) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns all the asset tag properties. * * @return the asset tag properties * @throws SystemException if a system exception occurred */ public java.util.List findAll() throws com.liferay.portal.kernel.exception.SystemException; /** * Returns a range of all the asset tag properties. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetTagPropertyModelImpl}. 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 tag properties * @param end the upper bound of the range of asset tag properties (not inclusive) * @return the range of asset tag properties * @throws SystemException if a system exception occurred */ public java.util.List findAll( int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns an ordered range of all the asset tag properties. * *

* 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 {@link com.liferay.portal.kernel.dao.orm.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 {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.asset.model.impl.AssetTagPropertyModelImpl}. 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 tag properties * @param end the upper bound of the range of asset tag properties (not inclusive) * @param orderByComparator the comparator to order the results by (optionally null) * @return the ordered range of asset tag properties * @throws SystemException if a system exception occurred */ public java.util.List findAll( int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * Removes all the asset tag properties from the database. * * @throws SystemException if a system exception occurred */ public void removeAll() throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of asset tag properties. * * @return the number of asset tag properties * @throws SystemException if a system exception occurred */ public int countAll() throws com.liferay.portal.kernel.exception.SystemException; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy