com.liferay.portlet.tags.service
Class TagsEntryLocalServiceUtil

java.lang.Object
  extended by com.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.

Author:
Brian Wing Shun Chan
See Also:
TagsEntryLocalService

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 tagsEntry)
           
static void checkEntries(long userId, java.lang.String[] names)
           
static TagsEntry createTagsEntry(long entryId)
           
static void deleteEntry(long entryId)
           
static void deleteEntry(TagsEntry entry)
           
static void deleteTagsEntry(long entryId)
           
static void deleteTagsEntry(TagsEntry tagsEntry)
           
static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
static java.util.List<TagsEntry> getAssetEntries(long assetId)
           
static java.util.List<TagsEntry> getEntries()
           
static java.util.List<TagsEntry> getEntries(long classNameId, long classPK)
           
static java.util.List<TagsEntry> getEntries(long groupId, long companyId, long classNameId, java.lang.String name)
           
static java.util.List<TagsEntry> getEntries(long groupId, long companyId, long classNameId, java.lang.String name, int start, int end)
           
static java.util.List<TagsEntry> getEntries(java.lang.String className, long classPK)
           
static int getEntriesSize(long groupId, long companyId, long classNameId, java.lang.String name)
           
static TagsEntry getEntry(long entryId)
           
static TagsEntry getEntry(long companyId, java.lang.String name)
           
static long[] getEntryIds(long companyId, java.lang.String[] names)
           
static java.lang.String[] getEntryNames()
           
static java.lang.String[] getEntryNames(long classNameId, long classPK)
           
static java.lang.String[] getEntryNames(java.lang.String className, long classPK)
           
static TagsEntryLocalService getService()
           
static java.util.List<TagsEntry> getTagsEntries(int start, int end)
           
static int getTagsEntriesCount()
           
static TagsEntry getTagsEntry(long entryId)
           
static boolean hasEntry(long companyId, java.lang.String name)
           
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(TagsEntryLocalService service)
           
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 tagsEntry)
           
static TagsEntry updateTagsEntry(TagsEntry tagsEntry, boolean merge)
           
 
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 tagsEntry)
                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

createTagsEntry

public static TagsEntry createTagsEntry(long entryId)

deleteTagsEntry

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

deleteTagsEntry

public static void deleteTagsEntry(TagsEntry tagsEntry)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public static java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                                            int start,
                                                            int end)
                                                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getTagsEntry

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

getTagsEntries

public static java.util.List<TagsEntry> getTagsEntries(int start,
                                                       int end)
                                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getTagsEntriesCount

public static int getTagsEntriesCount()
                               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateTagsEntry

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

updateTagsEntry

public static TagsEntry updateTagsEntry(TagsEntry tagsEntry,
                                        boolean merge)
                                 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

checkEntries

public static void checkEntries(long userId,
                                java.lang.String[] names)
                         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.SystemException
Throws:
com.liferay.portal.SystemException

getAssetEntries

public static java.util.List<TagsEntry> getAssetEntries(long assetId)
                                                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getEntries

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

getEntries

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

getEntries

public static java.util.List<TagsEntry> getEntries(long classNameId,
                                                   long classPK)
                                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getEntries

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

getEntries

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

getEntriesSize

public static int getEntriesSize(long groupId,
                                 long companyId,
                                 long classNameId,
                                 java.lang.String name)
                          throws com.liferay.portal.SystemException
Throws:
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.SystemException
Throws:
com.liferay.portal.SystemException

getEntryNames

public static java.lang.String[] getEntryNames()
                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getEntryNames

public static java.lang.String[] getEntryNames(java.lang.String className,
                                               long classPK)
                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getEntryNames

public static java.lang.String[] getEntryNames(long classNameId,
                                               long classPK)
                                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

mergeEntries

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

search

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

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
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

getService

public static TagsEntryLocalService getService()

setService

public void setService(TagsEntryLocalService service)