public final class ModelPersistenceContext extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
REPO_STOREID |
static String |
REPO_WEBAPPID |
| Constructor and Description |
|---|
ModelPersistenceContext(String userId)
Instantiates a new persister context.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getStoreId()
Gets the store id.
|
String |
getUserId()
Gets the user id.
|
Object |
getValue(String key)
Returns the stored value with the given key
|
String |
getWebappId()
Gets the webapp id.
|
Set<String> |
keys()
Returns the set of keys
|
void |
putValue(String key,
Object value)
Stores a value with the given key
|
void |
setStoreId(String storeId)
Sets the store id.
|
void |
setWebappId(String webappId)
Sets the webapp id.
|
String |
toString() |
Collection<Object> |
values()
Returns the collection of values
|
public static String REPO_STOREID
public static String REPO_WEBAPPID
public ModelPersistenceContext(String userId)
userId - the user idpublic String getUserId()
public Object getValue(String key)
key - the keypublic void putValue(String key, Object value)
key - the keyvalue - the valuepublic Collection<Object> values()
public void setStoreId(String storeId)
storeId - the new store idpublic String getStoreId()
public void setWebappId(String webappId)
webappId - the new webapp idpublic String getWebappId()
Copyright © 2005–2016 Alfresco Software. All rights reserved.