|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.persvr.datasource.MapInitializer
public class MapInitializer
| Constructor Summary | |
|---|---|
MapInitializer()
|
|
| Method Summary | |
|---|---|
void |
finished()
This should be called to indicate that the initialization is complete |
Persistable |
getInitializingObject()
This can be called to return the newly initialized object |
java.util.Map<java.lang.String,java.lang.Object> |
getMap()
|
void |
initializeFunction(java.lang.String source,
boolean authorizedOnServer)
|
void |
initializeList(java.util.Iterator iterator)
This should be called to indicate that the new data object should be a list and provides an iterator to populate the list The iterator may not go through all the values in the list at the initial load, but may wait until they are needed (which may be much later) |
void |
setAcl(java.security.acl.Acl acl)
|
void |
setCacheLevel(long time)
|
void |
setParent(ObjectId objectToInheritFrom)
This should be called to initialize an object to inherit it's acl and schema from another object. |
void |
setPersistentAcl(ObjectId aclId)
|
void |
setProperty(java.lang.String name,
java.lang.Object value)
This should be called to initialize a property value |
void |
setProperty(java.lang.String name,
java.lang.Object value,
int attributes)
This can be called to initialize a property value with attributes (like DontEnum, and ReadOnly) |
void |
setSchema(Persistable schema)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MapInitializer()
| Method Detail |
|---|
public void finished()
PersistableInitializer
finished in interface PersistableInitializerpublic Persistable getInitializingObject()
PersistableInitializer
getInitializingObject in interface PersistableInitializer
public void initializeFunction(java.lang.String source,
boolean authorizedOnServer)
public void initializeList(java.util.Iterator iterator)
PersistableInitializer
initializeList in interface PersistableInitializerpublic void setAcl(java.security.acl.Acl acl)
public void setCacheLevel(long time)
public void setParent(ObjectId objectToInheritFrom)
PersistableInitializer
setParent in interface PersistableInitializerpublic void setPersistentAcl(ObjectId aclId)
public void setProperty(java.lang.String name,
java.lang.Object value)
PersistableInitializer
setProperty in interface PersistableInitializer
public void setProperty(java.lang.String name,
java.lang.Object value,
int attributes)
PersistableInitializer
setProperty in interface PersistableInitializerpublic void setSchema(Persistable schema)
public java.util.Map<java.lang.String,java.lang.Object> getMap()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||