|
Collaboration API Documentation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Classes that implement the BsoPersistentDataContainer
interface
provide functionality similar to the java.util.Properties
Java class, but the property data is persisted to the FileNet Content Engine.
Implementations should create a snapshot of the Content Engine data when the
object is constructed. Data in the container is refreshed from the Content
Engine whenever the user modifies content via put
or remove
methods.
BsoPersistentDataContainerFactory
Field Summary | |
static java.lang.String |
ASSOCIATED_SYMNAME
Value of "PersistentDataContainer"; suggested Content Engine object property name for object associations with other persistent Content Engine objects. |
static java.lang.String |
FILE_EXTENSION
Value of ".txt"; suggested file extension for names of instances of BsoPersistentDataContainer objects persisted to the
Content Engine. |
static java.lang.String |
TITLE_PREFIX
Value of "persistentData"; suggested prefix for names of instances of BsoPersistentDataContainer objects persisted to the Content Engine. |
Method Summary | |
java.lang.String |
find(java.lang.String key)
Returns the property value associated with the given key. |
java.util.Iterator |
getDataKeys()
Returns an iterator over a collection of keys to the container data. |
java.util.Iterator |
getSortedDataKeys()
Returns a sorted iterator over a collection of keys to the container data. |
void |
put(java.lang.String[] keys,
java.lang.String[] values)
Stores multiple values in the container and associates them with their respective keys. |
void |
put(java.lang.String key,
java.lang.String value)
Stores a value in the container and associates it with the given key. |
void |
remove(java.lang.String keyName)
Removes a value and key from the container. |
void |
remove(java.lang.String[] keyNames)
Removes multiple values and keys from the container. |
Field Detail |
public static final java.lang.String ASSOCIATED_SYMNAME
public static final java.lang.String TITLE_PREFIX
BsoPersistentDataContainer
objects persisted to the Content Engine.public static final java.lang.String FILE_EXTENSION
BsoPersistentDataContainer
objects persisted to the
Content Engine.Method Detail |
public java.lang.String find(java.lang.String key)
String
value associated with the key.public void put(java.lang.String key, java.lang.String value)
key
- A String
containing the key.
value
- A String
containing the value to store.public void put(java.lang.String[] keys, java.lang.String[] values)
keys
- A String
array containing the keys.
values
- A String
array containing the values to store.public void remove(java.lang.String keyName)
keyName
- A String
containing the name of the key to remove.public void remove(java.lang.String[] keyNames)
keyNames
- A String
array containing the names of the
keys to remove.public java.util.Iterator getDataKeys()
public java.util.Iterator getSortedDataKeys()
|
Collaboration API Documentation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |