com.liferay.portlet.asset.service.persistence
Interface AssetVocabularyPersistence

All Superinterfaces:
BasePersistence<AssetVocabulary>

public interface AssetVocabularyPersistence
extends BasePersistence<AssetVocabulary>

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

Method Summary
 void cacheResult(AssetVocabulary assetVocabulary)
           
 void cacheResult(java.util.List<AssetVocabulary> assetVocabularies)
           
 int countAll()
           
 int countByCompanyId(long companyId)
           
 int countByG_N(long groupId, java.lang.String name)
           
 int countByGroupId(long groupId)
           
 int countByUUID_G(java.lang.String uuid, long groupId)
           
 int countByUuid(java.lang.String uuid)
           
 AssetVocabulary create(long vocabularyId)
           
 AssetVocabulary fetchByG_N(long groupId, java.lang.String name)
           
 AssetVocabulary fetchByG_N(long groupId, java.lang.String name, boolean retrieveFromCache)
           
 AssetVocabulary fetchByPrimaryKey(long vocabularyId)
           
 AssetVocabulary fetchByUUID_G(java.lang.String uuid, long groupId)
           
 AssetVocabulary fetchByUUID_G(java.lang.String uuid, long groupId, boolean retrieveFromCache)
           
 java.util.List<AssetVocabulary> findAll()
           
 java.util.List<AssetVocabulary> findAll(int start, int end)
           
 java.util.List<AssetVocabulary> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 AssetVocabulary findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 AssetVocabulary findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 AssetVocabulary[] findByCompanyId_PrevAndNext(long vocabularyId, long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<AssetVocabulary> findByCompanyId(long companyId)
           
 java.util.List<AssetVocabulary> findByCompanyId(long companyId, int start, int end)
           
 java.util.List<AssetVocabulary> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 AssetVocabulary findByG_N(long groupId, java.lang.String name)
           
 AssetVocabulary findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 AssetVocabulary findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 AssetVocabulary[] findByGroupId_PrevAndNext(long vocabularyId, long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<AssetVocabulary> findByGroupId(long groupId)
           
 java.util.List<AssetVocabulary> findByGroupId(long groupId, int start, int end)
           
 java.util.List<AssetVocabulary> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 AssetVocabulary findByPrimaryKey(long vocabularyId)
           
 AssetVocabulary findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 AssetVocabulary findByUUID_G(java.lang.String uuid, long groupId)
           
 AssetVocabulary findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 AssetVocabulary[] findByUuid_PrevAndNext(long vocabularyId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<AssetVocabulary> findByUuid(java.lang.String uuid)
           
 java.util.List<AssetVocabulary> findByUuid(java.lang.String uuid, int start, int end)
           
 java.util.List<AssetVocabulary> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 AssetVocabulary remove(long vocabularyId)
           
 void removeAll()
           
 void removeByCompanyId(long companyId)
           
 void removeByG_N(long groupId, java.lang.String name)
           
 void removeByGroupId(long groupId)
           
 void removeByUUID_G(java.lang.String uuid, long groupId)
           
 void removeByUuid(java.lang.String uuid)
           
 AssetVocabulary updateImpl(AssetVocabulary assetVocabulary, boolean merge)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
clearCache, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, getListeners, registerListener, remove, remove, unregisterListener, update
 

Method Detail

cacheResult

void cacheResult(AssetVocabulary assetVocabulary)

cacheResult

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

create

AssetVocabulary create(long vocabularyId)

remove

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

updateImpl

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

findByPrimaryKey

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

fetchByPrimaryKey

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

findByUuid

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

findByUuid

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

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

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

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

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

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

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

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

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

findByGroupId

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

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

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

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

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

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

findByCompanyId

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

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

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

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

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

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

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

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

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

findAll

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

findAll

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

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

removeByUUID_G

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

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

removeByCompanyId

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

removeByG_N

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

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

countByUuid

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

countByUUID_G

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

countByGroupId

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

countByCompanyId

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

countByG_N

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

countAll

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