com.liferay.portlet.tags.service
Class TagsEntryServiceUtil

java.lang.Object
  extended by com.liferay.portlet.tags.service.TagsEntryServiceUtil

public class TagsEntryServiceUtil
extends java.lang.Object

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class provides static methods for the com.liferay.portlet.tags.service.TagsEntryService bean. The static methods of this class calls the same methods of the bean instance. It's convenient to be able to just write one line to call a method on a bean instead of writing a lookup call and a method call.

Author:
Brian Wing Shun Chan
See Also:
TagsEntryService

Constructor Summary
TagsEntryServiceUtil()
           
 
Method Summary
static TagsEntry addEntry(java.lang.String name)
           
static TagsEntry addEntry(java.lang.String name, java.lang.String[] properties)
           
static void deleteEntry(long entryId)
           
static java.util.List<TagsEntry> getEntries(long groupId, long companyId, long classNameId, java.lang.String name)
           
static java.util.List<TagsEntry> getEntries(java.lang.String className, long classPK)
           
static TagsEntryService getService()
           
static void mergeEntries(long fromEntryId, long toEntryId)
           
static java.util.List<TagsEntry> search(long companyId, java.lang.String name, java.lang.String[] properties)
           
static java.util.List<TagsEntry> search(long companyId, java.lang.String name, java.lang.String[] properties, int start, int end)
           
static com.liferay.portal.kernel.json.JSONArray searchAutocomplete(long companyId, java.lang.String name, java.lang.String[] properties, int start, int end)
           
static int searchCount(long companyId, java.lang.String name, java.lang.String[] properties)
           
 void setService(TagsEntryService service)
           
static TagsEntry updateEntry(long entryId, java.lang.String name)
           
static TagsEntry updateEntry(long entryId, java.lang.String name, java.lang.String[] properties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TagsEntryServiceUtil

public TagsEntryServiceUtil()
Method Detail

addEntry

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

addEntry

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

deleteEntry

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

getEntries

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

getEntries

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

mergeEntries

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

search

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

searchAutocomplete

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

searchCount

public static 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 static TagsEntry updateEntry(long entryId,
                                    java.lang.String name)
                             throws com.liferay.portal.PortalException,
                                    com.liferay.portal.SystemException,
                                    java.rmi.RemoteException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
java.rmi.RemoteException

updateEntry

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

getService

public static TagsEntryService getService()

setService

public void setService(TagsEntryService service)