com.liferay.portlet.asset.service
Interface AssetTagService

All Known Implementing Classes:
AssetTagServiceWrapper

@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,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)
           
 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)
           
 

Method Detail

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