org.eclipse.higgins.icard.provider.cardspace.db
Interface IDaoCard

All Superinterfaces:
IDAO
All Known Subinterfaces:
IDaoMCard, IDaoPCard

public interface IDaoCard
extends IDAO

DAO interface which represents data of cardspace-compatible information card (see cardspace techref)


Field Summary
 
Fields inherited from interface org.eclipse.higgins.icard.provider.cardspace.db.IDAO
CHANGED_OBJ, DELETED_OBJ, NEW_OBJ, PRE_DELETED_NEW_OBJ, PRE_DELETED_STORED_OBJ, STORED_OBJ
 
Method Summary
 void addInformationCardExtension(IDaoInformationCardExtension extension)
           
 IDaoInformationCardExtension createInformationCardExtension()
           
 String getCardID()
           
 ArrayList getExtensions()
           
 byte[] getHashSalt()
           
 byte[] getImage()
           
 String getImageType()
           
 byte[] getIssuerID()
           
 String getLanguage()
           
 byte[] getMasterKey()
           
 String getName()
           
 Date getTimeExpires()
           
 Date getTimeIssued()
           
 Date getTimeLastUpdated()
           
 String getUserID()
           
 int getVersion()
           
 void setCardID(String cardID)
           
 void setHashSalt(byte[] hashSalt)
           
 void setImage(byte[] image)
           
 void setImageType(String imageType)
           
 void setIssuerID(byte[] issuerID)
           
 void setLanguage(String language)
           
 void setMasterKey(byte[] masterKey)
           
 void setName(String name)
           
 void setTimeExpires(Date timeExpires)
           
 void setTimeIssued(Date timeIssued)
           
 void setTimeLastUpdated(Date timeLastUpdated)
           
 void setVersion(int version)
           
 
Methods inherited from interface org.eclipse.higgins.icard.provider.cardspace.db.IDAO
addListener, getID, getState, removeListener, setDeleteState, store
 

Method Detail

getUserID

public String getUserID()
Returns:

getCardID

public String getCardID()
Returns:

setCardID

public void setCardID(String cardID)
               throws org.eclipse.higgins.icard.CardException
Parameters:
cardID -
Throws:
org.eclipse.higgins.icard.CardException

getLanguage

public String getLanguage()
Returns:

setLanguage

public void setLanguage(String language)
                 throws org.eclipse.higgins.icard.CardException
Parameters:
language -
Throws:
org.eclipse.higgins.icard.CardException

getName

public String getName()
Returns:

setName

public void setName(String name)
             throws org.eclipse.higgins.icard.CardException
Parameters:
name -
Throws:
org.eclipse.higgins.icard.CardException

getVersion

public int getVersion()
Returns:

setVersion

public void setVersion(int version)
                throws org.eclipse.higgins.icard.CardException
Parameters:
version -
Throws:
org.eclipse.higgins.icard.CardException

getImage

public byte[] getImage()
Returns:

setImage

public void setImage(byte[] image)
              throws org.eclipse.higgins.icard.CardException
Parameters:
image -
Throws:
org.eclipse.higgins.icard.CardException

getImageType

public String getImageType()
Returns:

setImageType

public void setImageType(String imageType)
                  throws org.eclipse.higgins.icard.CardException
Parameters:
imageType -
Throws:
org.eclipse.higgins.icard.CardException

getTimeIssued

public Date getTimeIssued()
Returns:

setTimeIssued

public void setTimeIssued(Date timeIssued)
                   throws org.eclipse.higgins.icard.CardException
Parameters:
timeIssued -
Throws:
org.eclipse.higgins.icard.CardException

getTimeExpires

public Date getTimeExpires()
Returns:

setTimeExpires

public void setTimeExpires(Date timeExpires)
                    throws org.eclipse.higgins.icard.CardException
Parameters:
timeExpires -
Throws:
org.eclipse.higgins.icard.CardException

getTimeLastUpdated

public Date getTimeLastUpdated()
Returns:

setTimeLastUpdated

public void setTimeLastUpdated(Date timeLastUpdated)
                        throws org.eclipse.higgins.icard.CardException
Parameters:
timeLastUpdated -
Throws:
org.eclipse.higgins.icard.CardException

getHashSalt

public byte[] getHashSalt()
Returns:

setHashSalt

public void setHashSalt(byte[] hashSalt)
                 throws org.eclipse.higgins.icard.CardException
Parameters:
hashSalt -
Throws:
org.eclipse.higgins.icard.CardException

getMasterKey

public byte[] getMasterKey()
Returns:

setMasterKey

public void setMasterKey(byte[] masterKey)
                  throws org.eclipse.higgins.icard.CardException
Parameters:
masterKey -
Throws:
org.eclipse.higgins.icard.CardException

getIssuerID

public byte[] getIssuerID()
Returns:

setIssuerID

public void setIssuerID(byte[] issuerID)
                 throws org.eclipse.higgins.icard.CardException
Parameters:
issuerID -
Throws:
org.eclipse.higgins.icard.CardException

getExtensions

public ArrayList getExtensions()
Returns:
ArrayList of IDaoInformationCardExtension extensions

createInformationCardExtension

public IDaoInformationCardExtension createInformationCardExtension()
Returns:

addInformationCardExtension

public void addInformationCardExtension(IDaoInformationCardExtension extension)
                                 throws org.eclipse.higgins.icard.CardException
Parameters:
extension -
Throws:
org.eclipse.higgins.icard.CardException