org.eclipse.higgins.idas.cp.google
Class GDataContext

java.lang.Object
  extended by org.eclipse.higgins.idas.spi.BasicAttributeSet
      extended by org.eclipse.higgins.idas.spi.BasicContext
          extended by org.eclipse.higgins.idas.cp.google.GDataContext
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 GDataContext
extends org.eclipse.higgins.idas.spi.BasicContext


Field Summary
static URI PARAM_MAX_RESULTS
           
static URI PARAM_START_INDEX
           
static URI PARAM_UPDATED_MIN
           
static URI PROP_ADDRESS
           
static URI PROP_CONTENT
           
static URI PROP_EMAIL
           
static URI PROP_IM
           
static URI PROP_LABEL
           
static URI PROP_ORG_NAME
           
static URI PROP_ORG_TITLE
           
static URI PROP_ORGANIZATION
           
static URI PROP_PHONE
           
static URI PROP_POSTAL_ADDRESS
           
static URI PROP_PRIMARY
           
static URI PROP_REL
           
static URI PROP_TEXT
           
static URI PROP_TITLE
           
 
Fields inherited from interface org.eclipse.higgins.idas.api.IContext
defaultEntityType
 
Constructor Summary
GDataContext(org.eclipse.higgins.idas.api.IContextId contextId)
           
 
Method Summary
 org.eclipse.higgins.idas.api.IEntity addEntity(URI entityType, String entityID)
           
 void applyUpdates()
           
 void close()
           
 URI getContextID()
           
 Iterator<org.eclipse.higgins.idas.api.IEntity> getEntities(org.eclipse.higgins.idas.api.IFilter filter, Iterator attrSelectionList)
           
 org.eclipse.higgins.idas.api.IEntity getEntity(String entityID)
           
 String open(org.eclipse.higgins.idas.api.IAuthNMaterials identity)
           
 
Methods inherited from class org.eclipse.higgins.idas.spi.BasicContext
addEntity, addUnnotifiedEntity, buildAttribute, buildAttributeAssertion, buildAuthNAttributesMaterials, buildComplexAttrValue, buildEntityIDAssertion, buildEntityTypeAssertion, buildFilter, buildSimpleAttrValue, cancelUpdates, createSimpleValue, exportData, getContextModel, getEntities, getEntities, getEntities, getEntities, getEntities, getEntity, getSchema, importData, isOpen, isSimpleType, open, 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 class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
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
 

Field Detail

PROP_CONTENT

public static URI PROP_CONTENT

PROP_TITLE

public static URI PROP_TITLE

PROP_EMAIL

public static URI PROP_EMAIL

PROP_IM

public static URI PROP_IM

PROP_PHONE

public static URI PROP_PHONE

PROP_POSTAL_ADDRESS

public static URI PROP_POSTAL_ADDRESS

PROP_ORGANIZATION

public static URI PROP_ORGANIZATION

PROP_ORG_NAME

public static URI PROP_ORG_NAME

PROP_ORG_TITLE

public static URI PROP_ORG_TITLE

PROP_TEXT

public static URI PROP_TEXT

PROP_ADDRESS

public static URI PROP_ADDRESS

PROP_REL

public static URI PROP_REL

PROP_LABEL

public static URI PROP_LABEL

PROP_PRIMARY

public static URI PROP_PRIMARY

PARAM_MAX_RESULTS

public static URI PARAM_MAX_RESULTS

PARAM_START_INDEX

public static URI PARAM_START_INDEX

PARAM_UPDATED_MIN

public static URI PARAM_UPDATED_MIN
Constructor Detail

GDataContext

public GDataContext(org.eclipse.higgins.idas.api.IContextId contextId)
             throws org.eclipse.higgins.idas.api.IdASException
Throws:
org.eclipse.higgins.idas.api.IdASException
Method Detail

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

addEntity

public org.eclipse.higgins.idas.api.IEntity addEntity(URI entityType,
                                                      String entityID)
                                               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

getEntities

public Iterator<org.eclipse.higgins.idas.api.IEntity> getEntities(org.eclipse.higgins.idas.api.IFilter filter,
                                                                  Iterator attrSelectionList)
                                                           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

getEntity

public org.eclipse.higgins.idas.api.IEntity getEntity(String entityID)
                                               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

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

getContextID

public URI getContextID()
                 throws org.eclipse.higgins.idas.api.IdASException
Specified by:
getContextID in interface org.eclipse.higgins.idas.api.IContext
Overrides:
getContextID 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