com.liferay.portlet.asset.service
Interface AssetTagService
- All Known Implementing Classes:
- AssetTagServiceWrapper
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface AssetTagService
The interface for the asset tag remote service.
Never modify or reference this interface directly. Always use AssetTagServiceUtil to access the asset tag remote service. Add custom service methods to com.liferay.portlet.asset.service.impl.AssetTagServiceImpl and rerun ServiceBuilder to automatically copy the method declarations to this interface.
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,
com.liferay.portlet.asset.service.base.AssetTagServiceBaseImpl,
com.liferay.portlet.asset.service.impl.AssetTagServiceImpl- 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)
|
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 PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteTag
void deleteTag(long tagId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getGroupTags
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<AssetTag> getGroupTags(long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getTag
@Transactional(propagation=SUPPORTS,
readOnly=true)
AssetTag getTag(long tagId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getTags
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<AssetTag> getTags(long groupId,
long classNameId,
java.lang.String name)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getTags
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<AssetTag> getTags(java.lang.String className,
long classPK)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
mergeTags
void mergeTags(long fromTagId,
long toTagId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
search
@Transactional(propagation=SUPPORTS,
readOnly=true)
JSONArray search(long groupId,
java.lang.String name,
java.lang.String[] tagProperties,
int start,
int end)
throws SystemException
- Throws:
SystemException
updateTag
AssetTag updateTag(long tagId,
java.lang.String name,
java.lang.String[] tagProperties,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException