com.liferay.portlet.tags.service
Interface TagsEntryService


public interface TagsEntryService

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

This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.

Author:
Brian Wing Shun Chan
See Also:
TagsEntryServiceUtil

Method Summary
 TagsEntry addEntry(java.lang.String name)
           
 TagsEntry addEntry(java.lang.String name, java.lang.String[] properties)
           
 void deleteEntry(long entryId)
           
 java.util.List<TagsEntry> getEntries(long groupId, long companyId, long classNameId, java.lang.String name)
           
 java.util.List<TagsEntry> getEntries(java.lang.String className, long classPK)
           
 void mergeEntries(long fromEntryId, long toEntryId)
           
 java.util.List<TagsEntry> search(long companyId, java.lang.String name, java.lang.String[] properties)
           
 java.util.List<TagsEntry> search(long companyId, java.lang.String name, java.lang.String[] properties, int start, int end)
           
 com.liferay.portal.kernel.json.JSONArray searchAutocomplete(long companyId, java.lang.String name, java.lang.String[] properties, int start, int end)
           
 int searchCount(long companyId, java.lang.String name, java.lang.String[] properties)
           
 TagsEntry updateEntry(long entryId, java.lang.String name)
           
 TagsEntry updateEntry(long entryId, java.lang.String name, java.lang.String[] properties)
           
 

Method Detail

addEntry

TagsEntry addEntry(java.lang.String name)
                   throws java.rmi.RemoteException,
                          com.liferay.portal.PortalException,
                          com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addEntry

TagsEntry addEntry(java.lang.String name,
                   java.lang.String[] properties)
                   throws java.rmi.RemoteException,
                          com.liferay.portal.PortalException,
                          com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteEntry

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

getEntries

java.util.List<TagsEntry> getEntries(java.lang.String className,
                                     long classPK)
                                     throws java.rmi.RemoteException,
                                            com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException

getEntries

java.util.List<TagsEntry> getEntries(long groupId,
                                     long companyId,
                                     long classNameId,
                                     java.lang.String name)
                                     throws java.rmi.RemoteException,
                                            com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException

mergeEntries

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

search

java.util.List<TagsEntry> search(long companyId,
                                 java.lang.String name,
                                 java.lang.String[] properties)
                                 throws java.rmi.RemoteException,
                                        com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException

search

java.util.List<TagsEntry> search(long companyId,
                                 java.lang.String name,
                                 java.lang.String[] properties,
                                 int start,
                                 int end)
                                 throws java.rmi.RemoteException,
                                        com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException

searchAutocomplete

com.liferay.portal.kernel.json.JSONArray searchAutocomplete(long companyId,
                                                            java.lang.String name,
                                                            java.lang.String[] properties,
                                                            int start,
                                                            int end)
                                                            throws java.rmi.RemoteException,
                                                                   com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException

searchCount

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

updateEntry

TagsEntry updateEntry(long entryId,
                      java.lang.String name)
                      throws java.rmi.RemoteException,
                             com.liferay.portal.PortalException,
                             com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

updateEntry

TagsEntry updateEntry(long entryId,
                      java.lang.String name,
                      java.lang.String[] properties)
                      throws java.rmi.RemoteException,
                             com.liferay.portal.PortalException,
                             com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException