|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The interface of provides the basic oprationsto manage the distinct versions and states of the repository. Locking/Unlocking of the statements in the repository can be applyed.
| Method Summary | |
String |
branchState(long stateUID)
branch the repository at given state for further operations. |
void |
continueCounterIncrement()
Coninue with the normal increment of the update counter on each modification made in the repository. |
Map |
getMetaInfo(String subj,
String pred,
String obj)
Retrieves the meta info associated with a statement. |
Iterator |
getUpdateIds()
Retrive list of all Updates of the repository. |
Map |
getUpdateMetaInfo(String updateId)
Retrieves the meta info associated with an update. |
Iterator |
getVersionIds()
Retrieves an iterator over the version ids. |
Map |
getVersionMetaInfo(String versionId)
Retrieves the meta info associated with a version . |
Iterator |
getVersions()
Retrive list of all labeled states of the repository. |
boolean |
isPausedCounterIncrement()
Check if the update couter ss paused |
void |
labelCurrentState(String label)
Create a labeled version of the curent repository state. |
void |
labelState(long stateUID,
String label)
Create a labeled version for a state of the repository assigning the necessary mata-information about that operation. |
void |
lockStatements(Iterator statementsList)
Perform locking of statements in the repository |
void |
pauseCounterIncrement()
Stop the increment of the update counter. |
void |
revertToState(long stateUID)
Restore the repository to previous state removing all statements added after the value of the update counter and revive all remover ones. |
void |
unlockStatements(Iterator statementsList)
Perform unlocking of statements in the repository |
void |
workWithState(long stateUID)
Sets the repository to given statete for further read operations. |
| Methods inherited from interface org.openrdf.sesame.sail.Sail |
initialize, shutDown |
| Method Detail |
public void labelState(long stateUID,
String label)
stateUID - the update counter of a particular repository statelabel - the label to assign
NOTE: This method can throw a security exception if the request is made on
behalf of the user with insufficent rights to create versionspublic void labelCurrentState(String label)
public void revertToState(long stateUID)
stateUID - the update counter of a particular repository state
NOTE: This method can throw a security exception if the request is made on
behalf of the user with insufficent rights to revert the repositorypublic void workWithState(long stateUID)
stateUID - the update counter of a particular repository statepublic String branchState(long stateUID)
stateUID - the update counter of a particular repository state
public Iterator getVersions()
public void lockStatements(Iterator statementsList)
statementsList - list of statemensts to lockpublic void unlockStatements(Iterator statementsList)
statementsList - list of statemensts to unlockpublic Iterator getUpdateIds()
public void pauseCounterIncrement()
public void continueCounterIncrement()
public boolean isPausedCounterIncrement()
public Iterator getVersionIds()
public Map getMetaInfo(String subj,
String pred,
String obj)
subj - the subject of the statementpred - the predicate of the statementobj - the object of the statement
public Map getUpdateMetaInfo(String updateId)
updateId - the id of the update
public Map getVersionMetaInfo(String versionId)
versionId - the id of the update
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||