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

java.lang.Object
  extended by com.liferay.portal.service.impl.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, org.springframework.beans.factory.InitializingBean

public class TagsEntryServiceImpl
extends TagsEntryServiceBaseImpl

View Source

Author:
Brian Wing Shun Chan

Field Summary
 
Fields inherited from class com.liferay.portlet.tags.service.base.TagsEntryServiceBaseImpl
counterLocalService, counterService, tagsAssetFinder, tagsAssetLocalService, tagsAssetPersistence, tagsAssetService, tagsEntryFinder, tagsEntryLocalService, tagsEntryPersistence, tagsPropertyFinder, tagsPropertyKeyFinder, tagsPropertyLocalService, tagsPropertyPersistence, tagsPropertyService, tagsSourceLocalService, tagsSourcePersistence, tagsSourceService, userFinder, userLocalService, userPersistence, userService
 
Fields inherited from class com.liferay.portal.service.impl.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 name)
           
 com.liferay.portlet.tags.model.TagsEntry addEntry(java.lang.String name, java.lang.String[] properties)
           
 void deleteEntry(long entryId)
           
 java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(long groupId, long companyId, long classNameId, java.lang.String name)
           
 java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(java.lang.String className, long classPK)
           
 void mergeEntries(long fromEntryId, long toEntryId)
           
 java.util.List<com.liferay.portlet.tags.model.TagsEntry> search(long companyId, java.lang.String name, java.lang.String[] properties)
           
 java.util.List<com.liferay.portlet.tags.model.TagsEntry> search(long companyId, java.lang.String name, java.lang.String[] properties, int begin, int end)
           
 com.liferay.portal.kernel.json.JSONArrayWrapper searchAutocomplete(long companyId, java.lang.String name, java.lang.String[] properties, int begin, int end)
           
 int searchCount(long companyId, java.lang.String name, java.lang.String[] properties)
           
 com.liferay.portlet.tags.model.TagsEntry updateEntry(long entryId, java.lang.String name)
           
 com.liferay.portlet.tags.model.TagsEntry updateEntry(long entryId, java.lang.String name, java.lang.String[] properties)
           
 
Methods inherited from class com.liferay.portlet.tags.service.base.TagsEntryServiceBaseImpl
afterPropertiesSet, getCounterLocalService, getCounterService, getTagsAssetFinder, getTagsAssetLocalService, getTagsAssetPersistence, getTagsAssetService, getTagsEntryFinder, getTagsEntryLocalService, getTagsEntryPersistence, getTagsPropertyFinder, getTagsPropertyKeyFinder, getTagsPropertyLocalService, getTagsPropertyPersistence, getTagsPropertyService, getTagsSourceLocalService, getTagsSourcePersistence, getTagsSourceService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, setCounterLocalService, setCounterService, setTagsAssetFinder, setTagsAssetLocalService, setTagsAssetPersistence, setTagsAssetService, setTagsEntryFinder, setTagsEntryLocalService, setTagsEntryPersistence, setTagsPropertyFinder, setTagsPropertyKeyFinder, setTagsPropertyLocalService, setTagsPropertyPersistence, setTagsPropertyService, setTagsSourceLocalService, setTagsSourcePersistence, setTagsSourceService, setUserFinder, setUserLocalService, setUserPersistence, setUserService
 
Methods inherited from class com.liferay.portal.service.impl.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 name)
                                                  throws com.liferay.portal.PortalException,
                                                         com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addEntry

public com.liferay.portlet.tags.model.TagsEntry addEntry(java.lang.String name,
                                                         java.lang.String[] properties)
                                                  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 companyId,
                                                                           long classNameId,
                                                                           java.lang.String name)
                                                                    throws com.liferay.portal.SystemException
Throws:
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 java.util.List<com.liferay.portlet.tags.model.TagsEntry> search(long companyId,
                                                                       java.lang.String name,
                                                                       java.lang.String[] properties)
                                                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

search

public java.util.List<com.liferay.portlet.tags.model.TagsEntry> search(long companyId,
                                                                       java.lang.String name,
                                                                       java.lang.String[] properties,
                                                                       int begin,
                                                                       int end)
                                                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

searchAutocomplete

public com.liferay.portal.kernel.json.JSONArrayWrapper searchAutocomplete(long companyId,
                                                                          java.lang.String name,
                                                                          java.lang.String[] properties,
                                                                          int begin,
                                                                          int end)
                                                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

searchCount

public int searchCount(long companyId,
                       java.lang.String name,
                       java.lang.String[] properties)
                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateEntry

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

updateEntry

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