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 com.liferay.portal.SystemException,
                          com.liferay.portal.PortalException,
                          java.rmi.RemoteException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
java.rmi.RemoteException

addEntry

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

deleteEntry

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

getEntries

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

search

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

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,
                             java.rmi.RemoteException
Throws:
com.liferay.portal.SystemException
java.rmi.RemoteException

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,
                                                                          java.rmi.RemoteException
Throws:
com.liferay.portal.SystemException
java.rmi.RemoteException

searchCount

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

updateEntry

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

updateEntry

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