|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface describing the access context information the system needs to know, when working on resources.
| Method Summary | |
IAccessContext |
cloneContext()
Clone access context. |
long |
getAllowedStaleDataTimespan()
Get time the repository data may not be older than. |
java.lang.Object |
getClientDefinedProperty(java.lang.String name)
Get a client defined property from the context. |
java.lang.String |
getClientId()
Get id of the current client operating on the resouce. |
java.util.Locale |
getLocale()
Get locale of the current user. |
com.sap.netweaver.bc.rf.common.context.IUser |
getUser()
Get current user operating on the resouce. |
void |
setAllowedStaleDataTimespan(long allowedStaleDataTimespan)
Set time the repository data may not be older than. |
void |
setClientDefinedProperty(java.lang.String name,
java.lang.Object value)
Set a client defined property in the context. |
void |
setClientId(java.lang.String clientId)
Set id of the current client operating on the resouce. |
void |
setLocale(java.util.Locale locale)
Set locale of the current user. |
void |
setUser(com.sap.netweaver.bc.rf.common.context.IUser user)
Set current user operating on the resouce. |
| Method Detail |
public java.lang.String getClientId()
public void setClientId(java.lang.String clientId)
clientId - id of the current client operating on the resoucepublic com.sap.netweaver.bc.rf.common.context.IUser getUser()
public void setUser(com.sap.netweaver.bc.rf.common.context.IUser user)
user - current user operating on the resoucepublic java.util.Locale getLocale()
public void setLocale(java.util.Locale locale)
locale - locale of the current userpublic long getAllowedStaleDataTimespan()
public void setAllowedStaleDataTimespan(long allowedStaleDataTimespan)
allowedStaleDataTimespan - The new allowedStaleDataTimespan valuepublic java.lang.Object getClientDefinedProperty(java.lang.String name)
name - name of the client defined property
public void setClientDefinedProperty(java.lang.String name,
java.lang.Object value)
throws RepositoryException
name - name of the client defined propertyvalue - value of the client defined propertyRepositoryException - Exception raised in failure situationpublic IAccessContext cloneContext()
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||