com.liferay.portlet.tags.service
Class TagsVocabularyLocalServiceUtil
java.lang.Object
com.liferay.portlet.tags.service.TagsVocabularyLocalServiceUtil
public class TagsVocabularyLocalServiceUtil
- extends java.lang.Object
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class provides static methods for the
TagsVocabularyLocalService
bean. The static methods of
this class calls the same methods of the bean instance. It's convenient to be
able to just write one line to call a method on a bean instead of writing a
lookup call and a method call.
- Author:
- Brian Wing Shun Chan
- See Also:
TagsVocabularyLocalService
- Generated:
Method Summary |
static TagsVocabulary |
addTagsVocabulary(TagsVocabulary tagsVocabulary)
|
static TagsVocabulary |
addVocabulary(long userId,
java.lang.String name,
boolean folksonomy,
ServiceContext serviceContext)
|
static void |
addVocabularyResources(TagsVocabulary vocabulary,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static void |
addVocabularyResources(TagsVocabulary vocabulary,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
static TagsVocabulary |
createTagsVocabulary(long vocabularyId)
|
static void |
deleteTagsVocabulary(long vocabularyId)
|
static void |
deleteTagsVocabulary(TagsVocabulary tagsVocabulary)
|
static void |
deleteVocabulary(long vocabularyId)
|
static void |
deleteVocabulary(TagsVocabulary vocabulary)
|
static java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
static java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static int |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static java.util.List<TagsVocabulary> |
getCompanyVocabularies(long companyId,
boolean folksonomy)
|
static java.util.List<TagsVocabulary> |
getGroupVocabularies(long groupId,
boolean folksonomy)
|
static TagsVocabulary |
getGroupVocabulary(long groupId,
java.lang.String name)
|
static TagsVocabularyLocalService |
getService()
|
static java.util.List<TagsVocabulary> |
getTagsVocabularies(int start,
int end)
|
static int |
getTagsVocabulariesCount()
|
static TagsVocabulary |
getTagsVocabulary(long vocabularyId)
|
static TagsVocabulary |
getVocabulary(long vocabularyId)
|
void |
setService(TagsVocabularyLocalService service)
|
static TagsVocabulary |
updateTagsVocabulary(TagsVocabulary tagsVocabulary)
|
static TagsVocabulary |
updateTagsVocabulary(TagsVocabulary tagsVocabulary,
boolean merge)
|
static TagsVocabulary |
updateVocabulary(long vocabularyId,
java.lang.String name,
boolean folksonomy)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TagsVocabularyLocalServiceUtil
public TagsVocabularyLocalServiceUtil()
addTagsVocabulary
public static TagsVocabulary addTagsVocabulary(TagsVocabulary tagsVocabulary)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
createTagsVocabulary
public static TagsVocabulary createTagsVocabulary(long vocabularyId)
deleteTagsVocabulary
public static void deleteTagsVocabulary(long vocabularyId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteTagsVocabulary
public static void deleteTagsVocabulary(TagsVocabulary tagsVocabulary)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQueryCount
public static int dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getTagsVocabulary
public static TagsVocabulary getTagsVocabulary(long vocabularyId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getTagsVocabularies
public static java.util.List<TagsVocabulary> getTagsVocabularies(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getTagsVocabulariesCount
public static int getTagsVocabulariesCount()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateTagsVocabulary
public static TagsVocabulary updateTagsVocabulary(TagsVocabulary tagsVocabulary)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateTagsVocabulary
public static TagsVocabulary updateTagsVocabulary(TagsVocabulary tagsVocabulary,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addVocabulary
public static TagsVocabulary addVocabulary(long userId,
java.lang.String name,
boolean folksonomy,
ServiceContext serviceContext)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addVocabularyResources
public static void addVocabularyResources(TagsVocabulary vocabulary,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addVocabularyResources
public static void addVocabularyResources(TagsVocabulary vocabulary,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteVocabulary
public static void deleteVocabulary(long vocabularyId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteVocabulary
public static void deleteVocabulary(TagsVocabulary vocabulary)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getCompanyVocabularies
public static java.util.List<TagsVocabulary> getCompanyVocabularies(long companyId,
boolean folksonomy)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupVocabularies
public static java.util.List<TagsVocabulary> getGroupVocabularies(long groupId,
boolean folksonomy)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getGroupVocabulary
public static TagsVocabulary getGroupVocabulary(long groupId,
java.lang.String name)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getVocabulary
public static TagsVocabulary getVocabulary(long vocabularyId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateVocabulary
public static TagsVocabulary updateVocabulary(long vocabularyId,
java.lang.String name,
boolean folksonomy)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getService
public static TagsVocabularyLocalService getService()
setService
public void setService(TagsVocabularyLocalService service)