-
Notifications
You must be signed in to change notification settings - Fork 61
Expand file tree
/
Copy pathODWPrivacyConcernMetadataProvider.h
More file actions
80 lines (66 loc) · 2.23 KB
/
ODWPrivacyConcernMetadataProvider.h
File metadata and controls
80 lines (66 loc) · 2.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
//
// Copyright (c) Microsoft Corporation. All rights reserved.
// SPDX-License-Identifier: Apache-2.0
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
/*!
@brief Represents a metadata provider for privacy concern events.
*/
@interface ODWPrivacyConcernMetadataProvider : NSObject
/*!
@brief Get the database name.
@param record The record for which to retrieve the database name.
@return A string representing the database name.
*/
- (NSString *)getDatabaseNameForRecord:(id)record;
/*!
@brief Get the server name.
@param record The record for which to retrieve the server name.
@return A string representing the server name.
*/
- (NSString *)getServerNameForRecord:(id)record;
/*!
@brief Get the event locator name.
@param record The record for which to retrieve the event locator name.
@return A string representing the event locator name.
*/
- (NSString *)getEventLocatorNameForRecord:(id)record;
/*!
@brief Get the event locator value.
@param record The record for which to retrieve the event locator value.
@return A string representing the event locator value.
*/
- (NSString *)getEventLocatorValueForRecord:(id)record;
/*!
@brief Get the override for the privacy guard event time.
@param record The record for which to retrieve the event time override.
@return An integer representing the event time override.
*/
- (int64_t)getPrivacyGuardEventTimeOverrideForRecord:(id)record;
/*!
@brief Check if the record should be ignored.
@param record The record to check.
@return A boolean indicating whether the record should be ignored.
*/
- (BOOL)getShouldIgnoreOverrideForRecord:(id)record;
/*!
@brief Get the associated tenant.
@param record The record for which to retrieve the associated tenant.
@return A string representing the associated tenant.
*/
- (NSString *)getAssociatedTenantForRecord:(id)record;
/*!
@brief Get the environment.
@param record The record for which to retrieve the environment.
@return A string representing the environment.
*/
- (NSString *)getEnvironmentForRecord:(id)record;
/*!
@brief Get the metadata.
@param record The record for which to retrieve the metadata.
@return A string representing the metadata.
*/
- (NSString *)getMetadataForRecord:(id)record;
@end
NS_ASSUME_NONNULL_END