com.liferay.portlet.tags.service
Interface TagsVocabularyService
@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface TagsVocabularyService
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This interface defines the service. The default implementation is
com.liferay.portlet.tags.service.impl.TagsVocabularyServiceImpl
.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
- Author:
- Brian Wing Shun Chan
- See Also:
TagsVocabularyServiceUtil
addVocabulary
TagsVocabulary addVocabulary(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
deleteVocabulary
void deleteVocabulary(long vocabularyId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getCompanyVocabularies
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<TagsVocabulary> getCompanyVocabularies(long companyId,
boolean folksonomy)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getGroupVocabularies
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<TagsVocabulary> getGroupVocabularies(long groupId,
boolean folksonomy)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getVocabulary
@Transactional(propagation=SUPPORTS,
readOnly=true)
TagsVocabulary getVocabulary(long vocabularyId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateVocabulary
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