| 20 | use Psr\Log\LoggerInterface; |
| 21 | |
| 22 | class ActivityManager |
| 23 | { |
| 24 | const OBJECT_REPORT = 'analytics_report'; |
| 25 | const OBJECT_PANORAMA = 'analytics_panorama'; |
| 26 | const OBJECT_DATASET = 'analytics_dataset'; |
| 27 | const OBJECT_DATA = 'analytics_data'; |
| 28 | |
| 29 | const SUBJECT_REPORT_ADD = 'report_add'; |
| 30 | const SUBJECT_REPORT_DELETE = 'report_delete'; |
| 31 | const SUBJECT_REPORT_SHARE = 'report_share'; |
| 32 | |
| 33 | const SUBJECT_PANORAMA_ADD = 'panorama_add'; |
| 34 | const SUBJECT_PANORAMA_DELETE = 'panorama_delete'; |
| 35 | const SUBJECT_PANORAMA_SHARE = 'panorama_share'; |
| 36 | |
| 37 | const SUBJECT_DATASET_ADD = 'dataset_add'; |
| 38 | const SUBJECT_DATASET_DELETE = 'dataset_delete'; |
| 39 | const SUBJECT_DATASET_SHARE = 'dataset_share'; |
| 40 | |
| 41 | const SUBJECT_DATA_ADD = 'data_add'; |
| 42 | const SUBJECT_DATA_ADD_API = 'data_add_api'; |
| 43 | const SUBJECT_DATA_ADD_IMPORT = 'data_add_import'; |
| 44 | const SUBJECT_DATA_ADD_DATALOAD = 'data_add_dataload'; |
| 45 | |
| 46 | private $manager; |
| 47 | private $userId; |
| 48 | private $ShareMapper; |
| 49 | private $logger; |
| 50 | private $ReportMapper; |
| 51 | private $DatasetMapper; |
| 52 | private $PanoramaMapper; |
| 53 | private $appManager; |
| 54 | private $userManager; |
| 55 | |
| 56 | public function __construct( |
| 57 | IManager $manager, |
| 58 | ShareMapper $ShareMapper, |
| 59 | $userId, |
| 60 | ReportMapper $ReportMapper, |
| 61 | DatasetMapper $DatasetMapper, |
| 62 | LoggerInterface $logger, |
| 63 | PanoramaMapper $PanoramaMapper, |
| 64 | IAppManager $appManager, |
| 65 | IUserManager $userManager |
| 66 | ) |
| 67 | { |
| 68 | $this->manager = $manager; |
| 69 | $this->userId = $userId; |
| 70 | $this->ShareMapper = $ShareMapper; |
| 71 | $this->ReportMapper = $ReportMapper; |
| 72 | $this->DatasetMapper = $DatasetMapper; |
| 73 | $this->PanoramaMapper = $PanoramaMapper; |
| 74 | $this->logger = $logger; |
| 75 | $this->appManager = $appManager; |
| 76 | $this->userManager = $userManager; |
| 77 | } |
| 78 | |
| 79 | /** |
nothing calls this directly
no outgoing calls
no test coverage detected