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 afterPropertiesSet()
           
static void checkEntries(long userId, java.lang.String[] names)
           
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(long classNameId, long classPK)
           
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 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 TagsAssetFinder getTagsAssetFinder()
           
static TagsAssetPersistence getTagsAssetPersistence()
           
static TagsEntryFinder getTagsEntryFinder()
           
static TagsEntryPersistence getTagsEntryPersistence()
           
static TagsPropertyFinder getTagsPropertyFinder()
           
static TagsPropertyKeyFinder getTagsPropertyKeyFinder()
           
static TagsPropertyPersistence getTagsPropertyPersistence()
           
static TagsSourcePersistence getTagsSourcePersistence()
           
static UserFinder getUserFinder()
           
static UserPersistence getUserPersistence()
           
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 void setTagsAssetFinder(TagsAssetFinder tagsAssetFinder)
           
static void setTagsAssetPersistence(TagsAssetPersistence tagsAssetPersistence)
           
static void setTagsEntryFinder(TagsEntryFinder tagsEntryFinder)
           
static void setTagsEntryPersistence(TagsEntryPersistence tagsEntryPersistence)
           
static void setTagsPropertyFinder(TagsPropertyFinder tagsPropertyFinder)
           
static void setTagsPropertyKeyFinder(TagsPropertyKeyFinder tagsPropertyKeyFinder)
           
static void setTagsPropertyPersistence(TagsPropertyPersistence tagsPropertyPersistence)
           
static void setTagsSourcePersistence(TagsSourcePersistence tagsSourcePersistence)
           
static void setUserFinder(UserFinder userFinder)
           
static void setUserPersistence(UserPersistence userPersistence)
           
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

getTagsAssetPersistence

public static TagsAssetPersistence getTagsAssetPersistence()

setTagsAssetPersistence

public static void setTagsAssetPersistence(TagsAssetPersistence tagsAssetPersistence)

getTagsAssetFinder

public static TagsAssetFinder getTagsAssetFinder()

setTagsAssetFinder

public static void setTagsAssetFinder(TagsAssetFinder tagsAssetFinder)

getTagsEntryPersistence

public static TagsEntryPersistence getTagsEntryPersistence()

setTagsEntryPersistence

public static void setTagsEntryPersistence(TagsEntryPersistence tagsEntryPersistence)

getTagsEntryFinder

public static TagsEntryFinder getTagsEntryFinder()

setTagsEntryFinder

public static void setTagsEntryFinder(TagsEntryFinder tagsEntryFinder)

getTagsPropertyPersistence

public static TagsPropertyPersistence getTagsPropertyPersistence()

setTagsPropertyPersistence

public static void setTagsPropertyPersistence(TagsPropertyPersistence tagsPropertyPersistence)

getTagsPropertyFinder

public static TagsPropertyFinder getTagsPropertyFinder()

setTagsPropertyFinder

public static void setTagsPropertyFinder(TagsPropertyFinder tagsPropertyFinder)

getTagsPropertyKeyFinder

public static TagsPropertyKeyFinder getTagsPropertyKeyFinder()

setTagsPropertyKeyFinder

public static void setTagsPropertyKeyFinder(TagsPropertyKeyFinder tagsPropertyKeyFinder)

getTagsSourcePersistence

public static TagsSourcePersistence getTagsSourcePersistence()

setTagsSourcePersistence

public static void setTagsSourcePersistence(TagsSourcePersistence tagsSourcePersistence)

getUserPersistence

public static UserPersistence getUserPersistence()

setUserPersistence

public static void setUserPersistence(UserPersistence userPersistence)

getUserFinder

public static UserFinder getUserFinder()

setUserFinder

public static void setUserFinder(UserFinder userFinder)

afterPropertiesSet

public static void afterPropertiesSet()

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

getEntries

public static java.util.List getEntries(long classNameId,
                                        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

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

getEntryNames

public static java.lang.String[] getEntryNames(long classNameId,
                                               long classPK)
                                        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