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:
TagsEntryServiceFactory, 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 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)
           
 TagsEntry updateEntry(long entryId, java.lang.String name)
           
 TagsEntry updateEntry(long entryId, java.lang.String name, java.lang.String[] properties)
           
 

Method Detail

addEntry

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

addEntry

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

deleteEntry

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

getEntries

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

search

public java.util.List 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

public java.util.List search(long companyId,
                             java.lang.String name,
                             java.lang.String[] properties,
                             int begin,
                             int end)
                      throws java.rmi.RemoteException,
                             com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
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 java.rmi.RemoteException,
                                                                          com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException

searchCount

public 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

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

updateEntry

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