com.liferay.portlet.tags.service
Interface TagsEntryLocalService
@Transactional(rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
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:
TagsEntryLocalServiceUtil
Method Summary |
TagsEntry |
addEntry(long userId,
java.lang.String parentEntryName,
java.lang.String name,
java.lang.String vocabularyName,
java.lang.String[] properties,
ServiceContext serviceContext)
|
void |
addEntryResources(TagsEntry entry,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addEntryResources(TagsEntry entry,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
TagsEntry |
addTagsEntry(TagsEntry tagsEntry)
|
void |
checkEntries(long userId,
long groupId,
java.lang.String[] names)
|
TagsEntry |
createTagsEntry(long entryId)
|
void |
deleteEntry(long entryId)
|
void |
deleteEntry(TagsEntry entry)
|
void |
deleteTagsEntry(long entryId)
|
void |
deleteTagsEntry(TagsEntry tagsEntry)
|
void |
deleteVocabularyEntries(long vocabularyId)
|
java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
java.util.List<TagsEntry> |
getAssetEntries(long assetId,
boolean folksonomy)
|
java.util.List<TagsEntry> |
getEntries()
|
java.util.List<TagsEntry> |
getEntries(boolean folksonomy)
|
java.util.List<TagsEntry> |
getEntries(long classNameId,
long classPK)
|
java.util.List<TagsEntry> |
getEntries(long classNameId,
long classPK,
boolean folksonomy)
|
java.util.List<TagsEntry> |
getEntries(long groupId,
long classNameId,
java.lang.String name)
|
java.util.List<TagsEntry> |
getEntries(long groupId,
long classNameId,
java.lang.String name,
int start,
int end)
|
java.util.List<TagsEntry> |
getEntries(java.lang.String className,
long classPK)
|
java.util.List<TagsEntry> |
getEntries(java.lang.String className,
long classPK,
boolean folksonomy)
|
int |
getEntriesSize(long groupId,
long classNameId,
java.lang.String name)
|
TagsEntry |
getEntry(long entryId)
|
TagsEntry |
getEntry(long groupId,
java.lang.String name)
|
TagsEntry |
getEntry(long groupId,
java.lang.String name,
boolean folksonomy)
|
long[] |
getEntryIds(long groupId,
java.lang.String[] names)
|
long[] |
getEntryIds(long groupId,
java.lang.String[] names,
boolean folksonomy)
|
java.lang.String[] |
getEntryNames()
|
java.lang.String[] |
getEntryNames(boolean folksonomy)
|
java.lang.String[] |
getEntryNames(long classNameId,
long classPK)
|
java.lang.String[] |
getEntryNames(long classNameId,
long classPK,
boolean folksonomy)
|
java.lang.String[] |
getEntryNames(java.lang.String className,
long classPK)
|
java.lang.String[] |
getEntryNames(java.lang.String className,
long classPK,
boolean folksonomy)
|
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)
|
java.util.List<TagsEntry> |
getTagsEntries(int start,
int end)
|
int |
getTagsEntriesCount()
|
TagsEntry |
getTagsEntry(long entryId)
|
boolean |
hasEntry(long groupId,
java.lang.String name,
boolean folksonomy)
|
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 userId,
long entryId,
java.lang.String parentEntryName,
java.lang.String name,
java.lang.String vocabularyName,
java.lang.String[] properties)
|
TagsEntry |
updateTagsEntry(TagsEntry tagsEntry)
|
addTagsEntry
TagsEntry addTagsEntry(TagsEntry tagsEntry)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
createTagsEntry
TagsEntry createTagsEntry(long entryId)
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
- Throws:
com.liferay.portal.SystemException
dynamicQuery
java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getTagsEntry
@Transactional(propagation=SUPPORTS,
readOnly=true)
TagsEntry getTagsEntry(long entryId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getTagsEntries
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<TagsEntry> getTagsEntries(int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getTagsEntriesCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getTagsEntriesCount()
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 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
addEntryResources
void addEntryResources(TagsEntry entry,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addEntryResources
void addEntryResources(TagsEntry entry,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
checkEntries
void checkEntries(long userId,
long groupId,
java.lang.String[] names)
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
deleteEntry
void deleteEntry(TagsEntry entry)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteVocabularyEntries
void deleteVocabularyEntries(long vocabularyId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
hasEntry
boolean hasEntry(long groupId,
java.lang.String name,
boolean folksonomy)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getAssetEntries
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<TagsEntry> getAssetEntries(long assetId,
boolean folksonomy)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getEntries
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<TagsEntry> getEntries()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getEntries
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<TagsEntry> getEntries(boolean folksonomy)
throws com.liferay.portal.SystemException
- Throws:
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.SystemException
- Throws:
com.liferay.portal.SystemException
getEntries
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<TagsEntry> getEntries(long classNameId,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getEntries
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<TagsEntry> getEntries(java.lang.String className,
long classPK,
boolean folksonomy)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getEntries
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<TagsEntry> getEntries(long classNameId,
long classPK,
boolean folksonomy)
throws com.liferay.portal.SystemException
- Throws:
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.SystemException
- Throws:
com.liferay.portal.SystemException
getEntries
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<TagsEntry> getEntries(long groupId,
long classNameId,
java.lang.String name,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getEntriesSize
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getEntriesSize(long groupId,
long classNameId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
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
getEntry
@Transactional(propagation=SUPPORTS,
readOnly=true)
TagsEntry getEntry(long groupId,
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 groupId,
java.lang.String name,
boolean folksonomy)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getEntryIds
@Transactional(propagation=SUPPORTS,
readOnly=true)
long[] getEntryIds(long groupId,
java.lang.String[] names)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getEntryIds
@Transactional(propagation=SUPPORTS,
readOnly=true)
long[] getEntryIds(long groupId,
java.lang.String[] names,
boolean folksonomy)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getEntryNames
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.lang.String[] getEntryNames()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getEntryNames
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.lang.String[] getEntryNames(java.lang.String className,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getEntryNames
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.lang.String[] getEntryNames(long classNameId,
long classPK)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getEntryNames
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.lang.String[] getEntryNames(boolean folksonomy)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getEntryNames
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.lang.String[] getEntryNames(java.lang.String className,
long classPK,
boolean folksonomy)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getEntryNames
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.lang.String[] getEntryNames(long classNameId,
long classPK,
boolean folksonomy)
throws com.liferay.portal.SystemException
- Throws:
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 userId,
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