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

java.lang.Object
  extended by com.liferay.portal.service.base.PrincipalBean
      extended by com.liferay.portlet.tags.service.base.TagsEntryServiceBaseImpl
          extended by com.liferay.portlet.tags.service.impl.TagsEntryServiceImpl
All Implemented Interfaces:
com.liferay.portlet.tags.service.TagsEntryService

public class TagsEntryServiceImpl
extends TagsEntryServiceBaseImpl

View Source

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

Field Summary
 
Fields inherited from class com.liferay.portlet.tags.service.base.TagsEntryServiceBaseImpl
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
 
Fields inherited from class com.liferay.portal.service.base.PrincipalBean
ANONYMOUS_NAMES, JRUN_ANONYMOUS, ORACLE_ANONYMOUS, SUN_ANONYMOUS, WEBLOGIC_ANONYMOUS
 
Constructor Summary
TagsEntryServiceImpl()
           
 
Method Summary
 com.liferay.portlet.tags.model.TagsEntry addEntry(java.lang.String parentEntryName, java.lang.String name, java.lang.String vocabularyName, java.lang.String[] properties, com.liferay.portal.service.ServiceContext serviceContext)
           
 void deleteEntry(long entryId)
           
protected  java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(java.util.List<com.liferay.portlet.tags.model.TagsEntry> entries)
           
 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(java.lang.String className, long classPK)
           
 com.liferay.portlet.tags.model.TagsEntry getEntry(long entryId)
           
 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)
           
 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 entryId, java.lang.String parentEntryName, java.lang.String name, java.lang.String vocabularyName, java.lang.String[] properties)
           
 
Methods inherited from class com.liferay.portlet.tags.service.base.TagsEntryServiceBaseImpl
getCounterLocalService, getCounterService, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getTagsAssetFinder, getTagsAssetLocalService, getTagsAssetPersistence, getTagsAssetService, getTagsEntryFinder, getTagsEntryLocalService, getTagsEntryPersistence, getTagsEntryService, getTagsPropertyFinder, getTagsPropertyKeyFinder, getTagsPropertyLocalService, getTagsPropertyPersistence, getTagsPropertyService, getTagsSourceLocalService, getTagsSourcePersistence, getTagsSourceService, getTagsVocabularyLocalService, getTagsVocabularyPersistence, getTagsVocabularyService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, 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
 
Methods inherited from class com.liferay.portal.service.base.PrincipalBean
getGuestOrUserId, getPermissionChecker, getUser, getUserId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TagsEntryServiceImpl

public TagsEntryServiceImpl()
Method Detail

addEntry

public com.liferay.portlet.tags.model.TagsEntry addEntry(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

deleteEntry

public void deleteEntry(long entryId)
                 throws com.liferay.portal.PortalException,
                        com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
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.PortalException,
                                                                           com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
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.PortalException,
                                                                           com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
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

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 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

getEntries

protected java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(java.util.List<com.liferay.portlet.tags.model.TagsEntry> entries)
                                                                       throws com.liferay.portal.PortalException
Throws:
com.liferay.portal.PortalException