com.liferay.portlet.asset.service.persistence
Interface AssetTagPersistence

All Superinterfaces:
BasePersistence<AssetTag>

public interface AssetTagPersistence
extends BasePersistence<AssetTag>

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Author:
Brian Wing Shun Chan
See Also:
AssetTagPersistenceImpl, AssetTagUtil
Generated:

Method Summary
 void addAssetEntries(long pk, java.util.List<AssetEntry> assetEntries)
           
 void addAssetEntries(long pk, long[] assetEntryPKs)
           
 void addAssetEntry(long pk, AssetEntry assetEntry)
           
 void addAssetEntry(long pk, long assetEntryPK)
           
 void cacheResult(AssetTag assetTag)
           
 void cacheResult(java.util.List<AssetTag> assetTags)
           
 void clearAssetEntries(long pk)
           
 boolean containsAssetEntries(long pk)
           
 boolean containsAssetEntry(long pk, long assetEntryPK)
           
 int countAll()
           
 int countByGroupId(long groupId)
           
 AssetTag create(long tagId)
           
 AssetTag fetchByPrimaryKey(long tagId)
           
 java.util.List<AssetTag> findAll()
           
 java.util.List<AssetTag> findAll(int start, int end)
           
 java.util.List<AssetTag> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 AssetTag findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 AssetTag findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 AssetTag[] findByGroupId_PrevAndNext(long tagId, long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<AssetTag> findByGroupId(long groupId)
           
 java.util.List<AssetTag> findByGroupId(long groupId, int start, int end)
           
 java.util.List<AssetTag> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 AssetTag findByPrimaryKey(long tagId)
           
 java.util.List<AssetEntry> getAssetEntries(long pk)
           
 java.util.List<AssetEntry> getAssetEntries(long pk, int start, int end)
           
 java.util.List<AssetEntry> getAssetEntries(long pk, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 int getAssetEntriesSize(long pk)
           
 AssetTag remove(long tagId)
           
 void removeAll()
           
 void removeAssetEntries(long pk, java.util.List<AssetEntry> assetEntries)
           
 void removeAssetEntries(long pk, long[] assetEntryPKs)
           
 void removeAssetEntry(long pk, AssetEntry assetEntry)
           
 void removeAssetEntry(long pk, long assetEntryPK)
           
 void removeByGroupId(long groupId)
           
 void setAssetEntries(long pk, java.util.List<AssetEntry> assetEntries)
           
 void setAssetEntries(long pk, long[] assetEntryPKs)
           
 AssetTag updateImpl(AssetTag assetTag, boolean merge)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
clearCache, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, getListeners, registerListener, remove, remove, unregisterListener, update
 

Method Detail

cacheResult

void cacheResult(AssetTag assetTag)

cacheResult

void cacheResult(java.util.List<AssetTag> assetTags)

create

AssetTag create(long tagId)

remove

AssetTag remove(long tagId)
                throws com.liferay.portal.kernel.exception.SystemException,
                       NoSuchTagException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchTagException

updateImpl

AssetTag updateImpl(AssetTag assetTag,
                    boolean merge)
                    throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByPrimaryKey

AssetTag findByPrimaryKey(long tagId)
                          throws com.liferay.portal.kernel.exception.SystemException,
                                 NoSuchTagException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchTagException

fetchByPrimaryKey

AssetTag fetchByPrimaryKey(long tagId)
                           throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByGroupId

java.util.List<AssetTag> findByGroupId(long groupId)
                                       throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByGroupId

java.util.List<AssetTag> findByGroupId(long groupId,
                                       int start,
                                       int end)
                                       throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByGroupId

java.util.List<AssetTag> findByGroupId(long groupId,
                                       int start,
                                       int end,
                                       com.liferay.portal.kernel.util.OrderByComparator obc)
                                       throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByGroupId_First

AssetTag findByGroupId_First(long groupId,
                             com.liferay.portal.kernel.util.OrderByComparator obc)
                             throws com.liferay.portal.kernel.exception.SystemException,
                                    NoSuchTagException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchTagException

findByGroupId_Last

AssetTag findByGroupId_Last(long groupId,
                            com.liferay.portal.kernel.util.OrderByComparator obc)
                            throws com.liferay.portal.kernel.exception.SystemException,
                                   NoSuchTagException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchTagException

findByGroupId_PrevAndNext

AssetTag[] findByGroupId_PrevAndNext(long tagId,
                                     long groupId,
                                     com.liferay.portal.kernel.util.OrderByComparator obc)
                                     throws com.liferay.portal.kernel.exception.SystemException,
                                            NoSuchTagException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchTagException

findAll

java.util.List<AssetTag> findAll()
                                 throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findAll

java.util.List<AssetTag> findAll(int start,
                                 int end)
                                 throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findAll

java.util.List<AssetTag> findAll(int start,
                                 int end,
                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                                 throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByGroupId

void removeByGroupId(long groupId)
                     throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeAll

void removeAll()
               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByGroupId

int countByGroupId(long groupId)
                   throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countAll

int countAll()
             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getAssetEntries

java.util.List<AssetEntry> getAssetEntries(long pk)
                                           throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getAssetEntries

java.util.List<AssetEntry> getAssetEntries(long pk,
                                           int start,
                                           int end)
                                           throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getAssetEntries

java.util.List<AssetEntry> getAssetEntries(long pk,
                                           int start,
                                           int end,
                                           com.liferay.portal.kernel.util.OrderByComparator obc)
                                           throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

getAssetEntriesSize

int getAssetEntriesSize(long pk)
                        throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

containsAssetEntry

boolean containsAssetEntry(long pk,
                           long assetEntryPK)
                           throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

containsAssetEntries

boolean containsAssetEntries(long pk)
                             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

addAssetEntry

void addAssetEntry(long pk,
                   long assetEntryPK)
                   throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

addAssetEntry

void addAssetEntry(long pk,
                   AssetEntry assetEntry)
                   throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

addAssetEntries

void addAssetEntries(long pk,
                     long[] assetEntryPKs)
                     throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

addAssetEntries

void addAssetEntries(long pk,
                     java.util.List<AssetEntry> assetEntries)
                     throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

clearAssetEntries

void clearAssetEntries(long pk)
                       throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeAssetEntry

void removeAssetEntry(long pk,
                      long assetEntryPK)
                      throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeAssetEntry

void removeAssetEntry(long pk,
                      AssetEntry assetEntry)
                      throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeAssetEntries

void removeAssetEntries(long pk,
                        long[] assetEntryPKs)
                        throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeAssetEntries

void removeAssetEntries(long pk,
                        java.util.List<AssetEntry> assetEntries)
                        throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

setAssetEntries

void setAssetEntries(long pk,
                     long[] assetEntryPKs)
                     throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

setAssetEntries

void setAssetEntries(long pk,
                     java.util.List<AssetEntry> assetEntries)
                     throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException