com.liferay.portlet.tags.service
Interface TagsEntryService
@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface TagsEntryService
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.TagsEntryServiceImpl
.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
- Author:
- Brian Wing Shun Chan
- See Also:
TagsEntryServiceUtil
Method Summary |
TagsEntry |
addEntry(java.lang.String parentEntryName,
java.lang.String name,
java.lang.String vocabularyName,
java.lang.String[] properties,
ServiceContext serviceContext)
|
void |
deleteEntry(long entryId)
|
java.util.List<TagsEntry> |
getEntries(long groupId,
long classNameId,
java.lang.String name)
|
java.util.List<TagsEntry> |
getEntries(java.lang.String className,
long classPK)
|
TagsEntry |
getEntry(long entryId)
|
java.util.List<TagsEntry> |
getGroupVocabularyEntries(long groupId,
java.lang.String vocabularyName)
|
java.util.List<TagsEntry> |
getGroupVocabularyEntries(long groupId,
java.lang.String parentEntryName,
java.lang.String vocabularyName)
|
java.util.List<TagsEntry> |
getGroupVocabularyRootEntries(long groupId,
java.lang.String vocabularyName)
|
void |
mergeEntries(long fromEntryId,
long toEntryId)
|
com.liferay.portal.kernel.json.JSONArray |
search(long groupId,
java.lang.String name,
java.lang.String[] properties,
int start,
int end)
|
TagsEntry |
updateEntry(long entryId,
java.lang.String parentEntryName,
java.lang.String name,
java.lang.String vocabularyName,
java.lang.String[] properties)
|
addEntry
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
void deleteEntry(long entryId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getEntries
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
TagsEntry getEntry(long entryId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getGroupVocabularyEntries
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
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