com.liferay.portlet.tags.service.impl
Class TagsEntryLocalServiceImpl

java.lang.Object
  extended by com.liferay.portlet.tags.service.base.TagsEntryLocalServiceBaseImpl
      extended by com.liferay.portlet.tags.service.impl.TagsEntryLocalServiceImpl
All Implemented Interfaces:
com.liferay.portlet.tags.service.TagsEntryLocalService

public class TagsEntryLocalServiceImpl
extends TagsEntryLocalServiceBaseImpl

View Source

Author:
Brian Wing Shun Chan, Alvaro del Castillo, Jorge Ferrer, Bruno Farache

Field Summary
 
Fields inherited from class com.liferay.portlet.tags.service.base.TagsEntryLocalServiceBaseImpl
counterLocalService, counterService, resourceFinder, resourceLocalService, resourcePersistence, resourceService, tagsAssetFinder, tagsAssetLocalService, tagsAssetPersistence, tagsAssetService, tagsEntryFinder, tagsEntryLocalService, tagsEntryPersistence, tagsEntryService, tagsPropertyFinder, tagsPropertyKeyFinder, tagsPropertyLocalService, tagsPropertyPersistence, tagsPropertyService, tagsSourceLocalService, tagsSourcePersistence, tagsSourceService, tagsVocabularyLocalService, tagsVocabularyPersistence, tagsVocabularyService, userFinder, userLocalService, userPersistence, userService
 
Constructor Summary
TagsEntryLocalServiceImpl()
           
 
Method Summary
 com.liferay.portlet.tags.model.TagsEntry addEntry(long userId, java.lang.String parentEntryName, java.lang.String name, java.lang.String vocabularyName, java.lang.String[] properties, com.liferay.portal.service.ServiceContext serviceContext)
           
 void addEntryResources(com.liferay.portlet.tags.model.TagsEntry entry, boolean addCommunityPermissions, boolean addGuestPermissions)
           
 void addEntryResources(com.liferay.portlet.tags.model.TagsEntry entry, java.lang.String[] communityPermissions, java.lang.String[] guestPermissions)
           
 void checkEntries(long userId, long groupId, java.lang.String[] names)
           
 void deleteEntry(long entryId)
           
 void deleteEntry(com.liferay.portlet.tags.model.TagsEntry entry)
           
 void deleteVocabularyEntries(long vocabularyId)
           
 java.util.List<com.liferay.portlet.tags.model.TagsEntry> getAssetEntries(long assetId, boolean folksonomy)
           
 java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries()
           
 java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(boolean folksonomy)
           
 java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(long classNameId, long classPK)
           
 java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(long classNameId, long classPK, boolean folksonomy)
           
 java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(long groupId, long classNameId, java.lang.String name)
           
 java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(long groupId, long classNameId, java.lang.String name, int start, int end)
           
 java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(java.lang.String className, long classPK)
           
 java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(java.lang.String className, long classPK, boolean folksonomy)
           
 int getEntriesSize(long groupId, long classNameId, java.lang.String name)
           
 com.liferay.portlet.tags.model.TagsEntry getEntry(long entryId)
           
 com.liferay.portlet.tags.model.TagsEntry getEntry(long groupId, java.lang.String name)
           
 com.liferay.portlet.tags.model.TagsEntry getEntry(long groupId, java.lang.String name, boolean folksonomy)
           
 long[] getEntryIds(long groupId, java.lang.String[] names)
           
 long[] getEntryIds(long groupId, java.lang.String[] names, boolean folksonomy)
           
 java.lang.String[] getEntryNames()
           
 java.lang.String[] getEntryNames(boolean folksonomy)
           
