Uses of Class
org.eclipse.higgins.idas.api.IdASException

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 simplify 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 EntityExistsException
           
 class InvalidEntityIDException
          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 NoSuchEntityException
          Thrown when a specified Entity 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 UnhandledExtensionException
           
 class ValueAlreadyExistsException
          Thrown in cases where a value is being added to an attribute and that value already exists.
 

Methods in org.eclipse.higgins.idas.api that throw IdASException
 IAttribute IHasAttributes.addAttribute(IAttribute copyFrom)
          Creates a new Attribute for this container of attributes (typically IEntity) by copying the data from the passed IAttribute.
 IAttribute IHasAttributes.addAttribute(URI attrID)
          Creates a new Attribute for this container of attributes (typically IEntity).
 IEntity IHasAttributes.addAttributeValue(URI attrType, String entityId)
           
 IEntity IAttribute.addComplexValue(String entityID)
          Add a reference to the entity with passed entityId.
 IEntity IAttribute.addComplexValue(URI type)
          Creates a new complex value for this attribute.
 IEntity IContext.addEntity(IEntity copyFrom)
          Creates a new Entity for this Context by copying the data from the passed entity
Note: This operation is only applied to any backing data store after IContext.applyUpdates() is called.
 IEntity IContext.addEntity(URI entityType, String entityID)
          Creates a new Entity for this Context.
This call is typically followed by one or more calls to IHasAttributes.addAttribute(java.net.URI) on the returned IEntity Note: This operation is only applied to any backing data store after IContext.applyUpdates()
 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.
 ISimpleValue IAttribute.addSimpleValue(URI dataType, Object data)
          Creates a new simple value for this attribute.
 IValue IAttribute.addValue(IValue copyFrom)
          Creates a new value for this attribute by copying the passed IValue If passed value is not blank entity (has not null entityId), a reference to this entity is created.
 IValue IAttribute.addValue(URI dataType)
          Creates a new value for this attribute.
 void IContext.applyUpdates()
          Applies all update operations which have been called on this Context and called on any element held by this Context (including entities, attributes, attribute meta-attributes and it's value(s), and attribute values) to a backing data store.
 IAttribute IContext.buildAttribute(URI attrID)
          Builds an IAttribute (unassociated with any Entity).
 IFilterAttributeAssertion IContext.buildAttributeAssertion()
          Builds an assertion for Entity Attributes (see IHasAttributes.getAttributes() and IHasAttributes.getAttribute(URI)) which can be passed to IFilter.setAssertion(IFilterAssertion)
 IAuthNAttributesMaterials IContext.buildAuthNAttributesMaterials()
          Builds an IAuthNAttributesMaterials that may be used when calling #open(Object)
 IEntity IContext.buildComplexAttrValue(URI dataType)
          Builds a complex attribute value to be passed to IFilterAttributeAssertion.setAssertionValue(IValue).
 IFilterEntityIDAssertion IContext.buildEntityIDAssertion()
          Builds an assertion for Entity IDs (see IEntity.getEntityID()) which can be passed to IFilter.setAssertion(IFilterAssertion) Note that this is simply a convenience method equivalent to creating an IFilterAttributeAssertion for the http://www.eclipse.org/higgins/ontologies/2008/6/higgins#entityId attribute
 IFilterEntityTypeAssertion IContext.buildEntityTypeAssertion()
          Builds an assertion for Entity Types (see IEntity#getEntityType()) which can be passed to IFilter.setAssertion(IFilterAssertion)
 IFilter IContext.buildFilter()
          Builds an IFilter instance that may be used when calling IContext.getEntities(IFilter)
 ISimpleValue IContext.buildSimpleAttrValue(URI dataType, Object value)
          Builds a simple attribute value to be passed to IFilterAttributeAssertion#setAssertionValue(IAttributeValue).
 void IContext.cancelUpdates()
          Cancels all update operations which have been called on this Context and called on any element held by this Context (including entities, attributes, attribute meta-attributes and it's value(s), and attribute values).
 void IContext.close()
          Closes this Context and returns it to an un-open state.
 IContext IContextFactory.createContext(IContextId contextID)
          Using a context ID, creates an instance of IContext and returns it.
 String IContext.exportData(String filter, String representationFormat)
          Exports this Context.
 IAttribute IHasAttributes.getAttribute(URI attrID)
          Returns the specified attribute of this object.
 Iterator IHasAttributes.getAttributes()
          Return all attributes of this object
 String ITypedValue.getCanonical()
          Returns the canonical representation if this value is a literal
 Map IContextId.getConfiguration()
           
 IContext IEntity.getContext()
           
 org.eclipse.higgins.configuration.api.ISettingDescriptor IContextFactory.getContextDescriptor(String contextIdName)
          Returns the setting descriptor for a given context Id.
 URI IContext.getContextID()
          Returns a reference to this Context.
 IContextModel IContext.getContextModel()
          Returns a model of the context object as it defined in the context's schema.
 Iterator IContextFactory.getContexts(String filter)
           
 Object ITypedValue.getData()
          Returns the underlying Java object holding this simple type's value.
 Iterator IContext.getEntities(IFilter filter)
           
 Iterator IContext.getEntities(IFilter filter, Iterator attrSelectionList)
          From this context, return IEntitys that match the specified filter
 Iterator IContext.getEntities(IFilter filter, Iterator attrSelectionList, IExtension[] extensions)
          From this context, return IEntitys that match the specified filter
 Iterator IContext.getEntities(String query)
           
 Iterator IContext.getEntities(String query, Iterator attrSelectionList)
          From this context, return IEntitys that match the specified SPARQL query
 Iterator IContext.getEntities(String query, Iterator attrSelectionList, IExtension[] extensions)
          From this context, return IEntitys that match the specified query
 IEntity IContext.getEntity(String entityID)
          This is the same as passing null as the attrSelectionList in IContext.getEntity(String, Iterator)
 IEntity IContext.getEntity(String entityID, Iterator attrSelectionList)
          Returns the Entity matching the specified entityID.
 String IEntity.getEntityID()
           
 String ITypedValue.getLexical()
          Returns a lexical representation if this value is a literal
 IAttributeModel IAttribute.getModel()
          Returns a model of this type of attribute as it defined in the context's schema.
 String IContextFactory.getName()
           
 String IContextFactory.getPolicy()
          Returns the policy in effect for this Context Factory.
 String IContext.getSchema()
          Returns the schema governing this context.
 ISingleValuedAttribute IHasAttributes.getSingleValuedAttribute(URI attrID)
          Returns the specified attribute of this object as an ISingleValuedAttribute.
 URI IAttribute.getType()
          Returns the attribute type of this attribute as a URI.
 URI IValue.getType()
          Returns this value's type (like string, int, address) This is a shortcut for calling getModel().getType().
 List IContextFactory.getTypes()
          Returns the context types supported by this context factory.
 String[] IContextId.getTypes()
           
 URI[] IContextId.getUris()
           
 IValue ISingleValuedAttribute.getValue()
          Returns the value for this attribute.
 Iterator IAttribute.getValues()
          Returns all values for this attribute.
 Iterator IAttribute.getValues(IExtension[] extensions)
          Returns all values for this attribute.
 void IContext.importData(String filter, String representationFormat)
          Imports this Context.
 void IFilterAssertion.includeSubtypes(boolean bIncludeSubtypes)
          Calling this the same as calling IFilterAssertion.setID(URI, boolean) and setting the boolean to true.
 boolean IContext.isOpen(Object identity)
          Tests whether this context is open and authenticated using the specified identity
 boolean IEntity.isProxy()
          Indicates whether the entity belongs to this context or is just a reference to an entity from another context.
 boolean IValue.isSimple()
           
 boolean IAttribute.isSingleValued()
          Convenience method which returns true when the model for this attribute dictates that only a single value may exist.
 String IContext.open(IAuthNMaterials authentication)
           
 String IContext.open(IAuthNMaterials authentication, IExtension[] extensions)
          Opens this Context using the provided authentication object.
 void IAttribute.remove()
          Removes all values of this attribute.
 void IValue.remove()
          Removes this value from its container Note: This operation is only applied to any backing data store after IContext.applyUpdates() is called.
 void IHasAttributes.removeAttribute(URI attrID)
          Deletes the attribute specified by attrID.
 void IHasAttributes.removeAttributeValue(IAttribute attr)
          Deletes an attribute's value(s) based on the information passed in attr.
 void IHasAttributes.removeAttributeValue(URI attrID, Object value)
          Deletes the specified value from the specified attrID.
 void IContext.reopen()
          Causes this context to re-authenticate the previously passed authentication materials passed in the #open(Object) or #open(Object, IExtension[]) method.
 void IFilter.setAssertion(IFilterAssertion assertion)
          When this is called, IFilter.addFilter(IFilter) and IFilter.setOperator(String) may not be called.
 void IFilterAttributeAssertion.setAssertionValue(IValue assertion)
          Specifies the assertion data to be tested against values of a Entity's attribute.
 void IFilterEntityIDAssertion.setAssertionValue(String assertion)
          Specifies the assertion data to be tested against an IEntity's unique ID.
 void IFilterEntityTypeAssertion.setAssertionValue(URI assertion)
          Specifies the assertion data to be tested against an IEntity's type.
 void IFilterAttributeAssertion.setAttributeFilter(IFilter attributeFilter)
          Adds an (meta) attribute filter to this attribute assertion.
 void IFilterAssertion.setComparator(String comparator)
          Set the comparison operator (equal, less, greater, beginsWith, etc.)
 void IContext.setComponentSetting(String key, Object value)
           
 void IContext.setComponentSetting(String key, Object value, boolean failUnsupported)
          Used to update one setting element for this context.
 void ITypedValue.setData(Object data)
          Sets the data for this simple value.
 void IFilterAssertion.setID(URI id)
           
 void IFilterAssertion.setID(URI id, boolean bIncludeSubtypes)
          Identifies the component to be compared.
For entity attribute assertions, this would be the type of the attribute (see IAttribute#getAttrID())
For entity ID and entity type assertions, the type is not set.
 void IFilter.setOperator(String operator)
           
 void IContextFactory.setPolicy(String policy)
          Sets the policy for for this Context Factory.
 void IContext.setSchema(String schema)
          Sets the schema governing this context.
 boolean IContext.verifyEntityAttributes(String entityID, Iterator attributes)
          Simple method for comparing a set of attribute assertions against a Entity.
 

Uses of IdASException in org.eclipse.higgins.idas.api.model
 

Subclasses of IdASException in org.eclipse.higgins.idas.api.model
 class IdASModelException
           
 

Methods in org.eclipse.higgins.idas.api.model that throw IdASException
 boolean IValueModel.isSimple()
          Determines whether this value model represents simple attribute's value.
 boolean ISimpleValueModel.isValid(String lexicalForm)
          Determines whether given String is valid lexical form of represented value.
 boolean ISimpleValueModel.isValidValue(Object valueForm)
          Determines whether given Object is valid value form of represented value.
 String ISimpleValueModel.toLexicalForm(Object value)
          Convert given Object to lexical form of represented value.
 Object ISimpleValueModel.toValueForm(String lexicalForm)
          Convert given String to value form of represented value.