|
Oracle Fusion Middleware Java API Reference for Oracle WebCenter Portal 11g Release 1 (11.1.1.7.0) E15995-06 |
||||||||
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_KEY The property key for storing the accept HTTP request header. |
static java.lang.String |
BASE |
static java.lang.String |
CONTENT_TYPE_HEADER_KEY The property key for storing the Content-Type HTTP request header property. |
static java.lang.String |
HTTP_REQUEST_KEY The property key for storing the current HTTP Servlet request property. |
static java.lang.String |
HTTP_RESPONSE_KEY The property key for storing the current HTTP Servlet response property. |
static IContext |
NULL The null context, can be used to access property service api locally. |
static java.lang.String |
OPTIMISTIC_CONCURRENCY_PROP_KEY The property key for storing the optimistic concurrency property. |
static java.lang.String |
PASSWORD_KEY The property key for storing the password associated with a username. |
static java.lang.String |
URI_KEY The property key for storing a base uri. |
static java.lang.String |
USERNAME_KEY The 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 Portal 11g Release 1 (11.1.1.7.0) E15995-06 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |