Liferay 6.0.3

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

All Superinterfaces:
BasePersistence<AssetVocabulary>
All Known Implementing Classes:
AssetVocabularyPersistenceImpl

public interface AssetVocabularyPersistence
extends BasePersistence<AssetVocabulary>

See Also:
AssetVocabularyPersistenceImpl, AssetVocabularyUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Method Summary
 void cacheResult(AssetVocabulary assetVocabulary)
           
 void cacheResult(List<AssetVocabulary> assetVocabularies)
           
 int countAll()
           
 int countByCompanyId(long companyId)
           
 int countByG_N(long groupId, String name)
           
 int countByGroupId(long groupId)
           
 int countByUUID_G(String uuid, long groupId)
           
 int countByUuid(String uuid)
           
 AssetVocabulary create(long vocabularyId)
           
 AssetVocabulary fetchByG_N(long groupId, String name)
           
 AssetVocabulary fetchByG_N(long groupId, String name, boolean retrieveFromCache)
           
 AssetVocabulary fetchByPrimaryKey(long vocabularyId)
           
 AssetVocabulary fetchByUUID_G(String uuid, long groupId)
           
 AssetVocabulary fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache)
           
 int filterCountByG_N(long groupId, String name)
           
 int filterCountByGroupId(long groupId)
           
 List<AssetVocabulary> filterFindByGroupId(long groupId)
           
 List<AssetVocabulary> filterFindByGroupId(long groupId, int start, int end)
           
 List<AssetVocabulary> filterFindByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
           
 List<AssetVocabulary> findAll()
           
 List<AssetVocabulary> findAll(int start, int end)
           
 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)
           
 List<AssetVocabulary> findByCompanyId(long companyId)
           
 List<AssetVocabulary> findByCompanyId(long companyId, int start, int end)
           
 List<AssetVocabulary> findByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator)
           
 AssetVocabulary findByG_N(long groupId, 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)
           
 List<AssetVocabulary> findByGroupId(long groupId)
           
 List<AssetVocabulary> findByGroupId(long groupId, int start, int end)
           
 List<AssetVocabulary> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
           
 AssetVocabulary findByPrimaryKey(long vocabularyId)
           
 AssetVocabulary findByUuid_First(String uuid, OrderByComparator orderByComparator)
           
 AssetVocabulary findByUUID_G(String uuid, long groupId)
           
 AssetVocabulary findByUuid_Last(String uuid, OrderByComparator orderByComparator)
           
 AssetVocabulary[] findByUuid_PrevAndNext(long vocabularyId, String uuid, OrderByComparator orderByComparator)
           
 List<AssetVocabulary> findByUuid(String uuid)
           
 List<AssetVocabulary> findByUuid(String uuid, int start, int end)
           
 List<AssetVocabulary> findByUuid(String uuid, int start, int end, OrderByComparator orderByComparator)
           
 AssetVocabulary remove(long vocabularyId)
           
 void removeAll()
           
 void removeByCompanyId(long companyId)
           
 void removeByG_N(long groupId, String name)
           
 void removeByGroupId(long groupId)
           
 void removeByUUID_G(String uuid, long groupId)
           
 void removeByUuid(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, update
 

Method Detail

cacheResult

void cacheResult(AssetVocabulary assetVocabulary)

cacheResult

void cacheResult(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

List<AssetVocabulary> findByUuid(String uuid)
                                 throws SystemException
Throws:
SystemException

findByUuid

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

findByUuid

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

findByUuid_First

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

findByUuid_Last

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

findByUuid_PrevAndNext

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

findByUUID_G

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

fetchByUUID_G

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

fetchByUUID_G

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

findByGroupId

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

findByGroupId

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

findByGroupId

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

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

filterFindByGroupId

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

filterFindByGroupId

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

findByCompanyId

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

findByCompanyId

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

findByCompanyId

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,
                          String name)
                          throws SystemException,
                                 NoSuchVocabularyException
Throws:
SystemException
NoSuchVocabularyException

fetchByG_N

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

fetchByG_N

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

findAll

List<AssetVocabulary> findAll()
                              throws SystemException
Throws:
SystemException

findAll

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

findAll

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

removeByUuid

void removeByUuid(String uuid)
                  throws SystemException
Throws:
SystemException

removeByUUID_G

void removeByUUID_G(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,
                 String name)
                 throws SystemException,
                        NoSuchVocabularyException
Throws:
SystemException
NoSuchVocabularyException

removeAll

void removeAll()
               throws SystemException
Throws:
SystemException

countByUuid

int countByUuid(String uuid)
                throws SystemException
Throws:
SystemException

countByUUID_G

int countByUUID_G(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,
               String name)
               throws SystemException
Throws:
SystemException

filterCountByG_N

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

countAll

int countAll()
             throws SystemException
Throws:
SystemException

Liferay 6.0.3