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

com.liferay.portlet.asset.service.persistence.AssetTagPersistence 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.AssetTag;

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

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

* * @author Brian Wing Shun Chan * @see AssetTagPersistenceImpl * @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. */ /** * Returns all the asset tags where groupId = ?. * * @param groupId the group ID * @return the matching asset tags * @throws SystemException if a system exception occurred */ public java.util.List findByGroupId( long groupId) throws com.liferay.portal.kernel.exception.SystemException; /** * 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 {@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.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 * @throws SystemException if a system exception occurred */ public java.util.List findByGroupId( long groupId, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * 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 {@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.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 * @throws SystemException if a system exception occurred */ public java.util.List findByGroupId( long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * 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 com.liferay.portlet.asset.NoSuchTagException if a matching asset tag could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.asset.model.AssetTag findByGroupId_First( long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.asset.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 * @throws SystemException if a system exception occurred */ public com.liferay.portlet.asset.model.AssetTag fetchByGroupId_First( long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * 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 com.liferay.portlet.asset.NoSuchTagException if a matching asset tag could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.asset.model.AssetTag findByGroupId_Last( long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.asset.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 * @throws SystemException if a system exception occurred */ public com.liferay.portlet.asset.model.AssetTag fetchByGroupId_Last( long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * 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 com.liferay.portlet.asset.NoSuchTagException if a asset tag with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.asset.model.AssetTag[] findByGroupId_PrevAndNext( long tagId, long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.asset.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 * @throws SystemException if a system exception occurred */ public java.util.List filterFindByGroupId( long groupId) throws com.liferay.portal.kernel.exception.SystemException; /** * 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 {@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.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 * @throws SystemException if a system exception occurred */ public java.util.List filterFindByGroupId( long groupId, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * 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 {@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.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 * @throws SystemException if a system exception occurred */ public java.util.List filterFindByGroupId( long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * 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 com.liferay.portlet.asset.NoSuchTagException if a asset tag with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.asset.model.AssetTag[] filterFindByGroupId_PrevAndNext( long tagId, long groupId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.asset.NoSuchTagException; /** * Removes all the asset tags where groupId = ? from the database. * * @param groupId the group ID * @throws SystemException if a system exception occurred */ public void removeByGroupId(long groupId) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the number of asset tags where groupId = ?. * * @param groupId the group ID * @return the number of matching asset tags * @throws SystemException if a system exception occurred */ public int countByGroupId(long groupId) throws com.liferay.portal.kernel.exception.SystemException; /** * 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 * @throws SystemException if a system exception occurred */ public int filterCountByGroupId(long groupId) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the asset tag where groupId = ? and name = ? or throws a {@link com.liferay.portlet.asset.NoSuchTagException} if it could not be found. * * @param groupId the group ID * @param name the name * @return the matching asset tag * @throws com.liferay.portlet.asset.NoSuchTagException if a matching asset tag could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.asset.model.AssetTag findByG_N(long groupId, java.lang.String name) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.asset.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 * @throws SystemException if a system exception occurred */ public com.liferay.portlet.asset.model.AssetTag fetchByG_N(long groupId, java.lang.String name) throws com.liferay.portal.kernel.exception.SystemException; /** * 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 use the finder cache * @return the matching asset tag, or null if a matching asset tag could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.asset.model.AssetTag fetchByG_N(long groupId, java.lang.String name, boolean retrieveFromCache) throws com.liferay.portal.kernel.exception.SystemException; /** * 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 * @throws SystemException if a system exception occurred */ public com.liferay.portlet.asset.model.AssetTag removeByG_N(long groupId, java.lang.String name) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.asset.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 * @throws SystemException if a system exception occurred */ public int countByG_N(long groupId, java.lang.String name) throws com.liferay.portal.kernel.exception.SystemException; /** * Caches the asset tag in the entity cache if it is enabled. * * @param assetTag the asset tag */ public void cacheResult(com.liferay.portlet.asset.model.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 com.liferay.portlet.asset.model.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 com.liferay.portlet.asset.NoSuchTagException if a asset tag with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.asset.model.AssetTag remove(long tagId) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.asset.NoSuchTagException; public com.liferay.portlet.asset.model.AssetTag updateImpl( com.liferay.portlet.asset.model.AssetTag assetTag) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns the asset tag with the primary key or throws a {@link com.liferay.portlet.asset.NoSuchTagException} if it could not be found. * * @param tagId the primary key of the asset tag * @return the asset tag * @throws com.liferay.portlet.asset.NoSuchTagException if a asset tag with the primary key could not be found * @throws SystemException if a system exception occurred */ public com.liferay.portlet.asset.model.AssetTag findByPrimaryKey(long tagId) throws com.liferay.portal.kernel.exception.SystemException, com.liferay.portlet.asset.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 * @throws SystemException if a system exception occurred */ public com.liferay.portlet.asset.model.AssetTag fetchByPrimaryKey( long tagId) throws com.liferay.portal.kernel.exception.SystemException; /** * Returns all the asset tags. * * @return the asset tags * @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 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 {@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.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 * @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 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 {@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.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 * @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 tags 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 tags. * * @return the number of asset tags * @throws SystemException if a system exception occurred */ public int countAll() throws com.liferay.portal.kernel.exception.SystemException; /** * 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 * @throws SystemException if a system exception occurred */ public java.util.List getAssetEntries( long pk) throws com.liferay.portal.kernel.exception.SystemException; /** * 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 {@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.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 * @throws SystemException if a system exception occurred */ public java.util.List getAssetEntries( long pk, int start, int end) throws com.liferay.portal.kernel.exception.SystemException; /** * 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 {@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.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 * @throws SystemException if a system exception occurred */ public java.util.List getAssetEntries( long pk, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator) throws com.liferay.portal.kernel.exception.SystemException; /** * 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 * @throws SystemException if a system exception occurred */ public int getAssetEntriesSize(long pk) throws com.liferay.portal.kernel.exception.SystemException; /** * 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 * @throws SystemException if a system exception occurred */ public boolean containsAssetEntry(long pk, long assetEntryPK) throws com.liferay.portal.kernel.exception.SystemException; /** * 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 * @throws SystemException if a system exception occurred */ public boolean containsAssetEntries(long pk) throws com.liferay.portal.kernel.exception.SystemException; /** * 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 * @throws SystemException if a system exception occurred */ public void addAssetEntry(long pk, long assetEntryPK) throws com.liferay.portal.kernel.exception.SystemException; /** * 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 * @throws SystemException if a system exception occurred */ public void addAssetEntry(long pk, com.liferay.portlet.asset.model.AssetEntry assetEntry) throws com.liferay.portal.kernel.exception.SystemException; /** * 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 * @throws SystemException if a system exception occurred */ public void addAssetEntries(long pk, long[] assetEntryPKs) throws com.liferay.portal.kernel.exception.SystemException; /** * 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 * @throws SystemException if a system exception occurred */ public void addAssetEntries(long pk, java.util.List assetEntries) throws com.liferay.portal.kernel.exception.SystemException; /** * 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 * @throws SystemException if a system exception occurred */ public void clearAssetEntries(long pk) throws com.liferay.portal.kernel.exception.SystemException; /** * 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 * @throws SystemException if a system exception occurred */ public void removeAssetEntry(long pk, long assetEntryPK) throws com.liferay.portal.kernel.exception.SystemException; /** * 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 * @throws SystemException if a system exception occurred */ public void removeAssetEntry(long pk, com.liferay.portlet.asset.model.AssetEntry assetEntry) throws com.liferay.portal.kernel.exception.SystemException; /** * 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 * @throws SystemException if a system exception occurred */ public void removeAssetEntries(long pk, long[] assetEntryPKs) throws com.liferay.portal.kernel.exception.SystemException; /** * 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 * @throws SystemException if a system exception occurred */ public void removeAssetEntries(long pk, java.util.List assetEntries) throws com.liferay.portal.kernel.exception.SystemException; /** * 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 * @throws SystemException if a system exception occurred */ public void setAssetEntries(long pk, long[] assetEntryPKs) throws com.liferay.portal.kernel.exception.SystemException; /** * 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 * @throws SystemException if a system exception occurred */ public void setAssetEntries(long pk, java.util.List assetEntries) throws com.liferay.portal.kernel.exception.SystemException; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy