com.liferay.portlet.tags.service
Class TagsEntryServiceUtil
java.lang.Object
com.liferay.portlet.tags.service.TagsEntryServiceUtil
public class TagsEntryServiceUtil
- 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.TagsEntryService
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:
TagsEntryService
Method Summary |
static TagsEntry |
addEntry(java.lang.String parentEntryName,
java.lang.String name,
java.lang.String vocabularyName,
java.lang.String[] properties,
ServiceContext serviceContext)
|
static void |
deleteEntry(long entryId)
|
static java.util.List<TagsEntry> |
getEntries(long groupId,
long classNameId,
java.lang.String name)
|
static java.util.List<TagsEntry> |
getEntries(java.lang.String className,
long classPK)
|
static TagsEntry |
getEntry(long entryId)
|
static java.util.List<TagsEntry> |
getGroupVocabularyEntries(long groupId,
java.lang.String vocabularyName)
|
static java.util.List<TagsEntry> |
getGroupVocabularyEntries(long groupId,
java.lang.String parentEntryName,
java.lang.String vocabularyName)
|
static java.util.List<TagsEntry> |
getGroupVocabularyRootEntries(long groupId,
java.lang.String vocabularyName)
|
static TagsEntryService |
getService()
|
static void |
mergeEntries(long fromEntryId,
long toEntryId)
|
static com.liferay.portal.kernel.json.JSONArray |
search(long groupId,
java.lang.String name,
java.lang.String[] properties,
int start,
int end)
|
void |
setService(TagsEntryService service)
|
static TagsEntry |
updateEntry(long entryId,
java.lang.String parentEntryName,
java.lang.String name,
java.lang.String vocabularyName,
java.lang.String[] properties)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TagsEntryServiceUtil
public TagsEntryServiceUtil()
addEntry
public static TagsEntry addEntry(java.lang.String parentEntryName,
java.lang.String name,
java.lang.String vocabularyName,
java.lang.String[] properties,
ServiceContext serviceContext)
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
getEntries
public static java.util.List<TagsEntry> 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<TagsEntry> getEntries(long groupId,
long classNameId,
java.lang.String name)
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
getGroupVocabularyEntries
public static java.util.List<TagsEntry> getGroupVocabularyEntries(long groupId,
java.lang.String vocabularyName)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getGroupVocabularyEntries
public static java.util.List<TagsEntry> getGroupVocabularyEntries(long groupId,
java.lang.String parentEntryName,
java.lang.String vocabularyName)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getGroupVocabularyRootEntries
public static java.util.List<TagsEntry> getGroupVocabularyRootEntries(long groupId,
java.lang.String vocabularyName)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
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 com.liferay.portal.kernel.json.JSONArray search(long groupId,
java.lang.String name,
java.lang.String[] properties,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateEntry
public static TagsEntry updateEntry(long entryId,
java.lang.String parentEntryName,
java.lang.String name,
java.lang.String vocabularyName,
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 TagsEntryService getService()
setService
public void setService(TagsEntryService service)