com.sap.netweaver.bc.serialize
Class ClaimsKeeper
java.lang.Object
com.sap.netweaver.bc.serialize.ClaimsKeeper
public final class ClaimsKeeper
- extends Object
helper class used to organize PropertiesClaim instances and
their mapping to certain RID prefixes
Copyright 2004 SAP AG
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClaimsKeeper
public ClaimsKeeper()
add
public void add(IClaimStaker staker)
throws ResourceException
- this method will map the
PropertiesClaim to all prefixes
defined by the available IRepositoryManager instances.
- Parameters:
staker - the class providing the PropertiesClaim. Must
not be null
- Throws:
ResourceException
add
public void add(IClaimStaker staker,
RID rid)
- Parameters:
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.
If, for example, the RID /documents/My Folder is
passed, the given IClaimStaker will be mapped to
the RID /documents.
The parameter must not be null
getClaim
public PropertiesClaim getClaim(RID rid,
ISerializerRegistrator.PropertyUsage usage)
- Parameters:
rid - will be trimmed to its prefix. Must not be null
- Returns:
- the combined
PropertiesClaim of all
IClaimStaker instances that registered for the given
rid. Might be an empty list, but never
null
This class can be accessed from:
|
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 2014 SAP AG Complete Copyright Notice