org.eclipse.higgins.icard.provider.cardspace.common
Class PersonalCardProvider

java.lang.Object
  extended by org.eclipse.higgins.icard.common.BasicCardProvider
      extended by org.eclipse.higgins.icard.provider.cardspace.common.PersonalCardProvider
All Implemented Interfaces:
org.eclipse.higgins.icard.ICardProvider, org.eclipse.higgins.registry.IServiceProvider

public abstract class PersonalCardProvider
extends org.eclipse.higgins.icard.common.BasicCardProvider


Field Summary
 
Fields inherited from interface org.eclipse.higgins.icard.ICardProvider
CONTEXT_REF_PROP_NAME, CONTEXT_SCHEMA_FILE_PROP_NAME, CONTEXT_SCHEMA_URL_PROP_NAME, IMAGE_URL_PROP_NAME
 
Constructor Summary
PersonalCardProvider()
           
 
Method Summary
 org.eclipse.higgins.icard.ICardTemplate[] getCardCreationTemplates(CallbackHandler authHandler)
          Returns template object for personal card.
 org.eclipse.higgins.icard.ICardTemplate getCardCreationTemplatesByID(CallbackHandler authHandler, String ID)
           
 org.eclipse.higgins.icard.ICard getICardByCUID(CallbackHandler authHandler, org.eclipse.higgins.icard.CUID cuid, org.eclipse.higgins.icard.auth.ICredential userCredential)
           
 Class[] getSupportedTypes()
          The only supported types is IPersonalInformationCard
 org.eclipse.higgins.icard.ICard parseCardElement(CallbackHandler authHandler, org.eclipse.higgins.icard.io.IElement element)
           
 
Methods inherited from class org.eclipse.higgins.icard.common.BasicCardProvider
canImportICard, exportICards, getICardsByFormat, getICardsByPolicy, persistCard
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.higgins.icard.ICardProvider
canCreateCard, createCard, createCard, deleteCard, getDescription, getICardByCUID, getICards, getName, importICard
 
Methods inherited from interface org.eclipse.higgins.registry.IServiceProvider
getConfiguration, getID, setID
 

Constructor Detail

PersonalCardProvider

public PersonalCardProvider()
Method Detail

getICardByCUID

public org.eclipse.higgins.icard.ICard getICardByCUID(CallbackHandler authHandler,
                                                      org.eclipse.higgins.icard.CUID cuid,
                                                      org.eclipse.higgins.icard.auth.ICredential userCredential)
                                               throws org.eclipse.higgins.icard.AuthenticationException,
                                                      org.eclipse.higgins.icard.CardException
Throws:
org.eclipse.higgins.icard.AuthenticationException
org.eclipse.higgins.icard.CardException

getCardCreationTemplates

public org.eclipse.higgins.icard.ICardTemplate[] getCardCreationTemplates(CallbackHandler authHandler)
Returns template object for personal card.


getCardCreationTemplatesByID

public org.eclipse.higgins.icard.ICardTemplate getCardCreationTemplatesByID(CallbackHandler authHandler,
                                                                            String ID)

getSupportedTypes

public Class[] getSupportedTypes()
The only supported types is IPersonalInformationCard


parseCardElement

public org.eclipse.higgins.icard.ICard parseCardElement(CallbackHandler authHandler,
                                                        org.eclipse.higgins.icard.io.IElement element)
                                                 throws org.eclipse.higgins.icard.CardParseException
Throws:
org.eclipse.higgins.icard.CardParseException