com.liferay.portlet.asset.service
Class AssetTagServiceWrapper
java.lang.Object
com.liferay.portlet.asset.service.AssetTagServiceWrapper
- All Implemented Interfaces:
- BaseService, ServiceWrapper<AssetTagService>, AssetTagService
@ProviderType
public class AssetTagServiceWrapper
- extends Object
- implements AssetTagService, ServiceWrapper<AssetTagService>
Provides a wrapper for AssetTagService.
- See Also:
AssetTagService
|
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)
|
AssetTagService |
getWrappedService()
|
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)
|
void |
setWrappedService(AssetTagService assetTagService)
|
AssetTag |
updateTag(long tagId,
String name,
ServiceContext serviceContext)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssetTagServiceWrapper
public AssetTagServiceWrapper(AssetTagService assetTagService)
addTag
public AssetTag addTag(long groupId,
String name,
ServiceContext serviceContext)
throws PortalException
- Specified by:
addTag in interface AssetTagService
- Throws:
PortalException
deleteTag
public void deleteTag(long tagId)
throws PortalException
- Specified by:
deleteTag in interface AssetTagService
- Throws:
PortalException
deleteTags
public void deleteTags(long[] tagIds)
throws PortalException
- Specified by:
deleteTags in interface AssetTagService
- Throws:
PortalException
getGroupTags
public List<AssetTag> getGroupTags(long groupId)
- Specified by:
getGroupTags in interface AssetTagService
getGroupTags
public List<AssetTag> getGroupTags(long groupId,
int start,
int end,
OrderByComparator<AssetTag> obc)
- Specified by:
getGroupTags in interface AssetTagService
getGroupTagsCount
public int getGroupTagsCount(long groupId)
- Specified by:
getGroupTagsCount in interface AssetTagService
getGroupTagsDisplay
public AssetTagDisplay getGroupTagsDisplay(long groupId,
String name,
int start,
int end)
- Specified by:
getGroupTagsDisplay in interface AssetTagService
getGroupsTags
public List<AssetTag> getGroupsTags(long[] groupIds)
- Specified by:
getGroupsTags in interface AssetTagService
getJSONGroupTags
@Deprecated
public 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)
- Specified by:
getJSONGroupTags in interface AssetTagService
- Throws:
PortalException
getOSGiServiceIdentifier
public String getOSGiServiceIdentifier()
- Returns the OSGi service identifier.
- Specified by:
getOSGiServiceIdentifier in interface AssetTagService
- Returns:
- the OSGi service identifier
getTag
public AssetTag getTag(long tagId)
throws PortalException
- Specified by:
getTag in interface AssetTagService
- Throws:
PortalException
getTags
public List<AssetTag> getTags(String className,
long classPK)
- Specified by:
getTags in interface AssetTagService
getTags
public List<AssetTag> getTags(long groupId,
long classNameId,
String name)
- Specified by:
getTags in interface AssetTagService
getTags
public List<AssetTag> getTags(long groupId,
long classNameId,
String name,
int start,
int end,
OrderByComparator<AssetTag> obc)
- Specified by:
getTags in interface AssetTagService
getTags
public List<AssetTag> getTags(long groupId,
String name,
int start,
int end)
- Specified by:
getTags in interface AssetTagService
getTags
public List<AssetTag> getTags(long groupId,
String name,
int start,
int end,
OrderByComparator<AssetTag> obc)
- Specified by:
getTags in interface AssetTagService
getTags
public List<AssetTag> getTags(long[] groupIds,
String name,
int start,
int end)
- Specified by:
getTags in interface AssetTagService
getTags
public List<AssetTag> getTags(long[] groupIds,
String name,
int start,
int end,
OrderByComparator<AssetTag> obc)
- Specified by:
getTags in interface AssetTagService
getTagsCount
public int getTagsCount(long groupId,
String name)
- Specified by:
getTagsCount in interface AssetTagService
getVisibleAssetsTagsCount
public int getVisibleAssetsTagsCount(long groupId,
long classNameId,
String name)
- Specified by:
getVisibleAssetsTagsCount in interface AssetTagService
getVisibleAssetsTagsCount
public int getVisibleAssetsTagsCount(long groupId,
String name)
- Specified by:
getVisibleAssetsTagsCount in interface AssetTagService
mergeTags
public void mergeTags(long fromTagId,
long toTagId)
throws PortalException
- Specified by:
mergeTags in interface AssetTagService
- Throws:
PortalException
mergeTags
public void mergeTags(long[] fromTagIds,
long toTagId)
throws PortalException
- Specified by:
mergeTags in interface AssetTagService
- Throws:
PortalException
search
public JSONArray search(long groupId,
String name,
int start,
int end)
- Specified by:
search in interface AssetTagService
search
public JSONArray search(long[] groupIds,
String name,
int start,
int end)
- Specified by:
search in interface AssetTagService
updateTag
public AssetTag updateTag(long tagId,
String name,
ServiceContext serviceContext)
throws PortalException
- Specified by:
updateTag in interface AssetTagService
- Throws:
PortalException
getWrappedService
public AssetTagService getWrappedService()
- Specified by:
getWrappedService in interface ServiceWrapper<AssetTagService>
setWrappedService
public void setWrappedService(AssetTagService assetTagService)
- Specified by:
setWrappedService in interface ServiceWrapper<AssetTagService>