protected  java.lang.String[] getEntryNames(java.util.List<com.liferay.portlet.tags.model.TagsEntry> entries)
           
 java.lang.String[] getEntryNames(long classNameId, long classPK)
           
 java.lang.String[] getEntryNames(long classNameId, long classPK, boolean folksonomy)
           
 java.lang.String[] getEntryNames(java.lang.String className, long classPK)
           
 java.lang.String[] getEntryNames(java.lang.String className, long classPK, boolean folksonomy)
           
 java.util.List<com.liferay.portlet.tags.model.TagsEntry> getGroupVocabularyEntries(long groupId, java.lang.String vocabularyName)
           
 java.util.List<com.liferay.portlet.tags.model.TagsEntry> getGroupVocabularyEntries(long groupId, java.lang.String parentEntryName, java.lang.String vocabularyName)
           
 java.util.List<com.liferay.portlet.tags.model.TagsEntry> getGroupVocabularyRootEntries(long groupId, java.lang.String vocabularyName)
           
 boolean hasEntry(long groupId, java.lang.String name, boolean folksonomy)
           
 void mergeEntries(long fromEntryId, long toEntryId)
           
 com.liferay.portal.kernel.json.JSONArray search(long groupId, java.lang.String name, java.lang.String[] properties, int start, int end)
           
 com.liferay.portlet.tags.model.TagsEntry updateEntry(long userId, long entryId, java.lang.String parentEntryName, java.lang.String name, java.lang.String vocabularyName, java.lang.String[] properties)
           
protected  void validate(java.lang.String name)
           
 
Methods inherited from class com.liferay.portlet.tags.service.base.TagsEntryLocalServiceBaseImpl
addTagsEntry, createTagsEntry, deleteTagsEntry, deleteTagsEntry, dynamicQuery, dynamicQuery, getCounterLocalService, getCounterService, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getTagsAssetFinder, getTagsAssetLocalService, getTagsAssetPersistence, getTagsAssetService, getTagsEntries, getTagsEntriesCount, getTagsEntry, getTagsEntryFinder, getTagsEntryLocalService, getTagsEntryPersistence, getTagsEntryService, getTagsPropertyFinder, getTagsPropertyKeyFinder, getTagsPropertyLocalService, getTagsPropertyPersistence, getTagsPropertyService, getTagsSourceLocalService, getTagsSourcePersistence, getTagsSourceService, getTagsVocabularyLocalService, getTagsVocabularyPersistence, getTagsVocabularyService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, setCounterLocalService, setCounterService, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setTagsAssetFinder, setTagsAssetLocalService, setTagsAssetPersistence, setTagsAssetService, setTagsEntryFinder, setTagsEntryLocalService, setTagsEntryPersistence, setTagsEntryService, setTagsPropertyFinder, setTagsPropertyKeyFinder, setTagsPropertyLocalService, setTagsPropertyPersistence, setTagsPropertyService, setTagsSourceLocalService, setTagsSourcePersistence, setTagsSourceService, setTagsVocabularyLocalService, setTagsVocabularyPersistence, setTagsVocabularyService, setUserFinder, setUserLocalService, setUserPersistence, setUserService, updateTagsEntry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TagsEntryLocalServiceImpl

public TagsEntryLocalServiceImpl()
Method Detail

addEntry

public com.liferay.portlet.tags.model.TagsEntry addEntry(long userId,
                                                         java.lang.String parentEntryName,
                                                         java.lang.String name,
                                                         java.lang.String vocabularyName,
                                                         java.lang.String[] properties,
                                                         com.liferay.portal.service.ServiceContext serviceContext)
                                                  throws com.liferay.portal.PortalException,
                                                         com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addEntryResources

public void addEntryResources(com.liferay.portlet.tags.model.TagsEntry entry,
                              boolean addCommunityPermissions,
                              boolean addGuestPermissions)
                       throws com.liferay.portal.PortalException,
                              com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addEntryResources

