com.liferay.portlet.tags.service.persistence
Interface TagsAssetPersistence

All Superinterfaces:
BasePersistence<TagsAsset>

public interface TagsAssetPersistence
extends BasePersistence<TagsAsset>

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:
TagsAssetPersistenceImpl, TagsAssetUtil
Generated:

Method Summary
 void addTagsEntries(long pk, java.util.List<TagsEntry> tagsEntries)
           
 void addTagsEntries(long pk, long[] tagsEntryPKs)
           
 void addTagsEntry(long pk, long tagsEntryPK)
           
 void addTagsEntry(long pk, TagsEntry tagsEntry)
           
 void cacheResult(java.util.List<TagsAsset> tagsAssets)
           
 void cacheResult(TagsAsset tagsAsset)
           
 void clearTagsEntries(long pk)
           
 boolean containsTagsEntries(long pk)
           
 boolean containsTagsEntry(long pk, long tagsEntryPK)
           
 int countAll()
           
 int countByC_C(long classNameId, long classPK)
           
 int countByCompanyId(long companyId)
           
 TagsAsset create(long assetId)
           
 TagsAsset fetchByC_C(long classNameId, long classPK)
           
 TagsAsset fetchByC_C(long classNameId, long classPK, boolean retrieveFromCache)
           
 TagsAsset fetchByPrimaryKey(long assetId)
           
 java.util.List<TagsAsset> findAll()
           
 java.util.List<TagsAsset> findAll(int start, int end)
           
 java.util.List<TagsAsset> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 TagsAsset findByC_C(long classNameId, long classPK)
           
 TagsAsset findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 TagsAsset findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 TagsAsset[] findByCompanyId_PrevAndNext(long assetId, long companyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<TagsAsset> findByCompanyId(long companyId)
           
 java.util.List<TagsAsset> findByCompanyId(long companyId, int start, int end)
           
 java.util.List<TagsAsset> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 TagsAsset findByPrimaryKey(long assetId)
           
 java.util.List<TagsEntry> getTagsEntries(long pk)
           
 java.util.List<TagsEntry> getTagsEntries(long pk, int start, int end)
           
 java.util.List<TagsEntry> getTagsEntries(long pk, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 int getTagsEntriesSize(long pk)
           
 TagsAsset remove(long assetId)
           
 void removeAll()
           
 void removeByC_C(long classNameId, long classPK)
           
 void removeByCompanyId(long companyId)
           
 void removeTagsEntries(long pk, java.util.List<TagsEntry> tagsEntries)
           
 void removeTagsEntries(long pk, long[] tagsEntryPKs)
           
 void removeTagsEntry(long pk, long tagsEntryPK)
           
 void removeTagsEntry(long pk, TagsEntry tagsEntry)
           
 void setTagsEntries(long pk, java.util.List<TagsEntry> tagsEntries)
           
 void setTagsEntries(long pk, long[] tagsEntryPKs)
           
 TagsAsset update(TagsAsset tagsAsset)
          Deprecated. Use BasePersistence.update(com.liferay.portal.model.BaseModel, boolean).
 TagsAsset updateImpl(TagsAsset tagsAsset, boolean merge)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
clearCache, clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, remove, setDataSource, unregisterListener, update
 

Method Detail

cacheResult

void cacheResult(TagsAsset tagsAsset)

cacheResult

void cacheResult(java.util.List<TagsAsset> tagsAssets)

create

TagsAsset create(long assetId)

remove

TagsAsset remove(long assetId)
                 throws com.liferay.portal.SystemException,
                        NoSuchAssetException
Throws:
com.liferay.portal.SystemException
NoSuchAssetException

update

TagsAsset update(TagsAsset tagsAsset)
                 throws com.liferay.portal.SystemException
Deprecated. Use BasePersistence.update(com.liferay.portal.model.BaseModel, boolean).

Throws:
com.liferay.portal.SystemException

updateImpl

TagsAsset updateImpl(TagsAsset tagsAsset,
                     boolean merge)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

TagsAsset findByPrimaryKey(long assetId)
                           throws com.liferay.portal.SystemException,
                                  NoSuchAssetException
Throws:
com.liferay.portal.SystemException
NoSuchAssetException

fetchByPrimaryKey

TagsAsset fetchByPrimaryKey(long assetId)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId

java.util.List<TagsAsset> findByCompanyId(long companyId)
                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId

java.util.List<TagsAsset> findByCompanyId(long companyId,
                                          int start,
                                          int end)
                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId

java.util.List<TagsAsset> findByCompanyId(long companyId,
                                          int start,
                                          int end,
                                          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByCompanyId_First

TagsAsset findByCompanyId_First(long companyId,
                                com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                throws com.liferay.portal.SystemException,
                                       NoSuchAssetException
Throws:
com.liferay.portal.SystemException
NoSuchAssetException

findByCompanyId_Last

TagsAsset findByCompanyId_Last(long companyId,
                               com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                               throws com.liferay.portal.SystemException,
                                      NoSuchAssetException
Throws:
com.liferay.portal.SystemException
NoSuchAssetException

findByCompanyId_PrevAndNext

TagsAsset[] findByCompanyId_PrevAndNext(long assetId,
                                        long companyId,
                                        com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                        throws com.liferay.portal.SystemException,
                                               NoSuchAssetException
Throws:
com.liferay.portal.SystemException
NoSuchAssetException

findByC_C

TagsAsset findByC_C(long classNameId,
                    long classPK)
                    throws com.liferay.portal.SystemException,
                           NoSuchAssetException
Throws:
com.liferay.portal.SystemException
NoSuchAssetException

fetchByC_C

TagsAsset fetchByC_C(long classNameId,
                     long classPK)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

fetchByC_C

TagsAsset fetchByC_C(long classNameId,
                     long classPK,
                     boolean retrieveFromCache)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

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

findAll

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

findAll

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

removeByCompanyId

void removeByCompanyId(long companyId)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByC_C

void removeByC_C(long classNameId,
                 long classPK)
                 throws com.liferay.portal.SystemException,
                        NoSuchAssetException
Throws:
com.liferay.portal.SystemException
NoSuchAssetException

removeAll

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

countByCompanyId

int countByCompanyId(long companyId)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByC_C

int countByC_C(long classNameId,
               long classPK)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

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

getTagsEntries

java.util.List<TagsEntry> getTagsEntries(long pk)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getTagsEntries

java.util.List<TagsEntry> getTagsEntries(long pk,
                                         int start,
                                         int end)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getTagsEntries

java.util.List<TagsEntry> getTagsEntries(long pk,
                                         int start,
                                         int end,
                                         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getTagsEntriesSize

int getTagsEntriesSize(long pk)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

containsTagsEntry

boolean containsTagsEntry(long pk,
                          long tagsEntryPK)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

containsTagsEntries

boolean containsTagsEntries(long pk)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addTagsEntry

void addTagsEntry(long pk,
                  long tagsEntryPK)
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addTagsEntry

void addTagsEntry(long pk,
                  TagsEntry tagsEntry)
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addTagsEntries

void addTagsEntries(long pk,
                    long[] tagsEntryPKs)
                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addTagsEntries

void addTagsEntries(long pk,
                    java.util.List<TagsEntry> tagsEntries)
                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

clearTagsEntries

void clearTagsEntries(long pk)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeTagsEntry

void removeTagsEntry(long pk,
                     long tagsEntryPK)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeTagsEntry

void removeTagsEntry(long pk,
                     TagsEntry tagsEntry)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeTagsEntries

void removeTagsEntries(long pk,
                       long[] tagsEntryPKs)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeTagsEntries

void removeTagsEntries(long pk,
                       java.util.List<TagsEntry> tagsEntries)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

setTagsEntries

void setTagsEntries(long pk,
                    long[] tagsEntryPKs)
                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

setTagsEntries

void setTagsEntries(long pk,
                    java.util.List<TagsEntry> tagsEntries)
                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException