|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xiruss.repository.server.RepositoryBase org.xiruss.repository.multiuser.server.MultiUserRespositoryBase org.xiruss.repository.multiuserschema_aware.MultiUserSchemaAwareRepositoryBase
public class MultiUserSchemaAwareRepositoryBase
Implements a multi-user, schema-aware repository.
Field Summary | |
---|---|
(package private) static org.apache.log4j.Logger |
logger
|
Fields inherited from class org.xiruss.repository.server.RepositoryBase |
---|
branchesById, branchesByName, defaultStorageManager, dependenciesById, id, interfaceToClassMap, mutableSnapshots, nullBranch, nullMutableSnapshot, nullRepositoryObject, nullResource, nullSnapshot, objectsById, properties, resourcesByAlias, resourcesById, snapshotIdCtr, snapshotsById, usersByAlias, usersById, verIdCtr, versionsByAlias, versionsById |
Fields inherited from interface org.xiruss.repository.multiuser.api.MultiUserRepository |
---|
nullSession, 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 |
Constructor Summary | |
---|---|
MultiUserSchemaAwareRepositoryBase()
|
Method Summary | |
---|---|
Resource |
getSchemaResource(java.lang.String schemaUri)
Returns the resource of the specified schema. |
boolean |
hasSchema(java.lang.String schemaUri)
Returns true if the specified schema URI has been registered. |
void |
registerSchema(java.lang.String schemaUri,
Resource schema)
Registers a schema URI and its location. |
Methods inherited from class org.xiruss.repository.multiuser.server.MultiUserRespositoryBase |
---|
accept, endSession, getNullUser, getSession, getSessionById, getSessionCount, getSessionIterator, getUser, getUserCount, getUserIterator |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
static org.apache.log4j.Logger logger
Constructor Detail |
---|
public MultiUserSchemaAwareRepositoryBase() throws RepositoryException
RepositoryException
Method Detail |
---|
public void registerSchema(java.lang.String schemaUri, Resource schema)
registerSchema
in interface SchemaAwareRepository
schemaUri
- The URI (namespace name) of the schema, that is, the namespace that this
schema governs.schema
- The repository resource for the schema as it exists within the repository.public boolean hasSchema(java.lang.String schemaUri)
hasSchema
in interface SchemaAwareRepository
schemaUri
- The URI (namespace name) of the schema.
public Resource getSchemaResource(java.lang.String schemaUri)
getSchemaResource
in interface SchemaAwareRepository
schemaUri
- The schema to get.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |