|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.wcm.benchmark.preparation.repository.FastAPI
public class FastAPI
Fast access to the JCR.
| Nested Class Summary | |
|---|---|
protected static class |
FastAPI.DCPropertyQName
The Class DCPropertyQName. |
| Field Summary | |
|---|---|
protected org.apache.commons.logging.Log |
log
The log. |
| Constructor Summary | |
|---|---|
FastAPI(org.exoplatform.services.jcr.impl.core.SessionImpl session)
Instantiates a new fast api. |
|
| Method Summary | |
|---|---|
protected void |
addNode_file(java.lang.String name,
int orderNum,
java.lang.String metadata,
org.exoplatform.services.jcr.impl.dataflow.TransientNodeData parentNode,
org.exoplatform.services.jcr.impl.dataflow.TransientValueData fData,
java.lang.String mimeType,
java.lang.String title)
Adds the node_file. |
org.exoplatform.services.jcr.impl.dataflow.TransientNodeData |
addNode(java.lang.String name,
int orderNum,
org.exoplatform.services.jcr.impl.core.NodeImpl parentNode)
Adds the node. |
org.exoplatform.services.jcr.impl.dataflow.TransientNodeData |
addNode(java.lang.String name,
int orderNum,
org.exoplatform.services.jcr.impl.dataflow.TransientNodeData parentNode)
Adds the node. |
void |
commit()
Commit. |
org.exoplatform.services.jcr.impl.dataflow.TransientNodeData |
createNodeData_nt_folder(java.lang.String name,
int orderNum,
org.exoplatform.services.jcr.impl.core.NodeImpl parentNode)
Creates the node data_nt_folder. |
org.exoplatform.services.jcr.impl.dataflow.TransientNodeData |
createNodeData(org.exoplatform.services.jcr.datamodel.InternalQName iQName,
int orderNum,
org.exoplatform.services.jcr.impl.dataflow.TransientNodeData parentNode,
org.exoplatform.services.jcr.datamodel.InternalQName primaryType,
org.exoplatform.services.jcr.datamodel.InternalQName mixinName)
Creates the node data. |
void |
release()
Release. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.apache.commons.logging.Log log
| Constructor Detail |
|---|
public FastAPI(org.exoplatform.services.jcr.impl.core.SessionImpl session)
session - the session| Method Detail |
|---|
public void release()
public void commit()
public org.exoplatform.services.jcr.impl.dataflow.TransientNodeData addNode(java.lang.String name,
int orderNum,
org.exoplatform.services.jcr.impl.core.NodeImpl parentNode)
throws java.lang.Exception
name - the nameorderNum - the order numparentNode - the parent node
java.lang.Exception - the exception
public org.exoplatform.services.jcr.impl.dataflow.TransientNodeData createNodeData_nt_folder(java.lang.String name,
int orderNum,
org.exoplatform.services.jcr.impl.core.NodeImpl parentNode)
name - the nameorderNum - the order numparentNode - the parent node
public org.exoplatform.services.jcr.impl.dataflow.TransientNodeData addNode(java.lang.String name,
int orderNum,
org.exoplatform.services.jcr.impl.dataflow.TransientNodeData parentNode)
throws java.lang.Exception
name - the nameorderNum - the order numparentNode - the parent node
java.lang.Exception - the exception
public org.exoplatform.services.jcr.impl.dataflow.TransientNodeData createNodeData(org.exoplatform.services.jcr.datamodel.InternalQName iQName,
int orderNum,
org.exoplatform.services.jcr.impl.dataflow.TransientNodeData parentNode,
org.exoplatform.services.jcr.datamodel.InternalQName primaryType,
org.exoplatform.services.jcr.datamodel.InternalQName mixinName)
throws java.lang.Exception
iQName - the i q nameorderNum - the order numparentNode - the parent nodeprimaryType - the primary typemixinName - the mixin name
java.lang.Exception - the exception
protected void addNode_file(java.lang.String name,
int orderNum,
java.lang.String metadata,
org.exoplatform.services.jcr.impl.dataflow.TransientNodeData parentNode,
org.exoplatform.services.jcr.impl.dataflow.TransientValueData fData,
java.lang.String mimeType,
java.lang.String title)
throws java.lang.Exception
name - the nameorderNum - the order nummetadata - the metadataparentNode - the parent nodefData - the f datamimeType - the mime typetitle - the title
java.lang.Exception - the exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||