com.liferay.portlet.asset.service.persistence
Class AssetVocabularyUtil

java.lang.Object
  extended by com.liferay.portlet.asset.service.persistence.AssetVocabularyUtil

public class AssetVocabularyUtil
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:
AssetVocabularyPersistence, AssetVocabularyPersistenceImpl
Generated:

Constructor Summary
AssetVocabularyUtil()
           
 
Method Summary
static void cacheResult(AssetVocabulary assetVocabulary)
           
static void cacheResult(java.util.List<AssetVocabulary> assetVocabularies)
           
static void clearCache()
           
static int countAll()
           
static int countByCompanyId(long companyId)
           
static int countByG_N(long groupId, java.lang.String name)
           
static int countByGroupId(long groupId)
           
static int countByUUID_G(java.lang.String uuid, long groupId)
           
static int countByUuid(java.lang.String uuid)
           
static AssetVocabulary create(long vocabularyId)
           
static AssetVocabulary fetchByG_N(long groupId, java.lang.String name)
           
static AssetVocabulary fetchByG_N(long groupId, java.lang.String name, boolean retrieveFromCache)
           
static AssetVocabulary fetchByPrimaryKey(long vocabularyId)
           
static AssetVocabulary fetchByUUID_G(java.lang.String uuid, long groupId)
           
static AssetVocabulary fetchByUUID_G(java.lang.String uuid, long groupId, boolean retrieveFromCache)
           
static java.util.List<AssetVocabulary> findAll()
           
static java.util.List<AssetVocabulary> findAll(int start, int end)
           
