Liferay 7.0-ce-b4

com.liferay.portlet.asset.service
Interface AssetTagService

All Superinterfaces:
BaseService
All Known Implementing Classes:
AssetTagServiceBaseImpl, AssetTagServiceImpl, AssetTagServiceWrapper

@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface AssetTagService
extends BaseService

Provides the remote service interface for AssetTag. 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(long groupId, String name, ServiceContext serviceContext)
           
 void deleteTag(long tagId)
           
 void deleteTags(long[] tagIds)
           
 List<AssetTag> getGroupsTags(long[] groupIds)
           
 List<AssetTag> getGroupTags(long groupId)
           
 List<AssetTag> getGroupTags(long groupId, int start, int end, OrderByComparator<AssetTag> obc)
           
 int getGroupTagsCount(long groupId)
           
 AssetTagDisplay getGroupTagsDisplay(long groupId, String name, int start, int end)
           
 JSONObject getJSONGroupTags(long groupId, String name, int start, int end)
          Deprecated. As of 6.2.0, replaced by getGroupTagsDisplay(long, String, int, int)
 String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
 AssetTag getTag(long tagId)
           
 List<AssetTag> getTags(long[] groupIds, String name, int start, int end)
           
 List<AssetTag> getTags(long[] groupIds, String name, int start, int end, OrderByComparator<AssetTag> obc)
           
 List<AssetTag> getTags(long groupId, long classNameId, String name)
           
 List<AssetTag> getTags(long groupId, long classNameId, String name, int start, int end, OrderByComparator<AssetTag> obc)
           
 List<AssetTag> getTags(long groupId, String name, int start, int end)
           
 List<AssetTag> getTags(long groupId, String name, int start, int end, OrderByComparator<AssetTag> obc)
           
 List<AssetTag> getTags(String className, long classPK)
           
 int getTagsCount(long groupId, String name)
           
 int getVisibleAssetsTagsCount(long groupId, long classNameId, String name)
           
 int getVisibleAssetsTagsCount(long groupId, String name)
           
 void mergeTags(long[] fromTagIds, long toTagId)
           
 void mergeTags(long fromTagId, long toTagId)
           
 JSONArray search(long[] groupIds, String name, int start, int end)
           
 JSONArray search(long groupId, String name, int start, int end)
           
 AssetTag updateTag(long tagId, String name, ServiceContext serviceContext)
           
 

Method Detail

addTag

AssetTag addTag(long groupId,
                String name,
                ServiceContext serviceContext)
                throws PortalException
Throws:
PortalException

deleteTag

void deleteTag(long tagId)
               throws PortalException
Throws:
PortalException

deleteTags

void deleteTags(long[] tagIds)
                throws PortalException
Throws:
PortalException

getGroupTags

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<AssetTag> getGroupTags(long groupId)

getGroupTags

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<AssetTag> getGroupTags(long groupId,
                                                                     int start,
                                                                     int end,
                                                                     OrderByComparator<AssetTag> obc)

getGroupTagsCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getGroupTagsCount(long groupId)

getGroupTagsDisplay

@Transactional(propagation=SUPPORTS,
               readOnly=true)
AssetTagDisplay getGroupTagsDisplay(long groupId,
                                                                             String name,
                                                                             int start,
                                                                             int end)

getGroupsTags

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<AssetTag> getGroupsTags(long[] groupIds)

getJSONGroupTags

@Deprecated
@Transactional(propagation=SUPPORTS,
               readOnly=true)
JSONObject getJSONGroupTags(long groupId,
                                                                                String name,
                                                                                int start,
                                                                                int end)
                            throws PortalException
Deprecated. As of 6.2.0, replaced by getGroupTagsDisplay(long, String, int, int)

Throws:
PortalException

getOSGiServiceIdentifier

String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Returns:
the OSGi service identifier

getTag

@Transactional(propagation=SUPPORTS,
               readOnly=true)
AssetTag getTag(long tagId)
                throws PortalException
Throws:
PortalException

getTags

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<AssetTag> getTags(String className,
                                                                long classPK)

getTags

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<AssetTag> getTags(long groupId,
                                                                long classNameId,
                                                                String name)

getTags

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<AssetTag> getTags(long groupId,
                                                                long classNameId,
                                                                String name,
                                                                int start,
                                                                int end,
                                                                OrderByComparator<AssetTag> obc)

getTags

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<AssetTag> getTags(long groupId,
                                                                String name,
                                                                int start,
                                                                int end)

getTags

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<AssetTag> getTags(long groupId,
                                                                String name,
                                                                int start,
                                                                int end,
                                                                OrderByComparator<AssetTag> obc)

getTags

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<AssetTag> getTags(long[] groupIds,
                                                                String name,
                                                                int start,
                                                                int end)

getTags

@Transactional(propagation=SUPPORTS,
               readOnly=true)
List<AssetTag> getTags(long[] groupIds,
                                                                String name,
                                                                int start,
                                                                int end,
                                                                OrderByComparator<AssetTag> obc)

getTagsCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getTagsCount(long groupId,
                                                          String name)

getVisibleAssetsTagsCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getVisibleAssetsTagsCount(long groupId,
                                                                       long classNameId,
                                                                       String name)

getVisibleAssetsTagsCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getVisibleAssetsTagsCount(long groupId,
                                                                       String name)

mergeTags

void mergeTags(long fromTagId,
               long toTagId)
               throws PortalException
Throws:
PortalException

mergeTags

void mergeTags(long[] fromTagIds,
               long toTagId)
               throws PortalException
Throws:
PortalException

search

@Transactional(propagation=SUPPORTS,
               readOnly=true)
JSONArray search(long groupId,
                                                          String name,
                                                          int start,
                                                          int end)

search

@Transactional(propagation=SUPPORTS,
               readOnly=true)
JSONArray search(long[] groupIds,
                                                          String name,
                                                          int start,
                                                          int end)

updateTag

AssetTag updateTag(long tagId,
                   String name,
                   ServiceContext serviceContext)
                   throws PortalException
Throws:
PortalException

Liferay 7.0-ce-b4