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

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

public class TagsEntryServiceImpl
extends PrincipalBean
implements com.liferay.portlet.tags.service.TagsEntryService

View Source

Author:
Brian Wing Shun Chan

Field Summary
 
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 getEntries(java.lang.String className, long classPK)
           
 java.util.List search(long companyId, java.lang.String name, java.lang.String[] properties)
           
 java.util.List 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.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
Specified by:
addEntry in interface com.liferay.portlet.tags.service.TagsEntryService
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
Specified by:
addEntry in interface com.liferay.portlet.tags.service.TagsEntryService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteEntry

public void deleteEntry(long entryId)
                 throws com.liferay.portal.PortalException,
                        com.liferay.portal.SystemException
Specified by:
deleteEntry in interface com.liferay.portlet.tags.service.TagsEntryService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getEntries

public java.util.List getEntries(java.lang.String className,
                                 long classPK)
                          throws com.liferay.portal.PortalException,
                                 com.liferay.portal.SystemException
Specified by:
getEntries in interface com.liferay.portlet.tags.service.TagsEntryService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

search

public java.util.List search(long companyId,
                             java.lang.String name,
                             java.lang.String[] properties)
                      throws com.liferay.portal.SystemException
Specified by:
search in interface com.liferay.portlet.tags.service.TagsEntryService
Throws:
com.liferay.portal.SystemException

search

public java.util.List search(long companyId,
                             java.lang.String name,
                             java.lang.String[] properties,
                             int begin,
                             int end)
                      throws com.liferay.portal.SystemException
Specified by:
search in interface com.liferay.portlet.tags.service.TagsEntryService
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
Specified by:
searchAutocomplete in interface com.liferay.portlet.tags.service.TagsEntryService
Throws:
com.liferay.portal.SystemException

searchCount

public int searchCount(long companyId,
                       java.lang.String name,
                       java.lang.String[] properties)
                throws com.liferay.portal.SystemException
Specified by:
searchCount in interface com.liferay.portlet.tags.service.TagsEntryService
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
Specified by:
updateEntry in interface com.liferay.portlet.tags.service.TagsEntryService
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
Specified by:
updateEntry in interface com.liferay.portlet.tags.service.TagsEntryService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException