org.eclipse.higgins.ics.gwt.icm.client
Interface ICMService

All Superinterfaces:
com.google.gwt.user.client.rpc.RemoteService
All Known Implementing Classes:
RPCBean

public interface ICMService
extends com.google.gwt.user.client.rpc.RemoteService

Author:
Alexander Yuhimenko

Method Summary
 GWTResponse clearCardCredential(String userId, String password, String cuid)
           
 GWTResponse clearCardHistory(String userId, String password, String cuid)
           
 GWTResponse createCategory(Category category, String userIdentifier, String userPassword)
           
 GWTResponse createDuplicateCard(String cuid, String cardName, String pinCode, String userIdentifier, String userPassword)
           
 GWTResponse createICard(CardTemplate cardTemplate, String userIdentifier, String userPassword)
           
 GWTResponse deleteAllCard(String userIdentifier, String userPassword)
           
 GWTResponse deleteCategory(Category category, String userIdentifier, String userPassword)
           
 GWTResponse deleteICard(String cuid, String userIdentifier, String userPassword)
           
 GWTResponse deleteUrlsCardRelation(String userId, String password, String cuid, String[] urls)
           
 GWTResponse editPinCode(String userId, String password, String cuid, String oldPinCode, String newPinCode)
           
 GWTResponse exportICards(String userId, String password, String formatID, String[] cards, CardCredential credential)
           
 GWTResponse getCardByCredential(Card card, String userIdentifier, String userPassword)
           
 GWTResponse getCardById(String cuid, String userIdentifier, String userPassword)
           
 GWTResponse getCardHistory(String userId, String password, String cuid, int startFrom, int capacity, String orderBy, String orderDirection)
           
 GWTResponse getCardInformation(String cuid, String userIdentifier, String userPassword, int size)
           
 GWTResponse getCurrentState(String userId, String userPassword)
           
 GWTResponse getDefaultPCard(String userId, String userPassword)
           
 GWTResponse getICardsByFormat(String userId, String password, String formatID)
           
 Card[] getImportedCard()
           
 GWTResponse getMRU(String userId, String password)
           
 GWTResponse getOutputFormats(String userId, String password)
           
 GWTResponse getPCardTemplate(String userIdentifier, String userPassword)
           
 FormatDescriptor getRestoreData()
           
 GWTResponse getUserProfile()
           
 GWTResponse modifyCard(Card card, String userIdentifier, String userPassword)
           
 GWTResponse modifyCategories(String userId, String password, Category[] categories)
           
 GWTResponse modifyCategory(Category category, String userIdentifier, String userPassword)
           
 GWTResponse modifyUserProfile(UserProfile userProfile)
           
 GWTResponse putCredentialForRestore(FormatDescriptor descriptor, String userIdentifier, String userPassword)
           
 GWTResponse putImageForIE(String image)
           
 GWTResponse resetPinCode(Card card, String userIdentifier, String userPassword)
           
 GWTResponse setCardCredential(String userId, String password, String cuid, CardCredential tokenCredential)
           
 GWTResponse setDefaultPCard(String userId, String userPassword, String cardUid)
           
 GWTResponse setPinCode(Card card, String pinCode, String userIdentifier, String userPassword)
           
 GWTResponse setUrlsCardRelation(String userId, String password, String cuid, String[] urls)
           
 GWTResponse updateClaimAcrossCards(String userId, String password, String[] claimType, String[] claimValue, CardUpdate[] cardUpdate)
           
 GWTResponse updateICards(String userId, String password, Card[] cards)
           
 

Method Detail

getCurrentState

public GWTResponse getCurrentState(String userId,
                                   String userPassword)
Parameters:
userId -
userPassword -
Returns:

modifyCard

public GWTResponse modifyCard(Card card,
                              String userIdentifier,
                              String userPassword)
Parameters:
card -
userIdentifier -
userPassword -
Returns:

getUserProfile

public GWTResponse getUserProfile()
Returns:

modifyUserProfile

public GWTResponse modifyUserProfile(UserProfile userProfile)
Parameters:
userProfile -
Returns:

getPCardTemplate

public GWTResponse getPCardTemplate(String userIdentifier,
                                    String userPassword)
Parameters:
userIdentifier -
userPassword -
Returns:

createICard

public GWTResponse createICard(CardTemplate cardTemplate,
                               String userIdentifier,
                               String userPassword)
Parameters:
cardTemplate -
userIdentifier -
userPassword -
Returns:

