|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MultiUserRepository
A repository that manages access by multiple concurrent users.
Field Summary | |
---|---|
static Session |
nullSession
|
static User |
nullUser
|
Fields inherited from interface org.xiruss.repository.api.Repository |
---|
builtinContainerNames, nullBranch, nullDependencyLink, nullDependencyMap, nullMutableSnapshot, nullRepository, nullRepositoryObject, nullResolutionPolicy, nullResource, nullResourceMap, nullSnapshot, nullSnapshotMap, nullStorageManager, nullVersion, nullVersionByResourceMap, nullVersionMap |
Method Summary | |
---|---|
void |
endSession(Session session)
Ends (closes) an active session. |
Session |
getSession(User user)
Get a session bound to a specific user. |
Session |
getSessionById(java.lang.String objId)
|
long |
getSessionCount()
|
java.util.Iterator |
getSessionIterator()
|
User |
getUser(java.lang.String objId)
|
long |
getUserCount()
Returns the number of users defined in the repository. |
java.util.Iterator |
getUserIterator()
Returns an iterator over the User objects in the repository. |
Field Detail |
---|
static final Session nullSession
static final User nullUser
Method Detail |
---|
Session getSession(User user)
user
- User getUser(java.lang.String objId)
long getUserCount()
java.util.Iterator getUserIterator()
void endSession(Session session)
session
- Session getSessionById(java.lang.String objId)
long getSessionCount()
java.util.Iterator getSessionIterator()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |