public interface ClientDataProvider
Modifier and Type | Interface and Description |
---|---|
static class |
ClientDataProvider.RequestType |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
static java.lang.String |
INVALIDINPUT |
static java.lang.String |
VERSION |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAccessGroupFromApplication(PublicAPI tools,
java.lang.String appName)
API to return access group for the application
|
java.util.Map<java.lang.String,java.lang.String> |
getAllClientIdentifierValues(PublicAPI tools,
java.lang.String appName,
java.lang.String clientIDLabel,
java.lang.String clientID)
API to return all client identifier values for the application
|
java.lang.String |
getClientIdentifiersInJsonFormat(PublicAPI tools,
java.lang.String applicationName)
API to return client identifiers for the application in json format
|
ClipboardPage |
getClientPreferences(PublicAPI tools,
java.lang.String applicationName,
java.lang.String clientID)
API to fetch client function preferences
|
boolean |
isFunctionRestricted(PublicAPI tools,
java.lang.String appName,
java.lang.String clientID,
java.lang.String functionName,
java.lang.String channelName)
API to check whether the function for a channel is set as restricted through preferences by a client
|
java.lang.String |
parseClientDataFromClipboardToJson(PublicAPI tools,
ClipboardPage page,
ClientDataProvider.RequestType requestType)
API to parse client data from clipboardPage to json format
|
ClipboardPage |
parseClientDataFromJsonToClipboard(PublicAPI tools,
java.lang.String inputJson,
ClientDataProvider.RequestType requestType)
API to parse client data from json to clipboardPage format
|
ClipboardPage |
parseFunctionPreferencesFromJsonToClipboardPage(PublicAPI tools,
ClipboardPage inputJson)
API to parse client function preferences to clipboardPage
|
void |
processAllClientRequests(PublicAPI tools)
Process all the client requests(access/rectify/erase)
|
java.lang.String |
processSyncAccessRequestAsBatch(PublicAPI tools,
java.lang.String clientAccessRequestCaseID)
Processes client data access request synchronously
|
void |
updateClientFunctionPreferences(PublicAPI tools,
java.lang.String appName,
java.lang.String clientIDLabel,
java.lang.String clientID,
ClipboardPage newClientPreferences)
API to update client function preferences
|
boolean |
validateClientRequest(PublicAPI tools,
ClipboardPage RequestPage)
validate a given client request JSON
|
boolean |
validateExternalPropertyLabels(PublicAPI tools,
ClipboardPage aPage) |
static final java.lang.String COPYRIGHT
static final java.lang.String VERSION
static final java.lang.String INVALIDINPUT
java.lang.String getClientIdentifiersInJsonFormat(PublicAPI tools, java.lang.String applicationName)
tools
- instance of Executable.applicationName
- name of the application in which personal data is stored.ClipboardPage parseClientDataFromJsonToClipboard(PublicAPI tools, java.lang.String inputJson, ClientDataProvider.RequestType requestType)
tools
- instance of Executable.inputJson
- client data json as string.requestType
- whether access/rectify/erasejava.lang.String parseClientDataFromClipboardToJson(PublicAPI tools, ClipboardPage page, ClientDataProvider.RequestType requestType)
tools
- instance of Executable.page
- client data as clipboardPage.requestType
- whether access/rectify/eraseClipboardPage parseFunctionPreferencesFromJsonToClipboardPage(PublicAPI tools, ClipboardPage inputJson)
tools
- instance of Executable.inputJson
- client function preferences as clipboardPage.void updateClientFunctionPreferences(PublicAPI tools, java.lang.String appName, java.lang.String clientIDLabel, java.lang.String clientID, ClipboardPage newClientPreferences) throws java.lang.Exception
tools
- instance of Executable.appName
- name of the application for which preferences are to be updated.clientIDLabel
- external label provided for the identifierclientID
- value of the identifier that identifies the clientnewClientPreferences
- preferences to be added/modified.java.lang.Exception
ClipboardPage getClientPreferences(PublicAPI tools, java.lang.String applicationName, java.lang.String clientID)
tools
- instance of Executable.applicationName
- name of the application for which preferences are to be fetched.clientID
- value of the identifier that identifies the clientboolean isFunctionRestricted(PublicAPI tools, java.lang.String appName, java.lang.String clientID, java.lang.String functionName, java.lang.String channelName)
tools
- instance of Executable.appName
- name of the application for which preferences are to be fetched.clientID
- value of the identifier that identifies the clientfunctionName
- name of the function to be verified.channelName
- channel type to be verified.void processAllClientRequests(PublicAPI tools)
tools
- instance of Executable.java.lang.String processSyncAccessRequestAsBatch(PublicAPI tools, java.lang.String clientAccessRequestCaseID)
tools
- instance of Executable.clientAccessRequestCaseID
- case ID of the client access request caseboolean validateClientRequest(PublicAPI tools, ClipboardPage RequestPage)
tools
- instance of Executable.RequestPage
- instance of clientdata-work, that gets populated with required info.boolean validateExternalPropertyLabels(PublicAPI tools, ClipboardPage aPage)
tools
- instance of Executable.aPage
- CBAC policy page, whose external labels are to be validatedjava.lang.String getAccessGroupFromApplication(PublicAPI tools, java.lang.String appName)
tools
- instance of Executable.appName
- name of the application for which access group is requiredjava.util.Map<java.lang.String,java.lang.String> getAllClientIdentifierValues(PublicAPI tools, java.lang.String appName, java.lang.String clientIDLabel, java.lang.String clientID) throws DatabaseException
tools
- instance of Executable.appName
- name of the application for which access group is requiredclientIDLabel
- external label provided for the identifierclientID
- value of the identifier that identifies the clientDatabaseException
Copyright © 2018 Pegasystems Inc. All Rights Reserved.