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:
TagsEntryServiceFactory, TagsEntryServiceUtil

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 model)
           
 void deleteEntry(long entryId)
           
 void deleteEntry(TagsEntry entry)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
 java.util.List getAssetEntries(long assetId)
           
 java.util.List getEntries()
           
 java.util.List getEntries(java.lang.String className, long classPK)
           
 TagsEntry getEntry(long entryId)
           
 TagsEntry getEntry(long companyId, java.lang.String name)
           
 long[] getEntryIds(long companyId, java.lang.String[] names)
           
 boolean hasEntry(long companyId, java.lang.String name)
           
 java.util.List search(long companyId, java.lang.String name, java.lang.String[] properties)
           
 java.util.List 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 model)
           
 

Method Detail

addTagsEntry

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

dynamicQuery

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

dynamicQuery

public 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 TagsEntry updateTagsEntry(TagsEntry model)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

addEntry

public 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

public 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

deleteEntry

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

deleteEntry

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

hasEntry

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

getAssetEntries

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

getEntries

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

getEntries

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

getEntry

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

getEntry

public 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

public 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

search

public 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 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 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 int searchCount(long companyId,
                       java.lang.String name,
                       java.lang.String[] properties)
                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateEntry

public 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

public 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