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

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

public abstract class ManagedCardProvider
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
ManagedCardProvider()
           
 
Method Summary
 boolean canImportICard(CallbackHandler authHandler, org.eclipse.higgins.icard.io.IElement element)
           
 org.eclipse.higgins.icard.ICardTemplate[] getCardCreationTemplates(CallbackHandler authHandler)
          Managed card provider doesn't support card creation.
 org.eclipse.higgins.icard.ICardTemplate getCardCreationTemplatesByID(CallbackHandler authHandler, String ID)
          Managed card provider doesn't support card creation.
 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 type is IManagedInformationCard
 
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

ManagedCardProvider

public ManagedCardProvider()
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)
Managed card provider doesn't support card creation. So, just return null


getCardCreationTemplatesByID

public org.eclipse.higgins.icard.ICardTemplate getCardCreationTemplatesByID(CallbackHandler authHandler,
                                                                            String ID)
Managed card provider doesn't support card creation. So, just return null


getSupportedTypes

public Class[] getSupportedTypes()
The only supported type is IManagedInformationCard


canImportICard

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