|
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 | ||||||||
java.lang.Object
oracle.wcps.property.PropertyServiceContext
public class PropertyServiceContext
A concrete property service context object. To access property service locally IContext.NULL can be used. To access property service remotely the following properties are required
PropertyServiceContext.Builder.withUri(String), PropertyServiceContext.Builder.withUserName(String), PropertyServiceContext.Builder.withPassword(String)| Nested Class Summary | |
|---|---|
static class |
PropertyServiceContext.BuilderA builder class to create an instance of IContext. |
| Field Summary | |
|---|---|
static java.util.List<java.lang.String> |
SUPPORTED_CONTENT_TYPES |
| Fields inherited from interface oracle.wcps.property.IContext |
|---|
ACCEPT_HEADER_KEY, BASE, CONTENT_TYPE_HEADER_KEY, HTTP_REQUEST_KEY, HTTP_RESPONSE_KEY, NULL, OPTIMISTIC_CONCURRENCY_PROP_KEY, PASSWORD_KEY, URI_KEY, USERNAME_KEY |
| Method Summary | |
|---|---|
static PropertyServiceContext.Builder |
builder()A builder to create this. |
void |
clearInternalProperties() |
java.lang.String |
currentUser()Returns the authenticated user's name. |
boolean |
equals(java.lang.Object o) |
java.lang.Object |
getInternalProperty(java.lang.String key) |
java.lang.Object |
getProperty(java.lang.String key)Returns the value stored for the given key, otherwise null. |
int |
hashCode() |
boolean |
isOptimisticConcurrencyEnabled()Returns true if the optimistic concurrency feature is enabled, other wise false. |
void |
removeInternalProperty(java.lang.String key) |
void |
setInternalProperty(java.lang.String key, java.lang.Object value) |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.util.List<java.lang.String> SUPPORTED_CONTENT_TYPES
| Method Detail |
|---|
public boolean isOptimisticConcurrencyEnabled()
IContextBy 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.
isOptimisticConcurrencyEnabled in interface IContextpublic java.lang.Object getProperty(java.lang.String key)
IContextgetProperty in interface IContextkey - a property keypublic java.lang.String currentUser()
IContextcurrentUser in interface IContextpublic java.lang.Object getInternalProperty(java.lang.String key)
public void setInternalProperty(java.lang.String key,
java.lang.Object value)
public void removeInternalProperty(java.lang.String key)
public void clearInternalProperties()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic static PropertyServiceContext.Builder builder()
|
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 | ||||||||