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

All Superinterfaces:
BasePersistence<TagsVocabulary>

public interface TagsVocabularyPersistence
extends BasePersistence<TagsVocabulary>

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:
TagsVocabularyPersistenceImpl, TagsVocabularyUtil
Generated:

Method Summary
 void cacheResult(java.util.List<TagsVocabulary> tagsVocabularies)
           
 void cacheResult(TagsVocabulary tagsVocabulary)
           
 int countAll()
           
 int countByC_F(long companyId, boolean folksonomy)
           
 int countByG_F(long groupId, boolean folksonomy)
           
 int countByG_N(long groupId, java.lang.String name)
           
 TagsVocabulary create(long vocabularyId)
           
 TagsVocabulary fetchByG_N(long groupId, java.lang.String name)
           
 TagsVocabulary fetchByG_N(long groupId, java.lang.String name, boolean retrieveFromCache)
           
 TagsVocabulary fetchByPrimaryKey(long vocabularyId)
           
 java.util.List<TagsVocabulary> findAll()
           
 java.util.List<TagsVocabulary> findAll(int start, int end)
           
 java.util.List<TagsVocabulary> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 TagsVocabulary findByC_F_First(long companyId, boolean folksonomy, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 TagsVocabulary findByC_F_Last(long companyId, boolean folksonomy, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 TagsVocabulary[] findByC_F_PrevAndNext(long vocabularyId, long companyId, boolean folksonomy, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<TagsVocabulary> findByC_F(long companyId, boolean folksonomy)
           
 java.util.List<TagsVocabulary> findByC_F(long companyId, boolean folksonomy, int start, int end)
           
 java.util.List<TagsVocabulary> findByC_F(long companyId, boolean folksonomy, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 TagsVocabulary findByG_F_First(long groupId, boolean folksonomy, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 TagsVocabulary findByG_F_Last(long groupId, boolean folksonomy, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 TagsVocabulary[] findByG_F_PrevAndNext(long vocabularyId, long groupId, boolean folksonomy, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 java.util.List<TagsVocabulary> findByG_F(long groupId, boolean folksonomy)
           
 java.util.List<TagsVocabulary> findByG_F(long groupId, boolean folksonomy, int start, int end)
           
 java.util.List<TagsVocabulary> findByG_F(long groupId, boolean folksonomy, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 TagsVocabulary findByG_N(long groupId, java.lang.String name)
           
 TagsVocabulary findByPrimaryKey(long vocabularyId)
           
 TagsVocabulary remove(long vocabularyId)
           
 void removeAll()
           
 void removeByC_F(long companyId, boolean folksonomy)
           
 void removeByG_F(long groupId, boolean folksonomy)
           
 void removeByG_N(long groupId, java.lang.String name)
           
 TagsVocabulary update(TagsVocabulary tagsVocabulary)
          Deprecated. Use BasePersistence.update(com.liferay.portal.model.BaseModel, boolean).
 TagsVocabulary updateImpl(TagsVocabulary tagsVocabulary, 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(TagsVocabulary tagsVocabulary)

cacheResult

void cacheResult(java.util.List<TagsVocabulary> tagsVocabularies)

create

TagsVocabulary create(long vocabularyId)

remove

TagsVocabulary remove(long vocabularyId)
                      throws com.liferay.portal.SystemException,
                             NoSuchVocabularyException
Throws:
com.liferay.portal.SystemException
NoSuchVocabularyException

update

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

Throws:
com.liferay.portal.SystemException

updateImpl

TagsVocabulary updateImpl(TagsVocabulary tagsVocabulary,
                          boolean merge)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

TagsVocabulary findByPrimaryKey(long vocabularyId)
                                throws com.liferay.portal.SystemException,
                                       NoSuchVocabularyException
Throws:
com.liferay.portal.SystemException
NoSuchVocabularyException

fetchByPrimaryKey

TagsVocabulary fetchByPrimaryKey(long vocabularyId)
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_N

TagsVocabulary findByG_N(long groupId,
                         java.lang.String name)
                         throws com.liferay.portal.SystemException,
                                NoSuchVocabularyException
Throws:
com.liferay.portal.SystemException
NoSuchVocabularyException

fetchByG_N

TagsVocabulary fetchByG_N(long groupId,
                          java.lang.String name)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

fetchByG_N

TagsVocabulary fetchByG_N(long groupId,
                          java.lang.String name,
                          boolean retrieveFromCache)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_F

java.util.List<TagsVocabulary> findByG_F(long groupId,
                                         boolean folksonomy)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_F

java.util.List<TagsVocabulary> findByG_F(long groupId,
                                         boolean folksonomy,
                                         int start,
                                         int end)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_F

java.util.List<TagsVocabulary> findByG_F(long groupId,
                                         boolean folksonomy,
                                         int start,
                                         int end,
                                         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByG_F_First

TagsVocabulary findByG_F_First(long groupId,
                               boolean folksonomy,
                               com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                               throws com.liferay.portal.SystemException,
                                      NoSuchVocabularyException
Throws:
com.liferay.portal.SystemException
NoSuchVocabularyException

findByG_F_Last

TagsVocabulary findByG_F_Last(long groupId,
                              boolean folksonomy,
                              com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                              throws com.liferay.portal.SystemException,
                                     NoSuchVocabularyException
Throws:
com.liferay.portal.SystemException
NoSuchVocabularyException

findByG_F_PrevAndNext

TagsVocabulary[] findByG_F_PrevAndNext(long vocabularyId,
                                       long groupId,
                                       boolean folksonomy,
                                       com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                       throws com.liferay.portal.SystemException,
                                              NoSuchVocabularyException
Throws:
com.liferay.portal.SystemException
NoSuchVocabularyException

findByC_F

java.util.List<TagsVocabulary> findByC_F(long companyId,
                                         boolean folksonomy)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByC_F

java.util.List<TagsVocabulary> findByC_F(long companyId,
                                         boolean folksonomy,
                                         int start,
                                         int end)
                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByC_F

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

findByC_F_First

TagsVocabulary findByC_F_First(long companyId,
                               boolean folksonomy,
                               com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                               throws com.liferay.portal.SystemException,
                                      NoSuchVocabularyException
Throws:
com.liferay.portal.SystemException
NoSuchVocabularyException

findByC_F_Last

TagsVocabulary findByC_F_Last(long companyId,
                              boolean folksonomy,
                              com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                              throws com.liferay.portal.SystemException,
                                     NoSuchVocabularyException
Throws:
com.liferay.portal.SystemException
NoSuchVocabularyException

findByC_F_PrevAndNext

TagsVocabulary[] findByC_F_PrevAndNext(long vocabularyId,
                                       long companyId,
                                       boolean folksonomy,
                                       com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                       throws com.liferay.portal.SystemException,
                                              NoSuchVocabularyException
Throws:
com.liferay.portal.SystemException
NoSuchVocabularyException

findAll

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

findAll

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

findAll

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

removeByG_N

void removeByG_N(long groupId,
                 java.lang.String name)
                 throws com.liferay.portal.SystemException,
                        NoSuchVocabularyException
Throws:
com.liferay.portal.SystemException
NoSuchVocabularyException

removeByG_F

void removeByG_F(long groupId,
                 boolean folksonomy)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByC_F

void removeByC_F(long companyId,
                 boolean folksonomy)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeAll

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

countByG_N

int countByG_N(long groupId,
               java.lang.String name)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByG_F

int countByG_F(long groupId,
               boolean folksonomy)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByC_F

int countByC_F(long companyId,
               boolean folksonomy)
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

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