| Package | Description |
|---|---|
| com.sap.it.api.pd |
| Modifier and Type | Method and Description |
|---|---|
String |
PartnerDirectoryService.getAlternativePartnerId(String agency,
String scheme,
String partnerId)
Looks-up the alternative partner ID for the triple scheme, agency,
partner ID.
|
List<String> |
PartnerDirectoryService.getAuthorizedUsers(String partnerId)
Returns the authorized users of a partner.
|
Certificate |
PartnerDirectoryService.getCertificateParameter(String parameterId,
String partnerId)
Returns a X.509 certificate for a binary parameter with content type
"crt".
|
<T> T |
PartnerDirectoryService.getParameter(String parameterId,
String partnerId,
Class<T> type)
Returns the value of a partner directory parameter.
|
Collection<String> |
PartnerDirectoryService.getParameterIdsMatchingPattern(String patternForParameterId,
String partnerId,
Class<?> type)
Deprecated.
use
PartnerDirectoryService.getParameter(String, String, Class) instead.
Returns a collection of parameter IDs which match a given pattern and which belong to a given partner. This method should be used with caution. From a performance perspective, it is better to make many calls which return single values (see method getParameter(String parameterId, String partnerId, Class type)), instead of using this method, because the methods returning single values are caching the values whereas this method does not use a cache. Allowed pattern wildcards are:
Escape character is \ (backslash). The escape character that is put in front of a wildcard character to indicate that the wildcard should be interpreted as a regular character and not as a wildcard. Example: 'a\_1' finds the ID 'a_1'. You cannot use the character '[' or ']' in the pattern. If you use these characters in the pattern you will get an IllegalArgumentException. Do not use this method if you have more than about 800 parameters per partner ID. There is no index for the parameter ID column of the parameter table (the parameter ID length is too long for an index). Therefore the performance of this method will be insufficient if you have too many parameters per partner ID. |
<T> Map<String,T> |
PartnerDirectoryService.getParameters(String partnerId,
Class<T> type)
Deprecated.
use
PartnerDirectoryService.getParameter(String, String, Class) instead.
Returns the partner directory parameters for a given partner ID and parameter type. This method should be used with caution. From a performance perspective, it is better to make many calls which return single values (see method getParameter(String parameterId, String partnerId, Class type)), instead of using this method, because the methods returning single values are caching the values whereas this method does not use a cache. |
<T> Map<String,T> |
PartnerDirectoryService.getParametersMatchingPattern(String patternForParameterId,
String partnerId,
Class<T> type)
Deprecated.
use
PartnerDirectoryService.getParameter(String, String, Class) instead.
Returns the parameters for a given partner whose parameter IDs match a given pattern. This method should be used with caution. From a performance perspective, it is better to make many calls which return single values (see method getParameter(String parameterId, String partnerId, Class type)), instead of using this method, because the methods returning single values are caching the values whereas this method does not use a cache. Allowed pattern wildcards are:
Escape character is \ (backslash). The escape character that is put in front of a wildcard character to indicate that the wildcard should be interpreted as a regular character and not as a wildcard. Example: 'a\_1' finds the ID 'a_1'. You cannot use the character '[' or ']' in the pattern. If you use these characters in the pattern you will get an IllegalArgumentException. Do not use this method if you have more than about 800 parameters per partner ID. There is no index for the parameter ID column of the parameter table (the parameter ID length is too long for an index). Therefore the performance of this method will be insufficient if you have too many parameters per partner ID. |
String |
PartnerDirectoryService.getPartnerId(String agency,
String scheme,
String alternativePartnerId)
Looks-up the partner ID for the triple scheme, agency, alternative
partner ID.
|
String |
PartnerDirectoryService.getPartnerIdOfAuthorizedUser(String authorizedUser)
Returns the Partner ID to which a authorized user was assigned to.
|
Copyright © 2020 SAP. All rights reserved.