static java.util.List<AssetVocabulary> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static AssetVocabulary findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static AssetVocabulary findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static AssetVocabulary[] findByCompanyId_PrevAndNext(long vocabularyId, long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<AssetVocabulary> findByCompanyId(long companyId)
           
static java.util.List<AssetVocabulary> findByCompanyId(long companyId, int start, int end)
           
static java.util.List<AssetVocabulary> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static AssetVocabulary findByG_N(long groupId, java.lang.String name)
           
static AssetVocabulary findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static AssetVocabulary findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static AssetVocabulary[] findByGroupId_PrevAndNext(long vocabularyId, long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<AssetVocabulary> findByGroupId(long groupId)
           
static java.util.List<AssetVocabulary> findByGroupId(long groupId, int start, int end)
           
static java.util.List<AssetVocabulary> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static AssetVocabulary findByPrimaryKey(long vocabularyId)
           
static AssetVocabulary findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static AssetVocabulary findByUUID_G(java.lang.String uuid, long groupId)
           
static AssetVocabulary findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static AssetVocabulary[] findByUuid_PrevAndNext(long vocabularyId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
static java.util.List<AssetVocabulary> findByUuid(java.lang.String uuid)
           
static java.util.List<AssetVocabulary> findByUuid(java.lang.String uuid, int start, int end)
           
static java.util.List<AssetVocabulary> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
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 AssetVocabularyPersistence getPersistence()
           
static AssetVocabulary remove(AssetVocabulary assetVocabulary)
           
static AssetVocabulary remove(long vocabularyId)
           
static void removeAll()
           
static void removeByCompanyId(long companyId)
           
static void removeByG_N(long groupId, java.lang.String name)
           
static void removeByGroupId(long groupId)
           
static void removeByUUID_G(java.lang.String uuid, long groupId)
           
static void removeByUuid(java.lang.String uuid)
           
 void setPersistence(AssetVocabularyPersistence persistence)
           
static AssetVocabulary update(AssetVocabulary assetVocabulary, boolean merge)
           
static AssetVocabulary updateImpl(AssetVocabulary assetVocabulary, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssetVocabularyUtil

public AssetVocabularyUtil()
Method Detail

clearCache

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

findWithDynamicQuery

public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                                             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.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.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)

remove

public static AssetVocabulary remove(AssetVocabulary assetVocabulary)
                              throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException
See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)

update

public static AssetVocabulary update(AssetVocabulary assetVocabulary,
                                     boolean merge)
                              throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException
See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)

cacheResult

public static void cacheResult(AssetVocabulary assetVocabulary)

cacheResult

public static void cacheResult(java.util.List<AssetVocabulary> assetVocabularies)

create

public static AssetVocabulary create(long vocabularyId)

remove

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

updateImpl

public static AssetVocabulary updateImpl(AssetVocabulary assetVocabulary,
                                         boolean merge)
                                  throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByPrimaryKey

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

fetchByPrimaryKey

public static AssetVocabulary fetchByPrimaryKey(long vocabularyId)
                                         throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByUuid

public static java.util.List<AssetVocabulary> findByUuid(java.lang.String uuid)
                                                  throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByUuid

public static java.util.List<AssetVocabulary> findByUuid(java.lang.String uuid,
                                                         int start,
                                                         int end)
                                                  throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByUuid

public static java.util.List<AssetVocabulary> findByUuid(java.lang.String uuid,
                                                         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

findByUuid_First

public static AssetVocabulary findByUuid_First(java.lang.String uuid,
                                               com.liferay.portal.kernel.util.OrderByComparator obc)
                                        throws com.liferay.portal.kernel.exception.SystemException,
                                               NoSuchVocabularyException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchVocabularyException

findByUuid_Last

public static AssetVocabulary findByUuid_Last(java.lang.String uuid,
                                              com.liferay.portal.kernel.util.OrderByComparator obc)
                                       throws com.liferay.portal.kernel.exception.SystemException,
                                              NoSuchVocabularyException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchVocabularyException

findByUuid_PrevAndNext

public static AssetVocabulary[] findByUuid_PrevAndNext(long vocabularyId,
                                                       java.lang.String uuid,
                                                       com.liferay.portal.kernel.util.OrderByComparator obc)
                                                throws com.liferay.portal.kernel.exception.SystemException,
                                                       NoSuchVocabularyException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchVocabularyException

findByUUID_G

public static AssetVocabulary findByUUID_G(java.lang.String uuid,
                                           long groupId)
                                    throws com.liferay.portal.kernel.exception.SystemException,
                                           NoSuchVocabularyException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchVocabularyException

fetchByUUID_G

public static AssetVocabulary fetchByUUID_G(java.lang.String uuid,
                                            long groupId)
                                     throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

fetchByUUID_G

public static AssetVocabulary fetchByUUID_G(java.lang.String uuid,
                                            long groupId,
                                            boolean retrieveFromCache)
                                     throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByGroupId

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

findByGroupId

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

findByGroupId

public static java.util.List<AssetVocabulary> 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

public static AssetVocabulary findByGroupId_First(long groupId,
                                                  com.liferay.portal.kernel.util.OrderByComparator obc)
                                           throws com.liferay.portal.kernel.exception.SystemException,
                                                  NoSuchVocabularyException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchVocabularyException

findByGroupId_Last

public static AssetVocabulary findByGroupId_Last(long groupId,
                                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                                          throws com.liferay.portal.kernel.exception.SystemException,
                                                 NoSuchVocabularyException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchVocabularyException

findByGroupId_PrevAndNext

public static AssetVocabulary[] findByGroupId_PrevAndNext(long vocabularyId,
                                                          long groupId,
                                                          com.liferay.portal.kernel.util.OrderByComparator obc)
                                                   throws com.liferay.portal.kernel.exception.SystemException,
                                                          NoSuchVocabularyException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchVocabularyException

findByCompanyId

public static java.util.List<AssetVocabulary> findByCompanyId(long companyId)
                                                       throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByCompanyId

public static java.util.List<AssetVocabulary> findByCompanyId(long companyId,
                                                              int start,
                                                              int end)
                                                       throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByCompanyId

public static java.util.List<AssetVocabulary> findByCompanyId(long companyId,
                                                              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

findByCompanyId_First

public static AssetVocabulary findByCompanyId_First(long companyId,
                                                    com.liferay.portal.kernel.util.OrderByComparator obc)
                                             throws com.liferay.portal.kernel.exception.SystemException,
                                                    NoSuchVocabularyException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchVocabularyException

findByCompanyId_Last

public static AssetVocabulary findByCompanyId_Last(long companyId,
                                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                                            throws com.liferay.portal.kernel.exception.SystemException,
                                                   NoSuchVocabularyException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchVocabularyException

findByCompanyId_PrevAndNext

public static AssetVocabulary[] findByCompanyId_PrevAndNext(long vocabularyId,
                                                            long companyId,
                                                            com.liferay.portal.kernel.util.OrderByComparator obc)
                                                     throws com.liferay.portal.kernel.exception.SystemException,
                                                            NoSuchVocabularyException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchVocabularyException

findByG_N

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

fetchByG_N

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

fetchByG_N

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

findAll

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

findAll

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

findAll

public static java.util.List<AssetVocabulary> 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

removeByUuid

public static void removeByUuid(java.lang.String uuid)
                         throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByUUID_G

public static void removeByUUID_G(java.lang.String uuid,
                                  long groupId)
                           throws com.liferay.portal.kernel.exception.SystemException,
                                  NoSuchVocabularyException
Throws:
com.liferay.portal.kernel.exception.SystemException
NoSuchVocabularyException

removeByGroupId

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

removeByCompanyId

public static void removeByCompanyId(long companyId)
                              throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByG_N

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

removeAll

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

countByUuid

public static int countByUuid(java.lang.String uuid)
                       throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByUUID_G

public static int countByUUID_G(java.lang.String uuid,
                                long groupId)
                         throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByGroupId

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

countByCompanyId

public static int countByCompanyId(long companyId)
                            throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByG_N

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

countAll

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

getPersistence

public static AssetVocabularyPersistence getPersistence()

setPersistence

public void setPersistence(AssetVocabularyPersistence persistence)