|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.ecm.core.schema.Prefetch
public class Prefetch
Information about what's to be prefetched: individual properties and whole schemas.
Field Summary | |
---|---|
Map<String,List<String>> |
keysBySchema
map of schema -> list of prefix:name |
Map<String,Map<String,String>> |
keysBySchemaAndName
map of schema -> name -> prefix:name |
Map<String,Serializable> |
values
map of prefix:name -> value |
Constructor Summary | |
---|---|
Prefetch()
|
Method Summary | |
---|---|
void |
clearPrefetch(String schemaName)
Clears the prefetches for a given schema. |
Serializable |
get(String xpath)
|
Serializable |
get(String schemaName,
String name)
|
String |
getXPathSchema(String xpath,
DocumentType type)
Gets the schema name for a given xpath. |
boolean |
isEmpty()
|
boolean |
isPrefetched(String xpath)
|
boolean |
isPrefetched(String schemaName,
String name)
|
void |
put(String prefixedName,
String schemaName,
String name,
Serializable value)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public Map<String,Serializable> values
key can be a canonical xpath like prefix:name/0/othername
null values are stored as actual nulls
public Map<String,List<String>> keysBySchema
public Map<String,Map<String,String>> keysBySchemaAndName
Constructor Detail |
---|
public Prefetch()
Method Detail |
---|
public boolean isEmpty()
public void put(String prefixedName, String schemaName, String name, Serializable value)
public Serializable get(String xpath)
public Serializable get(String schemaName, String name)
public boolean isPrefetched(String xpath)
public boolean isPrefetched(String schemaName, String name)
public void clearPrefetch(String schemaName)
public String getXPathSchema(String xpath, DocumentType type)
The type is used to resolve non-prefixed properties.
null
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |