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)
           
 int filterCountByG_N(long groupId, java.lang.String name)
           
 int filterCountByGroupId(long groupId)
           
 java.util.List<AssetVocabulary> filterFindByGroupId(long groupId)
           
 java.util.List<AssetVocabulary> filterFindByGroupId(long groupId, int start, int end)
           
 java.util.List<AssetVocabulary> filterFindByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
           
 java.util.List<AssetVocabulary> findAll()
           
 java.util.List<AssetVocabulary> findAll(int start, int end)
           
 java.util.List<AssetVocabulary> findAll(int start, int end, OrderByComparator orderByComparator)
           
 AssetVocabulary findByCompanyId_First(long companyId, OrderByComparator orderByComparator)
           
 AssetVocabulary findByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
           
 AssetVocabulary[] findByCompanyId_PrevAndNext(long vocabularyId, long companyId, OrderByComparator orderByComparator)
           
 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, OrderByComparator orderByComparator)
           
 AssetVocabulary findByG_N(long groupId, java.lang.String name)
           
 AssetVocabulary findByGroupId_First(long groupId, OrderByComparator orderByComparator)
           
 AssetVocabulary findByGroupId_Last(long groupId, OrderByComparator orderByComparator)
           
 AssetVocabulary[] findByGroupId_PrevAndNext(long vocabularyId, long groupId, OrderByComparator orderByComparator)
           
 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, OrderByComparator orderByComparator)
           
 AssetVocabulary findByPrimaryKey(long vocabularyId)
           
 AssetVocabulary findByUuid_First(java.lang.String uuid, OrderByComparator orderByComparator)
           
 AssetVocabulary findByUUID_G(java.lang.String uuid, long groupId)
           
 AssetVocabulary findByUuid_Last(java.lang.String uuid, OrderByComparator orderByComparator)
           
 AssetVocabulary[] findByUuid_PrevAndNext(long vocabularyId, java.lang.String uuid, OrderByComparator orderByComparator)
           
 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, OrderByComparator orderByComparator)
           
 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, clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, remove, setDataSource, 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 SystemException,
                              NoSuchVocabularyException
Throws:
SystemException
NoSuchVocabularyException

updateImpl

AssetVocabulary updateImpl(AssetVocabulary assetVocabulary,
                           boolean merge)
                           throws SystemException
Throws:
SystemException

findByPrimaryKey

AssetVocabulary findByPrimaryKey(long vocabularyId)
                                 throws SystemException,
                                        NoSuchVocabularyException
Throws:
SystemException
NoSuchVocabularyException

fetchByPrimaryKey

AssetVocabulary fetchByPrimaryKey(long vocabularyId)
                                  throws SystemException
Throws:
SystemException

findByUuid

java.util.List<AssetVocabulary> findByUuid(java.lang.String uuid)
                                           throws SystemException
Throws:
SystemException

findByUuid

java.util.List<AssetVocabulary> findByUuid(java.lang.String uuid,
                                           int start,
                                           int end)
                                           throws SystemException
Throws:
SystemException

findByUuid

java.util.List<AssetVocabulary> findByUuid(java.lang.String uuid,
                                           int start,
                                           int end,
                                           OrderByComparator orderByComparator)
                                           throws SystemException
Throws:
SystemException

findByUuid_First

AssetVocabulary findByUuid_First(java.lang.String uuid,
                                 OrderByComparator orderByComparator)
                                 throws SystemException,
                                        NoSuchVocabularyException
Throws:
SystemException
NoSuchVocabularyException

findByUuid_Last

AssetVocabulary findByUuid_Last(java.lang.String uuid,
                                OrderByComparator orderByComparator)
                                throws SystemException,
                                       NoSuchVocabularyException
Throws:
SystemException
NoSuchVocabularyException

findByUuid_PrevAndNext

AssetVocabulary[] findByUuid_PrevAndNext(long vocabularyId,
                                         java.lang.String uuid,
                                         OrderByComparator orderByComparator)
                                         throws SystemException,
                                                NoSuchVocabularyException
Throws:
SystemException
NoSuchVocabularyException

findByUUID_G

AssetVocabulary findByUUID_G(java.lang.String uuid,
                             long groupId)
                             throws SystemException,
                                    NoSuchVocabularyException
Throws:
SystemException
NoSuchVocabularyException

fetchByUUID_G

AssetVocabulary fetchByUUID_G(java.lang.String uuid,
                              long groupId)
                              throws SystemException
Throws:
SystemException

fetchByUUID_G

AssetVocabulary fetchByUUID_G(java.lang.String uuid,
                              long groupId,
                              boolean retrieveFromCache)
                              throws SystemException
Throws:
SystemException

findByGroupId

java.util.List<AssetVocabulary> findByGroupId(long groupId)
                                              throws SystemException
Throws:
SystemException

findByGroupId

java.util.List<AssetVocabulary> findByGroupId(long groupId,
                                              int start,
                                              int end)
                                              throws SystemException
Throws:
SystemException

findByGroupId

java.util.List<AssetVocabulary> findByGroupId(long groupId,
                                              int start,
                                              int end,
                                              OrderByComparator orderByComparator)
                                              throws SystemException
Throws:
SystemException

