|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Connection
| Field Summary | |
|---|---|
static int |
NULL_LOCAL_REF
|
static long |
ROOT_OID
|
| Method Summary | |
|---|---|
void |
abortTransaction(Transaction t)
|
void |
addEntry(Transaction t,
long oid,
CoreEntry entry)
|
void |
close()
Might be called, even if Connection is already closed. |
void |
commitTransaction(Transaction t)
|
Transaction |
createTransaction()
|
void |
createUserLocal(Transaction t,
long oid)
|
void |
expireOids(java.util.Set<java.lang.Long> removed)
This method is called, when the client determines, that some oids are not active anymore. |
java.util.Map<java.lang.Long,CoreEntry> |
getEntry(long oid)
Returns the CoreEntry for he given oid. |
long |
getRoot(java.lang.String name)
|
long |
getUserLocal(long oid)
|
java.util.Set<java.lang.Integer> |
getWriteGroups()
Set of groups this connection is allowed to write to. |
void |
removeRoot(Transaction t,
java.lang.String string)
|
void |
setEntry(Transaction t,
long oid,
CoreEntry entry)
|
void |
setRoot(Transaction t,
java.lang.String name,
long oid)
|
void |
setUserLocal(Transaction t,
long userLocalOid,
long valueOid)
|
| Field Detail |
|---|
static final long ROOT_OID
static final int NULL_LOCAL_REF
| Method Detail |
|---|
long getRoot(java.lang.String name)
throws java.io.IOException,
CoreException,
UnknownRootException,
java.lang.InterruptedException
java.io.IOException
CoreException
UnknownRootException
java.lang.InterruptedException
void setRoot(Transaction t,
java.lang.String name,
long oid)
throws java.io.IOException,
CoreException,
AccessControlException,
java.lang.InterruptedException
java.io.IOException
CoreException
AccessControlException
java.lang.InterruptedException
void removeRoot(Transaction t,
java.lang.String string)
throws java.io.IOException,
CoreException,
AccessControlException,
java.lang.InterruptedException
java.io.IOException
CoreException
AccessControlException
java.lang.InterruptedException
java.util.Map<java.lang.Long,CoreEntry> getEntry(long oid)
throws java.io.IOException,
CoreException,
UnknownOIDException,
AccessControlException,
java.lang.InterruptedException
java.lang.InterruptedException
java.io.IOException
CoreException
UnknownOIDException
AccessControlException
void setEntry(Transaction t,
long oid,
CoreEntry entry)
throws java.io.IOException,
CoreException,
UnknownOIDException,
java.lang.InterruptedException
java.io.IOException
CoreException
UnknownOIDException
java.lang.InterruptedException
void addEntry(Transaction t,
long oid,
CoreEntry entry)
throws java.io.IOException,
CoreException,
UnknownOIDException
java.io.IOException
CoreException
UnknownOIDException
void createUserLocal(Transaction t,
long oid)
throws CoreException,
java.io.IOException
CoreException
java.io.IOException
void setUserLocal(Transaction t,
long userLocalOid,
long valueOid)
throws CoreException,
java.io.IOException,
java.lang.InterruptedException
valueOid - OID of an object or Connection.NULL_LOCAL_REF to set the
user local to null for this user.
CoreException
java.io.IOException
java.lang.InterruptedException
long getUserLocal(long oid)
throws CoreException,
java.io.IOException,
java.lang.InterruptedException
CoreException
java.io.IOException
java.lang.InterruptedException
Transaction createTransaction()
throws java.io.IOException,
CoreException
java.io.IOException
CoreException
void commitTransaction(Transaction t)
throws java.io.IOException,
CoreException,
UnknownOIDException,
AccessControlException
java.io.IOException
CoreException
UnknownOIDException
AccessControlException
void abortTransaction(Transaction t)
throws java.io.IOException,
CoreException
java.io.IOException
CoreExceptionvoid close()
void expireOids(java.util.Set<java.lang.Long> removed)
throws java.io.IOException,
CoreException
CoreException
java.io.IOExceptionjava.util.Set<java.lang.Integer> getWriteGroups()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||