Liferay 6.0-ee

com.liferay.portlet.asset.service
Interface AssetTagService

All Known Implementing Classes:
AssetTagServiceBaseImpl, AssetTagServiceImpl, 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 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.

See Also:
AssetTagServiceUtil, AssetTagServiceBaseImpl, AssetTagServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Method Summary
 AssetTag addTag(String name, String[] tagProperties, ServiceContext serviceContext)
           
 void deleteTag(long tagId)
           
 List<AssetTag> getGroupTags(long groupId)
           
 AssetTag getTag(long tagId)
           
 List<AssetTag> getTags(long groupId, long classNameId, String name)
           
 List<AssetTag> getTags(String className, long classPK)
           
 void mergeTags(long fromTagId, long toTagId)
           
 JSONArray search(long groupId, String name, String[] tagProperties, int start, int end)
           
 AssetTag updateTag(long tagId, String name, String[] tagProperties, ServiceContext serviceContext)
           
 

Method Detail

addTag

AssetTag addTag(String name,
                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)
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)
List<AssetTag> getTags(long groupId,
                                                                long classNameId,
                                                                String name)
                       throws PortalException,
                              SystemException
Throws:
PortalException
SystemException

getTags

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<AssetTag> getTags(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,
                                                          String name,
                                                          String[] tagProperties,
                                                          int start,
                                                          int end)
                 throws PortalException,
                        SystemException
Throws:
PortalException
SystemException

updateTag

AssetTag updateTag(long tagId,
                   String name,
                   String[] tagProperties,
                   ServiceContext serviceContext)
                   throws PortalException,
                          SystemException
Throws:
PortalException
SystemException

Liferay 6.0-ee