deleteICard

public GWTResponse deleteICard(String cuid,
                               String userIdentifier,
                               String userPassword)
Parameters:
cuid -
userIdentifier -
userPassword -
Returns:

getCardByCredential

public GWTResponse getCardByCredential(Card card,
                                       String userIdentifier,
                                       String userPassword)
Parameters:
card -
userIdentifier -
userPassword -
Returns:

resetPinCode

public GWTResponse resetPinCode(Card card,
                                String userIdentifier,
                                String userPassword)
Parameters:
userIdentifier -
userPassword -
Returns:

editPinCode

public GWTResponse editPinCode(String userId,
                               String password,
                               String cuid,
                               String oldPinCode,
                               String newPinCode)

setPinCode

public GWTResponse setPinCode(Card card,
                              String pinCode,
                              String userIdentifier,
                              String userPassword)
Parameters:
userIdentifier -
userPassword -
Returns:

createDuplicateCard

public GWTResponse createDuplicateCard(String cuid,
                                       String cardName,
                                       String pinCode,
                                       String userIdentifier,
                                       String userPassword)
Parameters:
cuid -
cardName -
userIdentifier -
userPassword -
Returns:

deleteAllCard

public GWTResponse deleteAllCard(String userIdentifier,
                                 String userPassword)
Parameters:
userIdentifier -
userPassword -
Returns:

createCategory

public GWTResponse createCategory(Category category,
                                  String userIdentifier,
                                  String userPassword)
Parameters:
category -
userIdentifier -
userPassword -
Returns:

modifyCategory

public GWTResponse modifyCategory(Category category,
                                  String userIdentifier,
                                  String userPassword)
Parameters:
category -
userIdentifier -
userPassword -
Returns:

deleteCategory

public GWTResponse deleteCategory(Category category,
                                  String userIdentifier,
                                  String userPassword)
Parameters:
category -
userIdentifier -
userPassword -
Returns:

getImportedCard

public Card[] getImportedCard()

getRestoreData

public FormatDescriptor getRestoreData()

putCredentialForRestore

public GWTResponse putCredentialForRestore(FormatDescriptor descriptor,
                                           String userIdentifier,
                                           String userPassword)

putImageForIE

public GWTResponse putImageForIE(String image)

getCardInformation

public GWTResponse getCardInformation(String cuid,
                                      String userIdentifier,
                                      String userPassword,
                                      int size)

setUrlsCardRelation

public GWTResponse setUrlsCardRelation(String userId,
                                       String password,
                                       String cuid,
                                       String[] urls)

deleteUrlsCardRelation

public GWTResponse deleteUrlsCardRelation(String userId,
                                          String password,
                                          String cuid,
                                          String[] urls)

clearCardHistory

public GWTResponse clearCardHistory(String userId,
                                    String password,
                                    String cuid)

clearCardCredential

public GWTResponse clearCardCredential(String userId,
                                       String password,
                                       String cuid)

modifyCategories

public GWTResponse modifyCategories(String userId,
                                    String password,
                                    Category[] categories)

getCardById

public GWTResponse getCardById(String cuid,
                               String userIdentifier,
                               String userPassword)

setCardCredential

public GWTResponse setCardCredential(String userId,
                                     String password,
                                     String cuid,
                                     CardCredential tokenCredential)

getCardHistory

public GWTResponse getCardHistory(String userId,
                                  String password,
                                  String cuid,
                                  int startFrom,
                                  int capacity,
                                  String orderBy,
                                  String orderDirection)

exportICards

public GWTResponse exportICards(String userId,
                                String password,
                                String formatID,
                                String[] cards,
                                CardCredential credential)

getICardsByFormat

public GWTResponse getICardsByFormat(String userId,
                                     String password,
                                     String formatID)

getOutputFormats

public GWTResponse getOutputFormats(String userId,
                                    String password)

getMRU

public GWTResponse getMRU(String userId,
                          String password)

updateClaimAcrossCards

public GWTResponse updateClaimAcrossCards(String userId,
                                          String password,
                                          String[] claimType,
                                          String[] claimValue,
                                          CardUpdate[] cardUpdate)

updateICards

public GWTResponse updateICards(String userId,
                                String password,
                                Card[] cards)

getDefaultPCard

public GWTResponse getDefaultPCard(String userId,
                                   String userPassword)

setDefaultPCard

public GWTResponse setDefaultPCard(String userId,
                                   String userPassword,
                                   String cardUid)