com.liferay.portlet.tags.service.persistence
Interface TagsVocabularyPersistence
- All Superinterfaces:
- BasePersistence
public interface TagsVocabularyPersistence
- extends BasePersistence
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
void |
cacheResult(java.util.List<TagsVocabulary> tagsVocabularies)
|
void |
cacheResult(TagsVocabulary tagsVocabulary)
|
void |
clearCache()
|
int |
countAll()
|
int |
countByC_F(long companyId,
boolean folksonomy)
|
int |
countByG_F(long groupId,
boolean folksonomy)
|
int |
countByG_N(long groupId,
java.lang.String name)
|
TagsVocabulary |
create(long vocabularyId)
|
TagsVocabulary |
fetchByG_N(long groupId,
java.lang.String name)
|
TagsVocabulary |
fetchByG_N(long groupId,
java.lang.String name,
boolean retrieveFromCache)
|
TagsVocabulary |
fetchByPrimaryKey(long vocabularyId)
|
java.util.List<TagsVocabulary> |
findAll()
|
java.util.List<TagsVocabulary> |
findAll(int start,
int end)
|
java.util.List<TagsVocabulary> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
TagsVocabulary |
findByC_F_First(long companyId,
boolean folksonomy,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
TagsVocabulary |
findByC_F_Last(long companyId,
boolean folksonomy,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
TagsVocabulary[] |
findByC_F_PrevAndNext(long vocabularyId,
long companyId,
boolean folksonomy,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<TagsVocabulary> |
findByC_F(long companyId,
boolean folksonomy)
|
java.util.List<TagsVocabulary> |
findByC_F(long companyId,
boolean folksonomy,
int start,
int end)
|
java.util.List<TagsVocabulary> |
findByC_F(long companyId,
boolean folksonomy,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
TagsVocabulary |
findByG_F_First(long groupId,
boolean folksonomy,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
TagsVocabulary |
findByG_F_Last(long groupId,
boolean folksonomy,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
TagsVocabulary[] |
findByG_F_PrevAndNext(long vocabularyId,
long groupId,
boolean folksonomy,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
java.util.List<TagsVocabulary> |
findByG_F(long groupId,
boolean folksonomy)
|
java.util.List<TagsVocabulary> |
findByG_F(long groupId,
boolean folksonomy,
int start,
int end)
|
java.util.List<TagsVocabulary> |
findByG_F(long groupId,
boolean folksonomy,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
TagsVocabulary |
findByG_N(long groupId,
java.lang.String name)
|
TagsVocabulary |
findByPrimaryKey(long vocabularyId)
|
java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
TagsVocabulary |
remove(long vocabularyId)
|
TagsVocabulary |
remove(TagsVocabulary tagsVocabulary)
|
void |
removeAll()
|
void |
removeByC_F(long companyId,
boolean folksonomy)
|
void |
removeByG_F(long groupId,
boolean folksonomy)
|
void |
removeByG_N(long groupId,
java.lang.String name)
|
TagsVocabulary |
update(TagsVocabulary tagsVocabulary)
Deprecated. Use update(TagsVocabulary tagsVocabulary, boolean merge) . |
TagsVocabulary |
update(TagsVocabulary tagsVocabulary,
boolean merge)
Add, update, or merge, the entity. |
TagsVocabulary |
updateImpl(TagsVocabulary tagsVocabulary,
boolean merge)
|
cacheResult
void cacheResult(TagsVocabulary tagsVocabulary)
cacheResult
void cacheResult(java.util.List<TagsVocabulary> tagsVocabularies)
clearCache
void clearCache()
- Specified by:
clearCache
in interface BasePersistence
create
TagsVocabulary create(long vocabularyId)
remove
TagsVocabulary remove(long vocabularyId)
throws com.liferay.portal.SystemException,
NoSuchVocabularyException
- Throws:
com.liferay.portal.SystemException
NoSuchVocabularyException
remove
TagsVocabulary remove(TagsVocabulary tagsVocabulary)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
TagsVocabulary update(TagsVocabulary tagsVocabulary)
throws com.liferay.portal.SystemException
- Deprecated. Use
update(TagsVocabulary tagsVocabulary, boolean merge)
.
- Throws:
com.liferay.portal.SystemException
update
TagsVocabulary update(TagsVocabulary tagsVocabulary,
boolean merge)
throws com.liferay.portal.SystemException
- Add, update, or merge, the entity. This method also calls the model
listeners to trigger the proper events associated with adding, deleting,
or updating an entity.
- Parameters:
tagsVocabulary
- the entity to add, update, or mergemerge
- boolean value for whether to merge the entity. The
default value is false. Setting merge to true is more
expensive and should only be true when tagsVocabulary is
transient. See LEP-5473 for a detailed discussion of this
method.
- Returns:
- true if the portlet can be displayed via Ajax
- Throws:
com.liferay.portal.SystemException
updateImpl
TagsVocabulary updateImpl(TagsVocabulary tagsVocabulary,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
TagsVocabulary findByPrimaryKey(long vocabularyId)
throws com.liferay.portal.SystemException,
NoSuchVocabularyException
- Throws:
com.liferay.portal.SystemException
NoSuchVocabularyException
fetchByPrimaryKey
TagsVocabulary fetchByPrimaryKey(long vocabularyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_N
TagsVocabulary findByG_N(long groupId,
java.lang.String name)
throws com.liferay.portal.SystemException,
NoSuchVocabularyException
- Throws:
com.liferay.portal.SystemException
NoSuchVocabularyException
fetchByG_N
TagsVocabulary fetchByG_N(long groupId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
fetchByG_N
TagsVocabulary fetchByG_N(long groupId,
java.lang.String name,
boolean retrieveFromCache)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_F
java.util.List<TagsVocabulary> findByG_F(long groupId,
boolean folksonomy)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_F
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
java.util.List<TagsVocabulary> findByG_F(long groupId,
boolean folksonomy,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_F_First
TagsVocabulary findByG_F_First(long groupId,
boolean folksonomy,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchVocabularyException
- Throws:
com.liferay.portal.SystemException
NoSuchVocabularyException
findByG_F_Last
TagsVocabulary findByG_F_Last(long groupId,
boolean folksonomy,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchVocabularyException
- Throws:
com.liferay.portal.SystemException
NoSuchVocabularyException
findByG_F_PrevAndNext
TagsVocabulary[] findByG_F_PrevAndNext(long vocabularyId,
long groupId,
boolean folksonomy,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchVocabularyException
- Throws:
com.liferay.portal.SystemException
NoSuchVocabularyException
findByC_F
java.util.List<TagsVocabulary> findByC_F(long companyId,
boolean folksonomy)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_F
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
java.util.List<TagsVocabulary> findByC_F(long companyId,
boolean folksonomy,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_F_First
TagsVocabulary findByC_F_First(long companyId,
boolean folksonomy,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchVocabularyException
- Throws:
com.liferay.portal.SystemException
NoSuchVocabularyException
findByC_F_Last
TagsVocabulary findByC_F_Last(long companyId,
boolean folksonomy,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchVocabularyException
- Throws:
com.liferay.portal.SystemException
NoSuchVocabularyException
findByC_F_PrevAndNext
TagsVocabulary[] findByC_F_PrevAndNext(long vocabularyId,
long companyId,
boolean folksonomy,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException,
NoSuchVocabularyException
- Throws:
com.liferay.portal.SystemException
NoSuchVocabularyException
findWithDynamicQuery
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
findWithDynamicQuery
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
findAll
java.util.List<TagsVocabulary> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<TagsVocabulary> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
java.util.List<TagsVocabulary> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByG_N
void removeByG_N(long groupId,
java.lang.String name)
throws com.liferay.portal.SystemException,
NoSuchVocabularyException
- Throws:
com.liferay.portal.SystemException
NoSuchVocabularyException
removeByG_F
void removeByG_F(long groupId,
boolean folksonomy)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByC_F
void removeByC_F(long companyId,
boolean folksonomy)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeAll
void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByG_N
int countByG_N(long groupId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByG_F
int countByG_F(long groupId,
boolean folksonomy)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByC_F
int countByC_F(long companyId,
boolean folksonomy)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException