public class PcdAdministration extends Object
| Constructor and Description |
|---|
PcdAdministration() |
| Modifier and Type | Method and Description |
|---|---|
void |
clonePersonalization(String sourcePrincipalId,
List targetPrincipalIds,
boolean overwrite)
Copies the personalization for the given users
|
List |
getPersonalizedObjects(String principalId)
Returns the list object names (in PCD namespace) which are personalized by a given principal
a name
|
List |
getPersonalizingPrincipalIds(String nameInNamespace,
List principalIds)
Returns a list of the unique principal ids which have personalized the PCD object specified by
a name
|
void |
removeObjectFromCache(String name)
Removes the object that is bound to the given name from the PCD cache.
|
void |
removePersonalization(List principalIds,
List objectIds)
Removes the personalization for the given objects for all given principals
|
public void clonePersonalization(String sourcePrincipalId, List targetPrincipalIds, boolean overwrite) throws NamingException
sourcePrincipalId - The id of the principals for which the personalization is to be
copied. The list has to contain the unique principal ids as String.targetPrincipalIds - The names of the principals to which the personalization is copiedNamingExceptionpublic List getPersonalizedObjects(String principalId) throws NamingException
principalId - The unique principal id as StringNamingExceptionpublic List getPersonalizingPrincipalIds(String nameInNamespace, List principalIds) throws NamingException
nameInNamespace - The name in the PCD namespace without prefix (as instance of String)principalIds - A list of principal ids to search for. If the parameter is null, all users will be
returned. The list has to contain the unique principal ids as String.NamingExceptionpublic void removeObjectFromCache(String name) throws NamingException
name - The name (as instance of String)NamingExceptionpublic void removePersonalization(List principalIds, List objectIds) throws NamingException
principalIds - The ids of the principals for which the personalization is to be
removed. The list has to contain the unique principal ids as String.
If the parameter is null, personalization will be removed for all principals.objectIds - The names of the objects for which the personalization is to be
removed. If the parameter is null, the personalization of all objects will
be removed.NamingException| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-BASIS
|
[sap.com]
|
api
|
BC-PIN-PCD
|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/semantics/api
|
api
|
EP-PIN
|
Copyright 2021 SAP SE Complete Copyright Notice