com.liferay.portlet.tags.service
Interface TagsEntryLocalService
@Transactional(isolation=PORTAL,
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 name)
|
TagsEntry |
addEntry(long userId,
java.lang.String name,
java.lang.String[] properties)
|
TagsEntry |
addTagsEntry(TagsEntry tagsEntry)
|
void |
checkEntries(long userId,
java.lang.String[] names)
|
TagsEntry |
createTagsEntry(long entryId)
|
void |
deleteEntry(long entryId)
|
void |
deleteEntry(TagsEntry entry)
|
void |
deleteTagsEntry(long entryId)
|
void |
deleteTagsEntry(TagsEntry tagsEntry)
|
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)
|
java.util.List<TagsEntry> |
getEntries()
|
java.util.List<TagsEntry> |
getEntries(long classNameId,
long classPK)
|
java.util.List<TagsEntry> |
getEntries(long groupId,
long companyId,
long classNameId,
java.lang.String name)
|
java.util.List<TagsEntry> |
getEntries(long groupId,
long companyId,
long classNameId,
java.lang.String name,
int start,
int end)
|
java.util.List<TagsEntry> |
getEntries(java.lang.String className,
long classPK)
|
int |
getEntriesSize(long groupId,
long companyId,
long classNameId,
java.lang.String name)
|
TagsEntry |
getEntry(long entryId)
|
TagsEntry |
getEntry(long companyId,
java.lang.String name)
|
long[] |
getEntryIds(long companyId,
java.lang.String[] names)
|
java.lang.String[] |
getEntryNames()
|
java.lang.String[] |
getEntryNames(long classNameId,
long classPK)
|
java.lang.String[] |
getEntryNames(java.lang.String className,
long classPK)
|
java.util.List<TagsEntry> |
getTagsEntries(int start,
int end)
|
int |
getTagsEntriesCount()
|
TagsEntry |
getTagsEntry(long entryId)
|
boolean |
hasEntry(long companyId,
java.lang.String name)
|
void |
mergeEntries(long fromEntryId,
long toEntryId)
|
java.util.List<TagsEntry> |
search(long companyId,
java.lang.String name,
java.lang.String[] properties)
|
java.util.List<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)
|
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 tagsEntry)
|
TagsEntry |
updateTagsEntry(TagsEntry tagsEntry,
boolean merge)
|
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
updateTagsEntry
TagsEntry updateTagsEntry(TagsEntry tagsEntry,
boolean merge)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addEntry
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
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
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
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
hasEntry
@Transactional(propagation=SUPPORTS,
readOnly=true)
boolean hasEntry(long companyId,
java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getAssetEntries
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<TagsEntry> getAssetEntries(long assetId)
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(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(long groupId,
long companyId,
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 companyId,
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 companyId,
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 companyId,
java.lang.String name)
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 companyId,
java.lang.String[] names)
throws com.liferay.portal.SystemException
- Throws:
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
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)
java.util.List<TagsEntry> search(long companyId,
java.lang.String name,
java.lang.String[] properties)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
search
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<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
@Transactional(propagation=SUPPORTS,
readOnly=true)
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
@Transactional(propagation=SUPPORTS,
readOnly=true)
int searchCount(long companyId,
java.lang.String name,
java.lang.String[] properties)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateEntry
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
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