|
SAP NetWeaver 7.30 SP01 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IAccessContext
Interface describing the access context information the system needs to know, when working on resources.
| Field Summary | |
|---|---|
static String |
TRANSPORT_EXPORT
Defines the parameter name for the #getValue(String) method. |
static String |
TRANSPORT_IMPORT
Defines the parameter name for the #getValue(String) method. |
| Method Summary | |
|---|---|
IAccessContext |
cloneContext()
Clone access context. |
long |
getAllowedStaleDataTimespan()
Get time the repository data may not be older than. |
Map |
getClientDefinedProperties()
Returns a map containing all client defined properties |
Object |
getClientDefinedProperty(String name)
Get a client defined property from the context. |
String |
getClientId()
Get id of the current client operating on the resouce. |
Locale |
getLocale()
Get locale of the current user. |
String |
getTuccId()
Returns the TUCC transaction identifier - can be null. |
com.sap.security.api.IUser |
getUser()
Get current user operating on the resouce. |
Map |
getVariantContext()
Returns a map of context properties used for variant handling - may be null. |
void |
setAllowedStaleDataTimespan(long allowedStaleDataTimespan)
Set time the repository data may not be older than. |
void |
setClientDefinedProperty(String name,
Object value)
Set a client defined property in the context. |
void |
setClientId(String clientId)
Set id of the current client operating on the resouce. |
void |
setLocale(Locale locale)
Set locale of the current user. |
void |
setUser(com.sap.security.api.IUser user)
Set current user operating on the resouce. |
| Field Detail |
|---|
static final String TRANSPORT_IMPORT
#getValue(String) method. The framework will set this
parameter as a flag (returned value is not null) to indicate to a repository that
the createXXX() method is used to create a deserialized resource as part of a import of the transport service.
static final String TRANSPORT_EXPORT
#getValue(String) method. The framework will set this
parameter as a flag (returned value is not null) to indicate to a repository that
the readXXX() method is used to read and deserialize aresource as part of an export of the transport service.
see IResourceContext for parallel usage
| Method Detail |
|---|
String getClientId()
void setClientId(String clientId)
clientId - id of the current client operating on the resoucecom.sap.security.api.IUser getUser()
void setUser(com.sap.security.api.IUser user)
user - current user operating on the resouceLocale getLocale()
void setLocale(Locale locale)
locale - locale of the current userlong getAllowedStaleDataTimespan()
void setAllowedStaleDataTimespan(long allowedStaleDataTimespan)
allowedStaleDataTimespan - The new allowedStaleDataTimespan valueMap getClientDefinedProperties()
Object getClientDefinedProperty(String name)
name - name of the client defined property
void setClientDefinedProperty(String name,
Object value)
throws RepositoryException
name - name of the client defined propertyvalue - value of the client defined property
RepositoryException - Exception raised in failure situationIAccessContext cloneContext()
Map getVariantContext()
null.
null.String getTuccId()
null.
null.| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
|
SAP NetWeaver 7.30 SP01 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||