com.liferay.portlet.tags.service.persistence
Class TagsVocabularyUtil
java.lang.Object
com.liferay.portlet.tags.service.persistence.TagsVocabularyUtil
public class TagsVocabularyUtil
- extends java.lang.Object
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
static int |
countAll()
|
static int |
countByC_F(long companyId,
boolean folksonomy)
|
static int |
countByG_F(long groupId,
boolean folksonomy)
|
static int |
countByG_N(long groupId,
java.lang.String name)
|
static TagsVocabulary |
create(long vocabularyId)
|
static TagsVocabulary |
fetchByG_N(long groupId,
java.lang.String name)
|
static TagsVocabulary |
fetchByPrimaryKey(long vocabularyId)
|
static java.util.List<TagsVocabulary> |
findAll()
|
static java.util.List<TagsVocabulary> |
findAll(int start,
int end)
|
static java.util.List<TagsVocabulary> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static TagsVocabulary |
findByC_F_First(long companyId,
boolean folksonomy,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static TagsVocabulary |
findByC_F_Last(long companyId,
boolean folksonomy,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static TagsVocabulary[] |
findByC_F_PrevAndNext(long vocabularyId,
long companyId,
boolean folksonomy,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<TagsVocabulary> |
findByC_F(long companyId,
boolean folksonomy)
|
static java.util.List<TagsVocabulary> |
findByC_F(long companyId,
boolean folksonomy,
int start,
int end)
|
static java.util.List<TagsVocabulary> |
findByC_F(long companyId,
boolean folksonomy,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static TagsVocabulary |
findByG_F_First(long groupId,
boolean folksonomy,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static TagsVocabulary |
findByG_F_Last(long groupId,
boolean folksonomy,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static TagsVocabulary[] |
findByG_F_PrevAndNext(long vocabularyId,
long groupId,
boolean folksonomy,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static java.util.List<TagsVocabulary> |
findByG_F(long groupId,
boolean folksonomy)
|
static java.util.List<TagsVocabulary> |
findByG_F(long groupId,
boolean folksonomy,
int start,
int end)
|
static java.util.List<TagsVocabulary> |
findByG_F(long groupId,
boolean folksonomy,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
static TagsVocabulary |
findByG_N(long groupId,
java.lang.String name)
|
static TagsVocabulary |
findByPrimaryKey(long vocabularyId)
|
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 TagsVocabularyPersistence |
getPersistence()
|
static TagsVocabulary |
remove(long vocabularyId)
|
static TagsVocabulary |
remove(TagsVocabulary tagsVocabulary)
|
static void |
removeAll()
|
static void |
removeByC_F(long companyId,
boolean folksonomy)
|
static void |
removeByG_F(long groupId,
boolean folksonomy)
|
static void |
removeByG_N(long groupId,
java.lang.String name)
|
void |
setPersistence(TagsVocabularyPersistence persistence)
|
static TagsVocabulary |
update(TagsVocabulary tagsVocabulary)
Deprecated. Use update(TagsVocabulary tagsVocabulary, boolean merge) . |
static TagsVocabulary |
update(TagsVocabulary tagsVocabulary,
boolean merge)
Add, update, or merge, the entity. |
static TagsVocabulary |
updateImpl(TagsVocabulary tagsVocabulary,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TagsVocabularyUtil
public TagsVocabularyUtil()
create
public static TagsVocabulary create(long vocabularyId)
remove
public static TagsVocabulary remove(long vocabularyId)
throws com.liferay.portal.SystemException,
NoSuchVocabularyException
- Throws:
com.liferay.portal.SystemException
NoSuchVocabularyException
remove
public static TagsVocabulary remove(TagsVocabulary tagsVocabulary)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
update
public static TagsVocabulary update(TagsVocabulary tagsVocabulary)
throws com.liferay.portal.SystemException
- Deprecated. Use
update(TagsVocabulary tagsVocabulary, boolean merge)
.
- Throws:
com.liferay.portal.SystemException
update
public static 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
public static TagsVocabulary updateImpl(TagsVocabulary tagsVocabulary,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByPrimaryKey
public static TagsVocabulary findByPrimaryKey(long vocabularyId)
throws com.liferay.portal.SystemException,
NoSuchVocabularyException
- Throws:
com.liferay.portal.SystemException
NoSuchVocabularyException
fetchByPrimaryKey
public static TagsVocabulary fetchByPrimaryKey(long vocabularyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_N
public static TagsVocabulary findByG_N(long groupId,
java.lang.String name)
throws com.liferay.portal.SystemException,
NoSuchVocabularyException
- Throws:
com.liferay.portal.SystemException
NoSuchVocabularyException
fetchByG_N
public static TagsVocabulary fetchByG_N(long groupId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_F
public static java.util.List<TagsVocabulary> findByG_F(long groupId,
boolean folksonomy)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByG_F
public static 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
public static 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
public static 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
public static 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
public static 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
public static java.util.List<TagsVocabulary> findByC_F(long companyId,
boolean folksonomy)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findByC_F
public static 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
public static 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
public static 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
public static 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
public static 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
public static 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
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.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<TagsVocabulary> findAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static java.util.List<TagsVocabulary> findAll(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
findAll
public static 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
public static void removeByG_N(long groupId,
java.lang.String name)
throws com.liferay.portal.SystemException,
NoSuchVocabularyException
- Throws:
com.liferay.portal.SystemException
NoSuchVocabularyException
removeByG_F
public static void removeByG_F(long groupId,
boolean folksonomy)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeByC_F
public static void removeByC_F(long companyId,
boolean folksonomy)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
removeAll
public static void removeAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByG_N
public static int countByG_N(long groupId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByG_F
public static int countByG_F(long groupId,
boolean folksonomy)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countByC_F
public static int countByC_F(long companyId,
boolean folksonomy)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
countAll
public static int countAll()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getPersistence
public static TagsVocabularyPersistence getPersistence()
setPersistence
public void setPersistence(TagsVocabularyPersistence persistence)