com.liferay.portlet.tags.service
Class TagsEntryLocalServiceUtil

java.lang.Object
  extended bycom.liferay.portlet.tags.service.TagsEntryLocalServiceUtil

public class TagsEntryLocalServiceUtil
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.TagsEntryLocalService 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.

com.liferay.portlet.tags.service.TagsEntryLocalServiceFactory is responsible for the lookup of the bean.

Author:
Brian Wing Shun Chan
See Also:
TagsEntryLocalService, TagsEntryLocalServiceFactory

Constructor Summary
TagsEntryLocalServiceUtil()
           
 
Method Summary
static TagsEntry addEntry(long userId, java.lang.String name)
           
static TagsEntry addEntry(long userId, java.lang.String name, java.lang.String[] properties)
           
static TagsEntry addTagsEntry(TagsEntry model)
           
static void deleteEntry(long entryId)
           
static void deleteEntry(TagsEntry entry)
           
static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
static java.util.List getAssetEntries(long assetId)
           
static java.util.List getEntries()
           
static java.util.List getEntries(java.lang.String className, long classPK)
           
static TagsEntry getEntry(long entryId)
           
static TagsEntry getEntry(long companyId, java.lang.String name)
           
static long[] getEntryIds(long companyId, java.lang.String[] names)
           
static boolean hasEntry(long companyId, java.lang.String name)
           
static java.util.List search(long companyId, java.lang.String name, java.lang.String[] properties)
           
static java.util.List search(long companyId, java.lang.String name, java.lang.String[] properties, int begin, int end)
           
static com.liferay.portal.kernel.json.JSONArrayWrapper searchAutocomplete(long companyId, java.lang.String name, java.lang.String[] properties, int begin, int end)
           
static int searchCount(long companyId, java.lang.String name, java.lang.String[] properties)
           
static TagsEntry updateEntry(long userId, long entryId, java.lang.String name, java.lang.String[] properties)
           
static TagsEntry updateEntry(long entryId, java.lang.String name)
           
static TagsEntry updateTagsEntry(TagsEntry model)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TagsEntryLocalServiceUtil

public TagsEntryLocalServiceUtil()
Method Detail

addTagsEntry

public static TagsEntry addTagsEntry(TagsEntry model)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public static java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                          int begin,
                                          int end)
                                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateTagsEntry

public static TagsEntry updateTagsEntry(TagsEntry model)
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addEntry

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

addEntry

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

deleteEntry

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

deleteEntry

public static void deleteEntry(TagsEntry entry)
                        throws com.liferay.portal.PortalException,
                               com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

hasEntry

public static boolean hasEntry(long companyId,
                               java.lang.String name)
                        throws com.liferay.portal.PortalException,
                               com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getAssetEntries

public static java.util.List getAssetEntries(long assetId)
                                      throws com.liferay.portal.PortalException,
                                             com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getEntries

public static java.util.List getEntries()
                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getEntries

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

getEntry

public static TagsEntry getEntry(long entryId)
                          throws com.liferay.portal.PortalException,
                                 com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getEntry

public static TagsEntry getEntry(long companyId,
                                 java.lang.String name)
                          throws com.liferay.portal.PortalException,
                                 com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getEntryIds

public static long[] getEntryIds(long companyId,
                                 java.lang.String[] names)
                          throws com.liferay.portal.PortalException,
                                 com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

search

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

search

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

searchAutocomplete

public static 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
Throws:
com.liferay.portal.SystemException

searchCount

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

updateEntry

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

updateEntry

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