public void addEntryResources(com.liferay.portlet.tags.model.TagsEntry entry,
                              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

checkEntries

public void checkEntries(long userId,
                         long groupId,
                         java.lang.String[] names)
                  throws com.liferay.portal.PortalException,
                         com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteEntry

public void deleteEntry(long entryId)
                 throws com.liferay.portal.PortalException,
                        com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteEntry

public void deleteEntry(com.liferay.portlet.tags.model.TagsEntry entry)
                 throws com.liferay.portal.PortalException,
                        com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteVocabularyEntries

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

hasEntry

public boolean hasEntry(long groupId,
                        java.lang.String name,
                        boolean folksonomy)
                 throws com.liferay.portal.PortalException,
                        com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getAssetEntries

public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getAssetEntries(long assetId,
                                                                                boolean folksonomy)
                                                                         throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getEntries

public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries()
                                                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getEntries

public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(boolean folksonomy)
                                                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getEntries

public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(java.lang.String className,
                                                                           long classPK)
                                                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getEntries

public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(long classNameId,
                                                                           long classPK)
                                                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getEntries

public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(java.lang.String className,
                                                                           long classPK,
                                                                           boolean folksonomy)
                                                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getEntries

public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(long classNameId,
                                                                           long classPK,
                                                                           boolean folksonomy)
                                                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getEntries

public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(long groupId,
                                                                           long classNameId,
                                                                           java.lang.String name)
                                                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getEntries

public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(long groupId,
                                                                           long classNameId,
                                                                           java.lang.String name,
                                                                           int start,
                                                                           int end)
                                                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getEntriesSize

public int getEntriesSize(long groupId,
                          long classNameId,
                          java.lang.String name)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getEntry

public com.liferay.portlet.tags.model.TagsEntry getEntry(long entryId)
                                                  throws com.liferay.portal.PortalException,
                                                         com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getEntry

public com.liferay.portlet.tags.model.TagsEntry getEntry(long groupId,
                                                         java.lang.String name)
                                                  throws com.liferay.portal.PortalException,
                                                         com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getEntry

public com.liferay.portlet.tags.model.TagsEntry getEntry(long groupId,
                                                         java.lang.String name,
                                                         boolean folksonomy)
                                                  throws com.liferay.portal.PortalException,
                                                         com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getEntryIds

public long[] getEntryIds(long groupId,
                          java.lang.String[] names)
                   throws com.liferay.portal.PortalException,
                          com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getEntryIds

public long[] getEntryIds(long groupId,
                          java.lang.String[] names,
                          boolean folksonomy)
                   throws com.liferay.portal.PortalException,
                          com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getEntryNames

public java.lang.String[] getEntryNames()
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getEntryNames

public java.lang.String[] getEntryNames(java.lang.String className,
                                        long classPK)
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getEntryNames

public java.lang.String[] getEntryNames(long classNameId,
                                        long classPK)
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getEntryNames

public java.lang.String[] getEntryNames(boolean folksonomy)
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getEntryNames

public java.lang.String[] getEntryNames(java.lang.String className,
                                        long classPK,
                                        boolean folksonomy)
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getEntryNames

public java.lang.String[] getEntryNames(long classNameId,
                                        long classPK,
                                        boolean folksonomy)
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getGroupVocabularyEntries

public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getGroupVocabularyEntries(long groupId,
                                                                                          java.lang.String vocabularyName)
                                                                                   throws com.liferay.portal.PortalException,
                                                                                          com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getGroupVocabularyEntries

public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getGroupVocabularyEntries(long groupId,
                                                                                          java.lang.String parentEntryName,
                                                                                          java.lang.String vocabularyName)
                                                                                   throws com.liferay.portal.PortalException,
                                                                                          com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getGroupVocabularyRootEntries

public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getGroupVocabularyRootEntries(long groupId,
                                                                                              java.lang.String vocabularyName)
                                                                                       throws com.liferay.portal.PortalException,
                                                                                              com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

mergeEntries

public void mergeEntries(long fromEntryId,
                         long toEntryId)
                  throws com.liferay.portal.PortalException,
                         com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

search

public com.liferay.portal.kernel.json.JSONArray search(long groupId,
                                                       java.lang.String name,
                                                       java.lang.String[] properties,
                                                       int start,
                                                       int end)
                                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateEntry

public com.liferay.portlet.tags.model.TagsEntry updateEntry(long userId,
                                                            long entryId,
                                                            java.lang.String parentEntryName,
                                                            java.lang.String name,
                                                            java.lang.String vocabularyName,
                                                            java.lang.String[] properties)
                                                     throws com.liferay.portal.PortalException,
                                                            com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getEntryNames

protected java.lang.String[] getEntryNames(java.util.List<com.liferay.portlet.tags.model.TagsEntry> entries)

validate

protected void validate(java.lang.String name)
                 throws com.liferay.portal.PortalException
Throws:
com.liferay.portal.PortalException