org.eclipse.higgins.idas.cp.xmlfile
Class NonsharedContext
java.lang.Object
org.eclipse.higgins.idas.spi.BasicAttributeSet
org.eclipse.higgins.idas.spi.BasicContext
org.eclipse.higgins.idas.cp.xmlfile.NonsharedContext
- All Implemented Interfaces:
- org.eclipse.higgins.idas.api.IContext, org.eclipse.higgins.idas.api.IHasAttributes, org.eclipse.higgins.idas.spi.IAttributeContainer, org.eclipse.higgins.idas.spi.IEntityContainer
public class NonsharedContext
- extends org.eclipse.higgins.idas.spi.BasicContext
- Author:
- dsanders@novell.com
| Fields inherited from interface org.eclipse.higgins.idas.api.IContext |
defaultEntityType |
|
Constructor Summary |
NonsharedContext(org.eclipse.higgins.idas.cp.xmlfile.SharedContext readOnlyContext,
org.eclipse.higgins.idas.api.IContextId contextID)
|
| Methods inherited from class org.eclipse.higgins.idas.spi.BasicContext |
addUnnotifiedEntity, buildAttribute, buildAttributeAssertion, buildAuthNAttributesMaterials, buildComplexAttrValue, buildEntityIDAssertion, buildEntityTypeAssertion, buildFilter, buildSimpleAttrValue, createSimpleValue, exportData, getContextID, getContextModel, getEntities, getEntities, getEntities, getEntities, importData, isSimpleType, removeUnnotifiedEntity, reopen, setComponentSetting, setComponentSetting, setOpen, setSchema, updateNotification, verifyEntityAttributes |
| Methods inherited from class org.eclipse.higgins.idas.spi.BasicAttributeSet |
addAttribute, addAttribute, addAttributeValue, addUnnotifiedAttribute, addUnnotifiedAttribute, equals, getAttribute, getAttributes, getSingleValuedAttribute, removeAttribute, removeAttributeValue, removeAttributeValue, removeUnnotifiedAttribute, updateNotification |
| Methods inherited from interface org.eclipse.higgins.idas.api.IHasAttributes |
addAttribute, addAttribute, addAttributeValue, getAttribute, getAttributes, getSingleValuedAttribute, removeAttribute, removeAttributeValue, removeAttributeValue |
| Methods inherited from interface org.eclipse.higgins.idas.spi.IAttributeContainer |
updateNotification |
NonsharedContext
public NonsharedContext(org.eclipse.higgins.idas.cp.xmlfile.SharedContext readOnlyContext,
org.eclipse.higgins.idas.api.IContextId contextID)
throws org.eclipse.higgins.idas.api.IdASException
- Throws:
org.eclipse.higgins.idas.api.IdASException
open
public String open(org.eclipse.higgins.idas.api.IAuthNMaterials identity,
org.eclipse.higgins.idas.api.IExtension[] extensions)
throws org.eclipse.higgins.idas.api.IdASException,
org.eclipse.higgins.idas.api.ContextOpenException
- Specified by:
open in interface org.eclipse.higgins.idas.api.IContext- Overrides:
open in class org.eclipse.higgins.idas.spi.BasicContext
- Throws:
org.eclipse.higgins.idas.api.IdASException
org.eclipse.higgins.idas.api.ContextOpenException
open
public String open(org.eclipse.higgins.idas.api.IAuthNMaterials identity)
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
open in interface org.eclipse.higgins.idas.api.IContext- Overrides:
open in class org.eclipse.higgins.idas.spi.BasicContext
- Throws:
org.eclipse.higgins.idas.api.IdASException
close
public void close()
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
close in interface org.eclipse.higgins.idas.api.IContext- Overrides:
close in class org.eclipse.higgins.idas.spi.BasicContext
- Throws:
org.eclipse.higgins.idas.api.IdASException
isOpen
public boolean isOpen(Object identity)
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
isOpen in interface org.eclipse.higgins.idas.api.IContext- Overrides:
isOpen in class org.eclipse.higgins.idas.spi.BasicContext
- Throws:
org.eclipse.higgins.idas.api.IdASException
getSchema
public String getSchema()
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
getSchema in interface org.eclipse.higgins.idas.api.IContext- Overrides:
getSchema in class org.eclipse.higgins.idas.spi.BasicContext
- Throws:
org.eclipse.higgins.idas.api.IdASException
getEntity
public org.eclipse.higgins.idas.api.IEntity getEntity(String szEntityID)
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
getEntity in interface org.eclipse.higgins.idas.api.IContext- Overrides:
getEntity in class org.eclipse.higgins.idas.spi.BasicContext
- Throws:
org.eclipse.higgins.idas.api.IdASException
getEntity
public org.eclipse.higgins.idas.api.IEntity getEntity(String szEntityID,
Iterator consumerSelectionList)
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
getEntity in interface org.eclipse.higgins.idas.api.IContext- Overrides:
getEntity in class org.eclipse.higgins.idas.spi.BasicContext
- Throws:
org.eclipse.higgins.idas.api.IdASException
getEntities
public Iterator getEntities(org.eclipse.higgins.idas.api.IFilter filter)
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
getEntities in interface org.eclipse.higgins.idas.api.IContext- Overrides:
getEntities in class org.eclipse.higgins.idas.spi.BasicContext
- Throws:
org.eclipse.higgins.idas.api.IdASException
getEntities
public Iterator getEntities(org.eclipse.higgins.idas.api.IFilter filter,
Iterator consumerSelectionList)
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
getEntities in interface org.eclipse.higgins.idas.api.IContext- Overrides:
getEntities in class org.eclipse.higgins.idas.spi.BasicContext
- Throws:
org.eclipse.higgins.idas.api.IdASException
removeEntity
public void removeEntity(String szEntityID)
throws org.eclipse.higgins.idas.api.IdASException
- Throws:
org.eclipse.higgins.idas.api.IdASException
addEntity
public org.eclipse.higgins.idas.api.IEntity addEntity(URI type,
String szEntityID)
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
addEntity in interface org.eclipse.higgins.idas.api.IContext- Overrides:
addEntity in class org.eclipse.higgins.idas.spi.BasicContext
- Throws:
org.eclipse.higgins.idas.api.IdASException
addEntity
public org.eclipse.higgins.idas.api.IEntity addEntity(org.eclipse.higgins.idas.api.IEntity copyFrom)
throws org.eclipse.higgins.idas.api.IdASException,
org.eclipse.higgins.idas.api.EntityExistsException
- Specified by:
addEntity in interface org.eclipse.higgins.idas.api.IContext- Overrides:
addEntity in class org.eclipse.higgins.idas.spi.BasicContext
- Throws:
org.eclipse.higgins.idas.api.IdASException
org.eclipse.higgins.idas.api.EntityExistsException
applyUpdates
public void applyUpdates()
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
applyUpdates in interface org.eclipse.higgins.idas.api.IContext- Overrides:
applyUpdates in class org.eclipse.higgins.idas.spi.BasicContext
- Throws:
org.eclipse.higgins.idas.api.IdASException
cancelUpdates
public void cancelUpdates()
throws org.eclipse.higgins.idas.api.IdASException
- Specified by:
cancelUpdates in interface org.eclipse.higgins.idas.api.IContext- Overrides:
cancelUpdates in class org.eclipse.higgins.idas.spi.BasicContext
- Throws:
org.eclipse.higgins.idas.api.IdASException