com.liferay.portlet.tags.service.persistence
Class TagsVocabularyUtil

java.lang.Object
  extended by com.liferay.portlet.tags.service.persistence.TagsVocabularyUtil

public class TagsVocabularyUtil
extends java.lang.Object

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

Constructor Summary
TagsVocabularyUtil()
           
 
Method Summary
static void cacheResult(java.util.List<TagsVocabulary> tagsVocabularies)
           
static void cacheResult(TagsVocabulary tagsVocabulary)
           
static void clearCache()
           
static void clearCache(TagsVocabulary tagsVocabulary)
           
static int countAll()
           
static int countByC_F(long companyId, boolean folksonomy)
           
static int countByG_F(long groupId, boolean folksonomy)
           
static int countByG_N(long groupId, java.lang.String name)
           
 int countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
static TagsVocabulary create(long vocabularyId)
           
static TagsVocabulary fetchByG_N(long groupId, java.lang.String name)
           
static TagsVocabulary fetchByG_N(long groupId, java.lang.String name, boolean retrieveFromCache)
           
static TagsVocabulary fetchByPrimaryKey(long vocabularyId)
           
static java.util.List<TagsVocabulary> findAll()
           
static java.util.List<TagsVocabulary> findAll(int start, int end)
           
static java.util.List<TagsVocabulary> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static TagsVocabulary findByC_F_First(long companyId, boolean folksonomy, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static TagsVocabulary findByC_F_Last(long companyId, boolean folksonomy, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static TagsVocabulary[] findByC_F_PrevAndNext(long vocabularyId, long companyId, boolean folksonomy, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static java.util.List<TagsVocabulary> findByC_F(long companyId, boolean folksonomy)
           
static java.util.List<TagsVocabulary> findByC_F(long companyId, boolean folksonomy, int start, int end)
           
static java.util.List<TagsVocabulary> findByC_F(long companyId, boolean folksonomy, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static TagsVocabulary findByG_F_First(long groupId, boolean folksonomy, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static TagsVocabulary findByG_F_Last(long groupId, boolean folksonomy, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static TagsVocabulary[] findByG_F_PrevAndNext(long vocabularyId, long groupId, boolean folksonomy, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static java.util.List<TagsVocabulary> findByG_F(long groupId, boolean folksonomy)
           
static java.util.List<TagsVocabulary> findByG_F(long groupId, boolean folksonomy, int start, int end)
           
static java.util.List<TagsVocabulary> findByG_F(long groupId, boolean folksonomy, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
static TagsVocabulary findByG_N(long groupId, java.lang.String name)
           
static TagsVocabulary findByPrimaryKey(long vocabularyId)
           
static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
static TagsVocabularyPersistence getPersistence()
           
static TagsVocabulary remove(long vocabularyId)
           
static TagsVocabulary remove(TagsVocabulary tagsVocabulary)
           
static void removeAll()
           
static void removeByC_F(long companyId, boolean folksonomy)
           
static void removeByG_F(long groupId, boolean folksonomy)
           
static void removeByG_N(long groupId, java.lang.String name)
           
 void setPersistence(TagsVocabularyPersistence persistence)
           
static TagsVocabulary update(TagsVocabulary tagsVocabulary)
          Deprecated. Use com.liferay.portal.service.persistence.BasePersistence.#update(com.liferay.portal.model.BaseModel, boolean).
static TagsVocabulary update(TagsVocabulary tagsVocabulary, boolean merge)
           
static TagsVocabulary updateImpl(TagsVocabulary tagsVocabulary, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TagsVocabularyUtil

public TagsVocabularyUtil()
Method Detail

clearCache

public static void clearCache()
See Also:
BasePersistence.clearCache()

clearCache

public static void clearCache(TagsVocabulary tagsVocabulary)
See Also:
com.liferay.portal.service.persistence.BasePersistence#clearCache(TagsVocabulary)

countWithDynamicQuery

public int countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException
See Also:
BasePersistence.countWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                                                    int start,
                                                                    int end)
                                                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)

remove

public static TagsVocabulary remove(TagsVocabulary tagsVocabulary)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException
See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)

update

public static TagsVocabulary update(TagsVocabulary tagsVocabulary,
                                    boolean merge)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException
See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)

cacheResult

public static void cacheResult(TagsVocabulary tagsVocabulary)

cacheResult

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

create

public static TagsVocabulary create(long vocabularyId)

remove

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

update

public static TagsVocabulary update(TagsVocabulary tagsVocabulary)
                             throws com.liferay.portal.SystemException
Deprecated. Use com.liferay.portal.service.persistence.BasePersistence.#update(com.liferay.portal.model.BaseModel, boolean).

Throws:
com.liferay.portal.SystemException

updateImpl

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

findByPrimaryKey

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

fetchByPrimaryKey

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

findByG_N

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

fetchByG_N

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

fetchByG_N

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

findByG_F

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

findByG_F

public static 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

public static 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

public static 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

public static 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

public static 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

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

findByC_F

public static 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

public static 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

public static 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

public static 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

public static 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

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

findAll

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

findAll

public static 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

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

removeByG_F

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

removeByC_F

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

removeAll

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

countByG_N

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

countByG_F

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

countByC_F

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

countAll

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

getPersistence

public static TagsVocabularyPersistence getPersistence()

setPersistence

public void setPersistence(TagsVocabularyPersistence persistence)