|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.soton.itinnovation.registry.component.xml.login.XmlCredentialRequiredAdapter
uk.ac.soton.itinnovation.registry.component.xml.registration.XmlRegistrationFacility
public class XmlRegistrationFacility
Implementation of the registration interface using an XML database management system.
registration.Registration| Field Summary |
|---|
| Fields inherited from class uk.ac.soton.itinnovation.registry.component.xml.login.XmlCredentialRequiredAdapter |
|---|
credentialFacility |
| Constructor Summary | |
|---|---|
XmlRegistrationFacility()
|
|
| Method Summary | |
|---|---|
void |
deleteAllEntities()
Removes all entities form the registry that are accessible by the user. |
void |
deleteEntity(String concept,
String id)
Removes an entity from the registry. |
void |
insertRelationship(String fromEntityId,
String relationshipName,
String toEntityId)
Add a relationship between two entities stored. |
String |
registerEntity(String concept,
Document content,
String id)
Registers an entity in the registry. |
String |
registerEntity(String concept,
String content,
String id)
Registers an entity in the registry. |
String |
registerEntity(String concept,
URI uri,
String id)
Registers an entity in the registry. |
| Methods inherited from class uk.ac.soton.itinnovation.registry.component.xml.login.XmlCredentialRequiredAdapter |
|---|
getAccess, removeCredential, setCredential |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface uk.ac.soton.itinnovation.registry.icomponent.access.CredentialRequired |
|---|
removeCredential, setCredential |
| Constructor Detail |
|---|
public XmlRegistrationFacility()
throws AccessException
AccessException| Method Detail |
|---|
public String registerEntity(String concept,
URI uri,
String id)
throws RegistrationException,
AccessException
Registration
registerEntity in interface Registrationconcept - Concept to which the entity belongsuri - URI of the entityid - unique identifier. If the id is null, a new identifier will be automatically generated.
RegistrationException
AccessException
public String registerEntity(String concept,
String content,
String id)
throws RegistrationException,
AccessException
Registration
registerEntity in interface Registrationconcept - Concept to which the entity belongscontent - String content of entityid - unique identifier. If the id is null, a new identifier will be automatically generated.
RegistrationException
AccessException
public String registerEntity(String concept,
Document content,
String id)
throws RegistrationException,
AccessException
Registration
registerEntity in interface Registrationconcept - Concept to which the entity belongscontent - DOM document of entityid - unique identifier. If the id is null, a new identifier will be automatically generated.
RegistrationException
AccessException
public void deleteEntity(String concept,
String id)
throws RegistrationException,
AccessException
Registration
deleteEntity in interface RegistrationRegistrationException
AccessException
public void insertRelationship(String fromEntityId,
String relationshipName,
String toEntityId)
throws RegistrationException,
AccessException
Registration
insertRelationship in interface RegistrationRegistrationException
AccessException
public void deleteAllEntities()
throws RegistrationException,
AccessException
Registration
deleteAllEntities in interface RegistrationRegistrationException
AccessException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||