|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter 11g Release 1 (11.1.1.4.0) E15995-03 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IContext
The property service context interface to manage set of properties used by the property service. It also provides commonly used keys to store values for them.
| Field Summary | |
|---|---|
static java.lang.String |
ACCEPT_HEADER_KEYThe property key for storing the accept HTTP request header. |
static java.lang.String |
BASE |
static java.lang.String |
CONTENT_TYPE_HEADER_KEYThe property key for storing the Content-Type HTTP request header property. |
static java.lang.String |
HTTP_REQUEST_KEYThe property key for storing the current HTTP Servlet request property. |
static java.lang.String |
HTTP_RESPONSE_KEYThe property key for storing the current HTTP Servlet response property. |
static IContext |
NULLThe null context, can be used to access property service api locally. |
static java.lang.String |
OPTIMISTIC_CONCURRENCY_PROP_KEYThe property key for storing the optimistic concurrency property. |
static java.lang.String |
PASSWORD_KEYThe property key for storing the password associated with a username. |
static java.lang.String |
URI_KEYThe property key for storing a base uri. |
static java.lang.String |
USERNAME_KEYThe property key for storing a username. |
| Method Summary | |
|---|---|
java.lang.String |
currentUser()Returns the authenticated user's name. |
java.lang.Object |
getProperty(java.lang.String key)Returns the value stored for the given key, otherwise null. |
boolean |
isOptimisticConcurrencyEnabled()Returns true if the optimistic concurrency feature is enabled, other wise false. |
| Field Detail |
|---|
static final IContext NULL
static final java.lang.String BASE
static final java.lang.String URI_KEY
static final java.lang.String USERNAME_KEY
static final java.lang.String PASSWORD_KEY
static final java.lang.String ACCEPT_HEADER_KEY
static final java.lang.String CONTENT_TYPE_HEADER_KEY
static final java.lang.String HTTP_REQUEST_KEY
static final java.lang.String HTTP_RESPONSE_KEY
static final java.lang.String OPTIMISTIC_CONCURRENCY_PROP_KEY
| Method Detail |
|---|
java.lang.Object getProperty(java.lang.String key)
key - a property keyjava.lang.String currentUser()
boolean isOptimisticConcurrencyEnabled()
By default last update/delete is preserved when concurrent updates and deletes to property service entities are done. To change this behavior to optimistic concurrency set the system property -Doracle.wcps.property.optimistic.concurrency.enable=true at server startup.
|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter 11g Release 1 (11.1.1.4.0) E15995-03 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||