findByGroupId_First

AssetVocabulary findByGroupId_First(long groupId,
                                    OrderByComparator orderByComparator)
                                    throws SystemException,
                                           NoSuchVocabularyException
Throws:
SystemException
NoSuchVocabularyException

findByGroupId_Last

AssetVocabulary findByGroupId_Last(long groupId,
                                   OrderByComparator orderByComparator)
                                   throws SystemException,
                                          NoSuchVocabularyException
Throws:
SystemException
NoSuchVocabularyException

findByGroupId_PrevAndNext

AssetVocabulary[] findByGroupId_PrevAndNext(long vocabularyId,
                                            long groupId,
                                            OrderByComparator orderByComparator)
                                            throws SystemException,
                                                   NoSuchVocabularyException
Throws:
SystemException
NoSuchVocabularyException

filterFindByGroupId

java.util.List<AssetVocabulary> filterFindByGroupId(long groupId)
                                                    throws SystemException
Throws:
SystemException

filterFindByGroupId

java.util.List<AssetVocabulary> filterFindByGroupId(long groupId,
                                                    int start,
                                                    int end)
                                                    throws SystemException
Throws:
SystemException

filterFindByGroupId

java.util.List<AssetVocabulary> filterFindByGroupId(long groupId,
                                                    int start,
                                                    int end,
                                                    OrderByComparator orderByComparator)
                                                    throws SystemException
Throws:
SystemException

findByCompanyId

java.util.List<AssetVocabulary> findByCompanyId(long companyId)
                                                throws SystemException
Throws:
SystemException

findByCompanyId

java.util.List<AssetVocabulary> findByCompanyId(long companyId,
                                                int start,
                                                int end)
                                                throws SystemException
Throws:
SystemException

findByCompanyId

java.util.List<AssetVocabulary> findByCompanyId(long companyId,
                                                int start,
                                                int end,
                                                OrderByComparator orderByComparator)
                                                throws SystemException
Throws:
SystemException

findByCompanyId_First

AssetVocabulary findByCompanyId_First(long companyId,
                                      OrderByComparator orderByComparator)
                                      throws SystemException,
                                             NoSuchVocabularyException
Throws:
SystemException
NoSuchVocabularyException

findByCompanyId_Last

AssetVocabulary findByCompanyId_Last(long companyId,
                                     OrderByComparator orderByComparator)
                                     throws SystemException,
                                            NoSuchVocabularyException
Throws:
SystemException
NoSuchVocabularyException

findByCompanyId_PrevAndNext

AssetVocabulary[] findByCompanyId_PrevAndNext(long vocabularyId,
                                              long companyId,
                                              OrderByComparator orderByComparator)
                                              throws SystemException,
                                                     NoSuchVocabularyException
Throws:
SystemException
NoSuchVocabularyException

findByG_N

AssetVocabulary findByG_N(long groupId,
                          java.lang.String name)
                          throws SystemException,
                                 NoSuchVocabularyException
Throws:
SystemException
NoSuchVocabularyException

fetchByG_N

AssetVocabulary fetchByG_N(long groupId,
                           java.lang.String name)
                           throws SystemException
Throws:
SystemException

fetchByG_N

AssetVocabulary fetchByG_N(long groupId,
                           java.lang.String name,
                           boolean retrieveFromCache)
                           throws SystemException
Throws:
SystemException

findAll

java.util.List<AssetVocabulary> findAll()
                                        throws SystemException
Throws:
SystemException

findAll

java.util.List<AssetVocabulary> findAll(int start,
                                        int end)
                                        throws SystemException
Throws:
SystemException

findAll

java.util.List<AssetVocabulary> findAll(int start,
                                        int end,
                                        OrderByComparator orderByComparator)
                                        throws SystemException
Throws:
SystemException

removeByUuid

void removeByUuid(java.lang.String uuid)
                  throws SystemException
Throws:
SystemException

removeByUUID_G

void removeByUUID_G(java.lang.String uuid,
                    long groupId)
                    throws SystemException,
                           NoSuchVocabularyException
Throws:
SystemException
NoSuchVocabularyException

removeByGroupId

void removeByGroupId(long groupId)
                     throws SystemException
Throws:
SystemException

removeByCompanyId

void removeByCompanyId(long companyId)
                       throws SystemException
Throws:
SystemException

removeByG_N

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

removeAll

void removeAll()
               throws SystemException
Throws:
SystemException

countByUuid

int countByUuid(java.lang.String uuid)
                throws SystemException
Throws:
SystemException

countByUUID_G

int countByUUID_G(java.lang.String uuid,
                  long groupId)
                  throws SystemException
Throws:
SystemException

countByGroupId

int countByGroupId(long groupId)
                   throws SystemException
Throws:
SystemException

filterCountByGroupId

int filterCountByGroupId(long groupId)
                         throws SystemException
Throws:
SystemException

countByCompanyId

int countByCompanyId(long companyId)
                     throws SystemException
Throws:
SystemException

countByG_N

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

filterCountByG_N

int filterCountByG_N(long groupId,
                     java.lang.String name)
                     throws SystemException
Throws:
SystemException

countAll

int countAll()
             throws SystemException
Throws:
SystemException