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

All Superinterfaces:
BasePersistence<TagsEntry>

public interface TagsEntryPersistence
extends BasePersistence<TagsEntry>

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:
TagsEntryPersistenceImpl, TagsEntryUtil
Generated:

Method Summary
 void addTagsAsset(long pk, long tagsAssetPK)
           
 void addTagsAsset(long pk, TagsAsset tagsAsset)
           
 void addTagsAssets(long pk, java.util.List<TagsAsset> tagsAssets)
           
 void addTagsAssets(long pk, long[] tagsAssetPKs)
           
 void cacheResult(java.util.List<TagsEntry> tagsEntries)
           
 void cacheResult(TagsEntry tagsEntry)
           
 void clearTagsAssets(long pk)
           
 boolean containsTagsAsset(long pk, long tagsAssetPK)
           
 boolean containsTagsAssets(long pk)
           
 int countAll()
           
 int countByP_V(long parentEntryId, long vocabularyId)
           
 int countByVocabularyId(long vocabularyId)
           
 TagsEntry create(long entryId)
           
 TagsEntry fetchByPrimaryKey(long entryId)
           
 java.util.List<TagsEntry> findAll()
           
 java.util.List<TagsEntry> findAll(int start, int end)
           
 java.util.List<TagsEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 TagsEntry findByP_V_First(long parentEntryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 TagsEntry findByP_V_Last(long parentEntryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 TagsEntry[] findByP_V_PrevAndNext(long entryId, long parentEntryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<TagsEntry> findByP_V(long parentEntryId, long vocabularyId)
           
 java.util.List<TagsEntry> findByP_V(long parentEntryId, long vocabularyId, int start, int end)
           
 java.util.List<TagsEntry> findByP_V(long parentEntryId, long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 TagsEntry findByPrimaryKey(long entryId)
           
 TagsEntry findByVocabularyId_First(long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 TagsEntry findByVocabularyId_Last(long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 TagsEntry[] findByVocabularyId_PrevAndNext(long entryId, long vocabularyId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<TagsEntry> findByVocabularyId(long vocabularyId)
           
 java.util.List<TagsEntry> findByVocabularyId(long vocabularyId, int start, int end)
           
 java.util.List<TagsEntry> findByVocabularyId(long vocabularyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<TagsAsset> getTagsAssets(long pk)
           
 java.util.List<TagsAsset> getTagsAssets(long pk, int start, int end)
           
 java.util.List<TagsAsset> getTagsAssets(long pk, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 int getTagsAssetsSize(long pk)
           
 TagsEntry remove(long entryId)
           
 void removeAll()
           
 void removeByP_V(long parentEntryId, long vocabularyId)
           
 void removeByVocabularyId(long vocabularyId)
           
 void removeTagsAsset(long pk, long tagsAssetPK)
           
 void removeTagsAsset(long pk, TagsAsset tagsAsset)
           
 void removeTagsAssets(long pk, java.util.List<TagsAsset> tagsAssets)
           
 void removeTagsAssets(long pk, long[] tagsAssetPKs)
           
 void setTagsAssets(long pk, java.util.List<TagsAsset> tagsAssets)
           
 void setTagsAssets(long pk, long[] tagsAssetPKs)
           
 TagsEntry update(TagsEntry tagsEntry)
          Deprecated. Use BasePersistence.update(com.liferay.portal.model.BaseModel, boolean).
 TagsEntry updateImpl(TagsEntry tagsEntry, 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(TagsEntry tagsEntry)

cacheResult

void cacheResult(java.util.List<TagsEntry> tagsEntries)

create

TagsEntry create(long entryId)

remove

TagsEntry remove(long entryId)
                 throws com.liferay.portal.SystemException,
                        NoSuchEntryException
Throws:
com.liferay.portal.SystemException
NoSuchEntryException

update

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

Throws:
com.liferay.portal.SystemException

updateImpl

TagsEntry updateImpl(TagsEntry tagsEntry,
                     boolean merge)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

TagsEntry findByPrimaryKey(long entryId)
                           throws com.liferay.portal.SystemException,
                                  NoSuchEntryException
Throws:
com.liferay.portal.SystemException
NoSuchEntryException

fetchByPrimaryKey

TagsEntry fetchByPrimaryKey(long entryId)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByVocabularyId

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

findByVocabularyId

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

findByVocabularyId

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

findByVocabularyId_First

TagsEntry findByVocabularyId_First(long vocabularyId,
                                   com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                   throws com.liferay.portal.SystemException,
                                          NoSuchEntryException
Throws:
com.liferay.portal.SystemException
NoSuchEntryException

findByVocabularyId_Last

TagsEntry findByVocabularyId_Last(long vocabularyId,
                                  com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                  throws com.liferay.portal.SystemException,
                                         NoSuchEntryException
Throws:
com.liferay.portal.SystemException
NoSuchEntryException

findByVocabularyId_PrevAndNext

TagsEntry[] findByVocabularyId_PrevAndNext(long entryId,
                                           long vocabularyId,
                                           com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                           throws com.liferay.portal.SystemException,
                                                  NoSuchEntryException
Throws:
com.liferay.portal.SystemException
NoSuchEntryException

findByP_V

java.util.List<TagsEntry> findByP_V(long parentEntryId,
                                    long vocabularyId)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByP_V

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

findByP_V

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

findByP_V_First

TagsEntry findByP_V_First(long parentEntryId,
                          long vocabularyId,
                          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                          throws com.liferay.portal.SystemException,
                                 NoSuchEntryException
Throws:
com.liferay.portal.SystemException
NoSuchEntryException

findByP_V_Last

TagsEntry findByP_V_Last(long parentEntryId,
                         long vocabularyId,
                         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                         throws com.liferay.portal.SystemException,
                                NoSuchEntryException
Throws:
com.liferay.portal.SystemException
NoSuchEntryException

findByP_V_PrevAndNext

TagsEntry[] findByP_V_PrevAndNext(long entryId,
                                  long parentEntryId,
                                  long vocabularyId,
                                  com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                  throws com.liferay.portal.SystemException,
                                         NoSuchEntryException
Throws:
com.liferay.portal.SystemException
NoSuchEntryException

findAll

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

findAll

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

findAll

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

removeByVocabularyId

void removeByVocabularyId(long vocabularyId)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByP_V

void removeByP_V(long parentEntryId,
                 long vocabularyId)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeAll

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

countByVocabularyId

int countByVocabularyId(long vocabularyId)
                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByP_V

int countByP_V(long parentEntryId,
               long vocabularyId)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

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

getTagsAssets

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

getTagsAssets

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

getTagsAssets

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

getTagsAssetsSize

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

containsTagsAsset

boolean containsTagsAsset(long pk,
                          long tagsAssetPK)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

containsTagsAssets

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

addTagsAsset

void addTagsAsset(long pk,
                  long tagsAssetPK)
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addTagsAsset

void addTagsAsset(long pk,
                  TagsAsset tagsAsset)
                  throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addTagsAssets

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

addTagsAssets

void addTagsAssets(long pk,
                   java.util.List<TagsAsset> tagsAssets)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

clearTagsAssets

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

removeTagsAsset

void removeTagsAsset(long pk,
                     long tagsAssetPK)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeTagsAsset

void removeTagsAsset(long pk,
                     TagsAsset tagsAsset)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeTagsAssets

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

removeTagsAssets

void removeTagsAssets(long pk,
                      java.util.List<TagsAsset> tagsAssets)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

setTagsAssets

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

setTagsAssets

void setTagsAssets(long pk,
                   java.util.List<TagsAsset> tagsAssets)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException