public final class ClaimsKeeper extends Object
PropertiesClaim instances and
their mapping to certain RID prefixes
Copyright 2004 SAP AG
| Constructor and Description |
|---|
ClaimsKeeper() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(IClaimStaker staker)
this method will map the
PropertiesClaim to all prefixes
defined by the available IRepositoryManager instances. |
void |
add(IClaimStaker staker,
RID rid) |
PropertiesClaim |
getClaim(RID rid,
ISerializerRegistrator.PropertyUsage usage) |
public void add(IClaimStaker staker) throws ResourceException
PropertiesClaim to all prefixes
defined by the available IRepositoryManager instances.staker - the class providing the PropertiesClaim. Must
not be nullResourceException - ResourceExceptionpublic void add(IClaimStaker staker, RID rid)
staker - the class providing the PropertiesClaim. Must
not be nullrid - the rid to claim properties for. This rid will be trimmed to its
prefix, because properties can only be claimed for a complete
repository at a time. /documents/My Folder is
passed, the given IClaimStaker will be mapped to
the RID /documents.nullpublic PropertiesClaim getClaim(RID rid, ISerializerRegistrator.PropertyUsage usage)
rid - will be trimmed to its prefix. Must not be nullusage - usagePropertiesClaim of all
IClaimStaker instances that registered for the given
rid. Might be an empty list, but never
null| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2017 SAP AG Complete Copyright Notice