com.liferay.portlet.tags.service
Interface TagsEntryLocalService


public interface TagsEntryLocalService

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.TagsEntryLocalServiceImpl. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.

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

Method Summary
 TagsEntry addEntry(long userId, java.lang.String name)
           
 TagsEntry addEntry(long userId, java.lang.String name, java.lang.String[] properties)
           
 TagsEntry addTagsEntry(TagsEntry tagsEntry)
           
 void checkEntries(long userId, java.lang.String[] names)
           
 void deleteEntry(long entryId)
           
 void deleteEntry(TagsEntry entry)
           
 void deleteTagsEntry(long entryId)
           
 void deleteTagsEntry(TagsEntry tagsEntry)
           
 java.util.List<TagsEntry> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List<TagsEntry> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
 java.util.List<TagsEntry> getAssetEntries(long assetId)
           
 java.util.List<TagsEntry> getEntries()
           
 java.util.List<TagsEntry> getEntries(long classNameId, long classPK)
           
 java.util.List<TagsEntry> getEntries(long groupId, long companyId, long classNameId, java.lang.String name)
           
 java.util.List<TagsEntry> getEntries(long groupId, long companyId, long classNameId, java.lang.String name, int begin, int end)
           
 java.util.List<TagsEntry> getEntries(java.lang.String className, long classPK)
           
 int getEntriesSize(long groupId, long companyId, long classNameId, java.lang.String name)
           
 TagsEntry getEntry(long entryId)
           
 TagsEntry getEntry(long companyId, java.lang.String name)
           
 long[] getEntryIds(long companyId, java.lang.String[] names)
           
 java.lang.String[] getEntryNames()
           
 java.lang.String[] getEntryNames(long classNameId, long classPK)
           
 java.lang.String[] getEntryNames(java.lang.String className, long classPK)
           
 boolean hasEntry(long companyId, java.lang.String name)
           
 void mergeEntries(long fromEntryId, long toEntryId)
           
 java.util.List<TagsEntry> search(long companyId, java.lang.String name, java.lang.String[] properties)
           
 java.util.List<TagsEntry> 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 userId, long entryId, java.lang.String name, java.lang.String[] properties)
           
 TagsEntry updateEntry(long entryId, java.lang.String name)
           
 TagsEntry updateTagsEntry(TagsEntry tagsEntry)
           
 

Method Detail

addTagsEntry

TagsEntry addTagsEntry(TagsEntry tagsEntry)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteTagsEntry

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

deleteTagsEntry

void deleteTagsEntry(TagsEntry tagsEntry)
                     throws com.liferay.portal.SystemException,
                            com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

dynamicQuery

java.util.List<TagsEntry> dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

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

updateTagsEntry

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

addEntry

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

addEntry

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

checkEntries

void checkEntries(long userId,
                  java.lang.String[] names)
                  throws com.liferay.portal.SystemException,
                         com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteEntry

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

deleteEntry

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

hasEntry

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

getAssetEntries

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

getEntries

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

getEntries

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

getEntries

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

getEntries

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

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

getEntriesSize

int getEntriesSize(long groupId,
                   long companyId,
                   long classNameId,
                   java.lang.String name)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getEntry

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

getEntry

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

getEntryIds

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

getEntryNames

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

getEntryNames

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

getEntryNames

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

mergeEntries

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

search

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

java.util.List<TagsEntry> 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

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

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

updateEntry

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

updateEntry

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