|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Packages that use IdASException | |
|---|---|
| org.eclipse.higgins.idas.api | Defines the core set of interfaces for IdAS. |
| org.eclipse.higgins.idas.api.model | This package defines core set of interfaces to simlify query and interpretation of IdAS context's schemas. |
| Uses of IdASException in org.eclipse.higgins.idas.api |
|---|
| Subclasses of IdASException in org.eclipse.higgins.idas.api | |
class |
AuthenticationException
Thrown when an attempt to authenticate has failed. |
class |
BadFilterException
|
class |
ContextNotOpenException
Thrown when methods requiring an open Context are called on a non-open Context. |
class |
ContextOpenException
Thrown when IContext.open() is called on an already open context. |
class |
InvalidSubjectIDException
Thrown when a specified Type is invalid. |
class |
InvalidTypeException
Thrown when a specified Type is invalid. |
class |
MultipleValuesExistException
Thrown in cases where an attribute is expected to have a single value but doesn't. |
class |
NoSuchSubjectException
Thrown when a specified Digital Subject is not found in the Context. |
class |
NotImplementedException
Thrown when the method being called has not been implemented by the context provider. |
class |
NotSingleValuedAttributeException
Thrown in cases where an attribute's model specifies that the attribute may hold multiple values and the caller expects the attribute to be restricted to a single value (and thus castable to ISingleValuedAttribute. |
class |
SubjectExistsException
|
| Methods in org.eclipse.higgins.idas.api that throw IdASException | |
void |
IContextRelationship.addRelatedContext(URI contextID)
Adds the specified context ID as a related context Note: This operation is only applied to any backing data store after IContext.applyUpdates() is called. |
void |
IContextRelationship.removeRelatedContext(URI contextID)
Removes the specified context ID as a related context Note: This operation is only applied to any backing data store after IContext.applyUpdates() is called. |
URI |
IContextRelationship.getType()
Returns this relationship's type. |
Iterator |
IContextRelationship.getRelatedObjects()
|
URI |
IAttribute.getAttrID()
Returns the type (AttributeID) of this attribute as a URI. |
Iterator |
IAttribute.getValues()
Returns all values for this attribute. |
IAttributeValue |
IAttribute.addValue(URI type)
Creates a new value for this attribute. |
IAttributeValue |
IAttribute.addValue(IAttributeValue copyFrom)
Creates a new value for this attribute by copying the passed IAttributeValue
Note: This operation is only applied to any backing data store after
IContext.applyUpdates() is called. |
ISimpleAttrValue |
IAttribute.addSimpleValue(URI type,
Object data)
Creates a new simple value for this attribute. |
IComplexAttrValue |
IAttribute.addComplexValue(URI type)
Creates a new complex value for this attribute. |
void |
IAttribute.remove()
Removes this attribute from its container Note: This operation is only applied to any backing data store after IContext.applyUpdates() is called. |
IAttributeModel |
IAttribute.getModel()
Returns a model of this type of attribute as it defined in the context's schema. |
boolean |
IAttribute.isSingleValued()
Convenience method which returns true when the model for this attribute dictates that only a single value my exist. |
boolean |
IAttribute.equals(IAttribute attr)
Returns true if the passed attribute is equal to this one. |
boolean |
IAttributeValue.isSimple()
|
URI |
IAttributeValue.getType()
Returns this value's type (like string, int, address) TODO (Doc): refer to an example like those found at http://wiki.eclipse.org/index.php/Person-with-address_Example_Context_Ontology |
void |
IAttributeValue.remove()
Removes this value from its IAttribute container Note: This operation is only applied to any backing data store after IContext.applyUpdates() is called. |
boolean |
IAttributeValue.equals(IAttributeValue value)
returns true if this IAttributeValue is equal to the passed IAttributeValue This should test the attribute ID, metadata, and the value for equality. |
URI |
ITypedValue.getType()
|
String |
ITypedValue.getLexical()
Returns a lexical representation if this value is a literal |
String |
ITypedValue.getCanonical()
Returns the canonical representation if this value is a literal |
Object |
ITypedValue.getData()
Returns the underlying Java object holding this simple type's value. |
void |
ITypedValue.setData(Object data)
Sets the data for this simple value. |
void |
IFilterMetadataAssertion.setAssertionValue(IMetadata assertion)
Specifies the assertion data to be tested against values of a metadata container's metadata. |
Iterator |
IHasMetadata.getMetadataSet()
Returns this Object's metadata elements as an Iterable. |
IMetadata |
IHasMetadata.getMetadata(URI metadataID)
Returns the specified metadata of this object. |
IMetadata |
IHasMetadata.addMetadata(URI metadataID)
Creates a new Metadata element for this container of metadata. |
IMetadata |
IHasMetadata.addMetadata(IMetadata copyFrom)
Creates a new Metadata element for this container of metadata by copying the data from the passed IMetadata. |
boolean |
IHasMetadata.equals(IHasMetadata metadataSet)
Returns true if the passed metadata set is equal to this one. |
String |
IContextFactory.getName()
|
Iterator |
IContextFactory.getContexts(String filter)
|
IContext |
IContextFactory.createContext(IContextId contextID)
Using a context ID, creates an instance of IContext and returns it. |
String |
IContextFactory.getPolicy()
Returns the policy in effect for this Context Factory. |
void |
IContextFactory.setPolicy(String policy)
Sets the policy for for this Context Factory. |
void |
IFilterAssertion.setComparator(String comparator)
Set the comparison operator (equal, less, greater, beginsWith, etc.) |
void |
IFilterAssertion.setID(URI id,
boolean bIncludeSubtypes)
Identifies the component to be compared. For Digital Subject attribute assertions, this would be the type of the attribute (see IAttribute.getAttrID())For Digital Subject CUID and Digital Subject type assertions, the type is not set. For Digital Subject metadata assertions, this would be the type of the metadata (see IMetadata.getID()) |
void |
IFilterAssertion.setID(URI id)
|
void |
IFilterAssertion.includeSubtypes(boolean bIncludeSubtypes)
Calling this the same as calling IFilterAssertion.setID(URI, boolean) and setting the boolean to true. |
String |
IContext.open(Object authentication)
Opens this Context using the provided authentication object. |
void |
IContext.close()
Closes this Context and returns it to an un-open state. |
boolean |
IContext.isOpen(Object identity)
Tests whether this context is open and authenticated using the specified identity |
String |
IContext.getSchema()
Returns the schema governing this context. |
void |
IContext.setSchema(String schema)
Sets the schema governing this context. |
IContextModel |
IContext.getContextModel()
Returns a model of the context object as it defined in the context's schema. |
IModel |
IContext.getModel(URI elementType)
Returns a model of whatever is named by the passed identifier |
URI |
IContext.getContextRef()
Returns a reference to this Context. |
String |
IContext.exportData(String filter,
String representationFormat)
Exports this Context. |
void |
IContext.importData(String filter,
String representationFormat)
Imports this Context. |
IAuthNAttributesMaterials |
IContext.buildAuthNAttributesMaterials()
Builds an IAuthNAttributesMaterials that may be used when calling IContext.open(Object) |
IAttribute |
IContext.buildAttribute(URI attrID)
Builds an IAttribute (unassociated with any digital subject). |
IFilter |
IContext.buildFilter()
Builds an IFilter instance that may be used when calling IContext.getSubjects(IFilter) |
IFilterAttributeAssertion |
IContext.buildAttributeAssertion()
Builds an assertion for Digital Subject Attributes (see IHasAttributes.getAttributes() and IHasAttributes.getAttribute(URI))
which can be passed to IFilter.setAssertion(IFilterAssertion) |
IFilterCUIDAssertion |
IContext.buildCUIDAssertion()
Builds an assertion for Digital Subject CUIDs (see IDigitalSubject.getSubjectID())
which can be passed to IFilter.setAssertion(IFilterAssertion) |
IFilterMetadataAssertion |
IContext.buildMetadataAssertion()
Builds an assertion for Digital Subject Metadata (see IHasMetadata.getMetadataSet())
which can be passed to IFilter.setAssertion(IFilterAssertion) |
IFilterTypeAssertion |
IContext.buildTypeAssertion()
Builds an assertion for Digital Subject Types (see IDigitalSubject.getType())
which can be passed to IFilter.setAssertion(IFilterAssertion) |
ISimpleAttrValue |
IContext.buildSimpleAttrValue(URI type,
Object value)
Builds a simple attribute value to be passed to IFilterAttributeAssertion.setAssertionValue(IAttributeValue). |
IComplexAttrValue |
IContext.buildComplexAttrValue(URI type)
Builds a complex attribute value to be passed to IFilterAttributeAssertion.setAssertionValue(IAttributeValue). |
IContextRelationship |
IContext.buildRelationship(URI type)
Builds a relationship to be passed to IContext.addRelationship(URI). |
IDigitalSubject |
IContext.addSubject(URI type,
String subjectID)
Creates a new Digital Subject for this Context. This call is typically followed by one or more calls to IHasAttributes.addAttribute(java.net.URI), IHasMetadata.addMetadata(java.net.URI)
on the returned IDigitalSubject
Note: This operation is only applied to any backing data
store after IContext.applyUpdates() |
IDigitalSubject |
IContext.addSubject(IDigitalSubject copyFrom)
Creates a new Digital Subject for this Context by copying the data from the passed subject Note: This operation is only applied to any backing data store after IContext.applyUpdates() is called. |
IDigitalSubject |
IContext.getSubject(String cuid)
This is the same as passing null as the attrSelectionList in IContext.getSubject(String, Iterator) |
IDigitalSubject |
IContext.getSubject(String cuid,
Iterator attrSelectionList)
Returns the Digital Subject matching the specified cuid. |
Iterator |
IContext.getSubjects(IFilter filter)
|
Iterator |
IContext.getSubjects(IFilter filter,
Iterator attrSelectionList)
From this context, return IDigitalSubjects that match the specified filter |
boolean |
IContext.verifySubjectAttributes(String cuid,
Iterator attributes)
Simple method for comparing a set of attribute assertions against a Digital Subject. |
Iterator |
IContext.getRelationships()
Returns the relationships this Object has to others. |
IContextRelationship |
IContext.addRelationship(URI relationshipType)
Adds a context relationship to this context. |
void |
IContext.applyUpdates()
Applies all update operations which have been called on this Context and called on any element held by this Context (including digital subjects, metadata, attributes, attribute metadata and it's value(s), and attribute values) to a backing data store. |
void |
IContext.cancelUpdates()
Cancels all update operations which have been called on this Context and called on any element held by this Context (including digital subjects, metadata, attributes, attribute metadata and it's value(s), and attribute values). |
void |
IFilterAttributeAssertion.setAssertionValue(IAttributeValue assertion)
Specifies the assertion data to be tested against values of a Digital Subject's attribute. |
void |
IFilterAttributeAssertion.setMetadataFilter(IFilter metadataFilter)
Adds an attribute metadata filter to this attribute assertion. |
String[] |
IContextId.getTypes()
|
URI[] |
IContextId.getUris()
|
Map |
IContextId.getConfiguration()
|
IContext |
IDigitalSubject.getContext()
|
String |
IDigitalSubject.getSubjectID()
Returns the Contextually Unique Identifier of this Digital Subject |
URI |
IDigitalSubject.getType()
Returns the type of this Digital Subject. |
void |
IDigitalSubject.remove()
Removes this Digital Subject from its Context. |
IDigitalSubjectModel |
IDigitalSubject.getModel()
Returns a model of this type of Digital Subjects as it defined in the context's schema. |
URI |
IMetadata.getID()
|
void |
IMetadata.remove()
|
IMetadataModel |
IMetadata.getModel()
|
void |
IFilter.setAssertion(IFilterAssertion assertion)
When this is called, IFilter.addFilter(IFilter) and IFilter.setOperator(String) may not be called. |
void |
IFilter.setOperator(String operator)
|
void |
IFilter.addFilter(IFilter filter)
Adds a filter to the set of filters. |
void |
IFilter.addFilter(IFilterAssertion filterAssertion)
Adds a filter containing the passed IFilterAssertion. |
IAttributeValue |
ISingleValuedAttribute.getValue()
Returns the value for this attribute. |
void |
IFilterCUIDAssertion.setAssertionValue(String assertion)
Specifies the assertion data to be tested against an IDigitalSubject's unique ID. |
void |
IFilterTypeAssertion.setAssertionValue(URI assertion)
Specifies the assertion data to be tested against an IDigitalSubject's unique ID. |
Iterator |
IHasAttributes.getAttributes()
Return all attributes of this object |
IAttribute |
IHasAttributes.getAttribute(URI attrID)
Returns the specified attribute of this object. |
ISingleValuedAttribute |
IHasAttributes.getSingleValuedAttribute(URI attrID)
Returns the specified attribute of this object as an ISingleValuedAttribute. |
IAttribute |
IHasAttributes.addAttribute(URI attrID)
Creates a new Attribute for this container of attributes (typically IDigitalSubject). |
IAttribute |
IHasAttributes.addAttribute(IAttribute copyFrom)
Creates a new Attribute for this container of attributes (typically IDigitalSubject) by copying the data from
the passed IAttribute. |
void |
IHasAttributes.removeAttribute(URI attrID)
Deletes the specified attrID. |
void |
IHasAttributes.removeAttributeValue(URI attrID,
Object value)
Deletes the specified value from the specified attrID. |
void |
IHasAttributes.removeAttributeValue(IAttribute attr)
Deletes the specified value(s) from the specified attribute. |
boolean |
IHasAttributes.equals(IHasAttributes attributes)
Returns true if the passed attribute set is equal to this one. |
| Uses of IdASException in org.eclipse.higgins.idas.api.model |
|---|
| Subclasses of IdASException in org.eclipse.higgins.idas.api.model | |
class |
IdASModelException
|
|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||