public void mergeTags(long fromTagId, long toTagId, boolean overrideProperties) throws PortalException, SystemException { AssetTagPermission.check(getPermissionChecker(), fromTagId, ActionKeys.VIEW); AssetTagPermission.check(getPermissionChecker(), toTagId, ActionKeys.UPDATE); assetTagLocalService.mergeTags(fromTagId, toTagId, overrideProperties); }
public void deleteTags(long[] tagIds) throws PortalException, SystemException { for (long tagId : tagIds) { AssetTagPermission.check(getPermissionChecker(), tagId, ActionKeys.DELETE); assetTagLocalService.deleteTag(tagId); } }
public AssetTag updateTag( long tagId, String name, String[] tagProperties, ServiceContext serviceContext) throws PortalException, SystemException { AssetTagPermission.check(getPermissionChecker(), tagId, ActionKeys.UPDATE); return assetTagLocalService.updateTag(getUserId(), tagId, name, tagProperties, serviceContext); }
public AssetTag getTag(long tagId) throws PortalException, SystemException { AssetTagPermission.check(getPermissionChecker(), tagId, ActionKeys.VIEW); return assetTagLocalService.getTag(tagId); }