com.liferay.portlet.tags.service.impl
Class TagsEntryLocalServiceImpl

java.lang.Object
  extended by com.liferay.portlet.tags.service.base.TagsEntryLocalServiceBaseImpl
      extended by com.liferay.portlet.tags.service.impl.TagsEntryLocalServiceImpl
All Implemented Interfaces:
com.liferay.portlet.tags.service.TagsEntryLocalService

public class TagsEntryLocalServiceImpl
extends TagsEntryLocalServiceBaseImpl

View Source

Author:
Brian Wing Shun Chan

Field Summary
static java.lang.String[] DEFAULT_PROPERTIES
           
 
Fields inherited from class com.liferay.portlet.tags.service.base.TagsEntryLocalServiceBaseImpl
counterLocalService, counterService, tagsAssetFinder, tagsAssetLocalService, tagsAssetPersistence, tagsAssetService, tagsEntryFinder, tagsEntryLocalService, tagsEntryPersistence, tagsEntryService, tagsPropertyFinder, tagsPropertyKeyFinder, tagsPropertyLocalService, tagsPropertyPersistence, tagsPropertyService, tagsSourceLocalService, tagsSourcePersistence, tagsSourceService, userFinder, userLocalService, userPersistence, userService
 
Constructor Summary
TagsEntryLocalServiceImpl()
           
 
Method Summary
 com.liferay.portlet.tags.model.TagsEntry addEntry(long userId, java.lang.String name)
           
 com.liferay.portlet.tags.model.TagsEntry addEntry(long userId, java.lang.String name, java.lang.String[] properties)
           
 void checkEntries(long userId, java.lang.String[] names)
           
 void deleteEntry(long entryId)
           
 void deleteEntry(com.liferay.portlet.tags.model.TagsEntry entry)
           
 java.util.List<com.liferay.portlet.tags.model.TagsEntry> getAssetEntries(long assetId)
           
 java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries()
           
 java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(long classNameId, long classPK)
           
 java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(long groupId, long companyId, long classNameId, java.lang.String name)
           
 java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(long groupId, long companyId, long classNameId, java.lang.String name, int start, int end)
           
 java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(java.lang.String className, long classPK)
           
 int getEntriesSize(long groupId, long companyId, long classNameId, java.lang.String name)
           
 com.liferay.portlet.tags.model.TagsEntry getEntry(long entryId)
           
 com.liferay.portlet.tags.model.TagsEntry getEntry(long companyId, java.lang.String name)
           
 long[] getEntryIds(long companyId, java.lang.String[] names)
           
 java.lang.String[] getEntryNames()
           
protected  java.lang.String[] getEntryNames(java.util.List<com.liferay.portlet.tags.model.TagsEntry> entries)
           
 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<com.liferay.portlet.tags.model.TagsEntry> search(long companyId, java.lang.String name, java.lang.String[] properties)
           
 java.util.List<com.liferay.portlet.tags.model.TagsEntry> search(long companyId, java.lang.String name, java.lang.String[] properties, int start, int end)
           
 com.liferay.portal.kernel.json.JSONArray searchAutocomplete(long companyId, java.lang.String name, java.lang.String[] properties, int start, int end)
           
 int searchCount(long companyId, java.lang.String name, java.lang.String[] properties)
           
 com.liferay.portlet.tags.model.TagsEntry updateEntry(long userId, long entryId, java.lang.String name, java.lang.String[] properties)
           
 com.liferay.portlet.tags.model.TagsEntry updateEntry(long entryId, java.lang.String name)
           
protected  void validate(java.lang.String name)
           
 
Methods inherited from class com.liferay.portlet.tags.service.base.TagsEntryLocalServiceBaseImpl
addTagsEntry, createTagsEntry, deleteTagsEntry, deleteTagsEntry, dynamicQuery, dynamicQuery, getCounterLocalService, getCounterService, getTagsAssetFinder, getTagsAssetLocalService, getTagsAssetPersistence, getTagsAssetService, getTagsEntries, getTagsEntriesCount, getTagsEntry, getTagsEntryFinder, getTagsEntryLocalService, getTagsEntryPersistence, getTagsEntryService, getTagsPropertyFinder, getTagsPropertyKeyFinder, getTagsPropertyLocalService, getTagsPropertyPersistence, getTagsPropertyService, getTagsSourceLocalService, getTagsSourcePersistence, getTagsSourceService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, runSQL, setCounterLocalService, setCounterService, setTagsAssetFinder, setTagsAssetLocalService, setTagsAssetPersistence, setTagsAssetService, setTagsEntryFinder, setTagsEntryLocalService, setTagsEntryPersistence, setTagsEntryService, setTagsPropertyFinder, setTagsPropertyKeyFinder, setTagsPropertyLocalService, setTagsPropertyPersistence, setTagsPropertyService, setTagsSourceLocalService, setTagsSourcePersistence, setTagsSourceService, setUserFinder, setUserLocalService, setUserPersistence, setUserService, updateTagsEntry, updateTagsEntry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_PROPERTIES

public static java.lang.String[] DEFAULT_PROPERTIES
Constructor Detail

TagsEntryLocalServiceImpl

public TagsEntryLocalServiceImpl()
Method Detail

addEntry

public com.liferay.portlet.tags.model.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 com.liferay.portlet.tags.model.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 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 void deleteEntry(long entryId)
                 throws com.liferay.portal.PortalException,
                        com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteEntry

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

hasEntry

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

getAssetEntries

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

getEntries

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

getEntries

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

getEntries

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

getEntries

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

getEntries

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

getEntry

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

getEntry

public com.liferay.portlet.tags.model.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 long[] getEntryIds(long companyId,
                          java.lang.String[] names)
                   throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getEntryNames

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

getEntryNames

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

getEntryNames

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

mergeEntries

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

updateEntry

public com.liferay.portlet.tags.model.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 com.liferay.portlet.tags.model.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

getEntryNames

protected java.lang.String[] getEntryNames(java.util.List<com.liferay.portlet.tags.model.TagsEntry> entries)

validate

protected void validate(java.lang.String name)
                 throws com.liferay.portal.PortalException
Throws:
com.liferay.portal.PortalException