com.liferay.portlet.asset.service
Interface AssetTagService
- All Known Implementing Classes:
- AssetTagServiceWrapper
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface AssetTagService
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.asset.service.impl.AssetTagServiceImpl
}.
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:
AssetTagServiceUtil
- Generated:
Method Summary |
AssetTag |
addTag(java.lang.String name,
java.lang.String[] tagProperties,
ServiceContext serviceContext)
|
void |
deleteTag(long tagId)
|
java.util.List<AssetTag> |
getGroupTags(long groupId)
|
AssetTag |
getTag(long tagId)
|
java.util.List<AssetTag> |
getTags(long groupId,
long classNameId,
java.lang.String name)
|
java.util.List<AssetTag> |
getTags(java.lang.String className,
long classPK)
|
void |
mergeTags(long fromTagId,
long toTagId)
|
com.liferay.portal.kernel.json.JSONArray |
search(long groupId,
java.lang.String name,
java.lang.String[] tagProperties,
int start,
int end)
|
AssetTag |
updateTag(long tagId,
java.lang.String name,
java.lang.String[] tagProperties,
ServiceContext serviceContext)
|
addTag
AssetTag addTag(java.lang.String name,
java.lang.String[] tagProperties,
ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteTag
void deleteTag(long tagId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getGroupTags
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<AssetTag> getGroupTags(long groupId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getTag
@Transactional(propagation=SUPPORTS,
readOnly=true)
AssetTag getTag(long tagId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getTags
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<AssetTag> getTags(long groupId,
long classNameId,
java.lang.String name)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getTags
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<AssetTag> getTags(java.lang.String className,
long classPK)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
mergeTags
void mergeTags(long fromTagId,
long toTagId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
search
@Transactional(propagation=SUPPORTS,
readOnly=true)
com.liferay.portal.kernel.json.JSONArray search(long groupId,
java.lang.String name,
java.lang.String[] tagProperties,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateTag
AssetTag updateTag(long tagId,
java.lang.String name,
java.lang.String[] tagProperties,
ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException