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

java.lang.Object
  extended byorg.eclipse.higgins.icard.common.BasicCardProvider
      extended byorg.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
 boolean canImportICard(CallbackHandler authHandler, org.eclipse.higgins.icard.io.IElement element)
           
 org.eclipse.higgins.icard.ICardTemplate[] getCardCreationTemplates(CallbackHandler authHandler)
          Returns template object for personal card.
 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
 
Methods inherited from class org.eclipse.higgins.icard.common.BasicCardProvider
exportICards, getICardsByFormat, getICardsByPolicy
 
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.


getSupportedTypes

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


canImportICard

public boolean canImportICard(CallbackHandler authHandler,
                              org.eclipse.higgins.icard.io.IElement element)