com.liferay.portlet.tags.service
Interface TagsVocabularyLocalService


@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface TagsVocabularyLocalService

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.TagsVocabularyLocalServiceImpl. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.

Author:
Brian Wing Shun Chan
See Also:
TagsVocabularyLocalServiceUtil

Method Summary
 TagsVocabulary addTagsVocabulary(TagsVocabulary tagsVocabulary)
           
 TagsVocabulary addVocabulary(long userId, java.lang.String name, boolean folksonomy, ServiceContext serviceContext)
           
 void addVocabularyResources(TagsVocabulary vocabulary, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addVocabularyResources(TagsVocabulary vocabulary, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 TagsVocabulary createTagsVocabulary(long vocabularyId)
           
 void deleteTagsVocabulary(long vocabularyId)
           
 void deleteTagsVocabulary(TagsVocabulary tagsVocabulary)
           
 void deleteVocabulary(long vocabularyId)
           
 void deleteVocabulary(TagsVocabulary vocabulary)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 java.util.List<TagsVocabulary> getCompanyVocabularies(long companyId, boolean folksonomy)
           
 java.util.List<TagsVocabulary> getGroupVocabularies(long groupId, boolean folksonomy)
           
 TagsVocabulary getGroupVocabulary(long groupId, java.lang.String name)
           
 java.util.List<TagsVocabulary> getTagsVocabularies(int start, int end)
           
 int getTagsVocabulariesCount()
           
 TagsVocabulary getTagsVocabulary(long vocabularyId)
           
 TagsVocabulary getVocabulary(long vocabularyId)
           
 TagsVocabulary updateTagsVocabulary(TagsVocabulary tagsVocabulary)
           
 TagsVocabulary updateVocabulary(long vocabularyId, java.lang.String name, boolean folksonomy)
           
 

Method Detail

addTagsVocabulary

TagsVocabulary addTagsVocabulary(TagsVocabulary tagsVocabulary)
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

createTagsVocabulary

TagsVocabulary createTagsVocabulary(long vocabularyId)

deleteTagsVocabulary

void deleteTagsVocabulary(long vocabularyId)
                          throws com.liferay.portal.SystemException,
                                 com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteTagsVocabulary

void deleteTagsVocabulary(TagsVocabulary tagsVocabulary)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                              int start,
                                              int end)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getTagsVocabulary

@Transactional(propagation=SUPPORTS,
               readOnly=true)
TagsVocabulary getTagsVocabulary(long vocabularyId)
                                 throws com.liferay.portal.SystemException,
                                        com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getTagsVocabularies

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<TagsVocabulary> getTagsVocabularies(int start,
                                                                 int end)
                                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getTagsVocabulariesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getTagsVocabulariesCount()
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateTagsVocabulary

TagsVocabulary updateTagsVocabulary(TagsVocabulary tagsVocabulary)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addVocabulary

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

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

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

void deleteVocabulary(long vocabularyId)
                      throws com.liferay.portal.PortalException,
                             com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteVocabulary

void deleteVocabulary(TagsVocabulary vocabulary)
                      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.SystemException
Throws:
com.liferay.portal.SystemException

getGroupVocabularies

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<TagsVocabulary> getGroupVocabularies(long groupId,
                                                                  boolean folksonomy)
                                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getGroupVocabulary

@Transactional(propagation=SUPPORTS,
               readOnly=true)
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

@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