org.eclipse.higgins.idas.cp.jena2
Interface ISharedContext

All Known Implementing Classes:
SharedContext, SharedFileContext, SharedJDBCContext

public interface ISharedContext


Method Summary
 IUserAccount authenticateUser(org.eclipse.higgins.idas.api.IAuthNMaterials credentials)
           
 void close(IJenaContext context)
           
 com.hp.hpl.jena.ontology.Individual getContextEntityIndividual()
           
 URI getContextEntityType()
           
 com.hp.hpl.jena.ontology.Individual getEntityIndividual(String uri, IUserAccount account)
           
 com.hp.hpl.jena.rdf.model.Property getProperty(String uri)
           
 com.hp.hpl.jena.rdf.model.Resource getResource(String uri, boolean createIfNotExists)
           
 void open(IJenaContext context)
           
 List<com.hp.hpl.jena.ontology.Individual> queryIndividuals(String query)
           
 void saveChanges(List<IStatefulObject> changedObjects)
           
 

Method Detail

getProperty

com.hp.hpl.jena.rdf.model.Property getProperty(String uri)
                                               throws org.eclipse.higgins.idas.api.IdASException
Throws:
org.eclipse.higgins.idas.api.IdASException

getResource

com.hp.hpl.jena.rdf.model.Resource getResource(String uri,
                                               boolean createIfNotExists)
                                               throws org.eclipse.higgins.idas.api.IdASException
Throws:
org.eclipse.higgins.idas.api.IdASException

getEntityIndividual

com.hp.hpl.jena.ontology.Individual getEntityIndividual(String uri,
                                                        IUserAccount account)
                                                        throws org.eclipse.higgins.idas.api.IdASException
Throws:
org.eclipse.higgins.idas.api.IdASException

queryIndividuals

List<com.hp.hpl.jena.ontology.Individual> queryIndividuals(String query)
                                                           throws org.eclipse.higgins.idas.api.IdASException
Throws:
org.eclipse.higgins.idas.api.IdASException

saveChanges

void saveChanges(List<IStatefulObject> changedObjects)
                 throws org.eclipse.higgins.idas.api.IdASException
Throws:
org.eclipse.higgins.idas.api.IdASException

open

void open(IJenaContext context)
          throws org.eclipse.higgins.idas.api.IdASException
Throws:
org.eclipse.higgins.idas.api.IdASException

close

void close(IJenaContext context)
           throws org.eclipse.higgins.idas.api.IdASException
Throws:
org.eclipse.higgins.idas.api.IdASException

authenticateUser

IUserAccount authenticateUser(org.eclipse.higgins.idas.api.IAuthNMaterials credentials)
                              throws org.eclipse.higgins.idas.api.IdASException
Throws:
org.eclipse.higgins.idas.api.IdASException

getContextEntityIndividual

com.hp.hpl.jena.ontology.Individual getContextEntityIndividual()
                                                               throws org.eclipse.higgins.idas.api.IdASException
Returns:
Singleton entity which holds attributes of context
Throws:
org.eclipse.higgins.idas.api.IdASException

getContextEntityType

URI getContextEntityType()
                         throws org.eclipse.higgins.idas.api.IdASException
Returns:
The type of singleton entity which holds attributes of context
Throws:
org.eclipse.higgins.idas.api.IdASException