org.eclipse.higgins.ics.model.bean
Class ManagerBean
java.lang.Object
org.eclipse.higgins.ics.model.bean.ManagerBean
- public class ManagerBean
- extends Object
- Author:
- Alexander Yuhimenko
|
Method Summary |
Response |
checkImportStream(String userId,
String password,
byte[] crd)
|
Response |
clearCardCredential(String userId,
String password,
String cuid)
|
Response |
clearCardHistory(String userId,
String password,
String cuid)
|
Response |
createCategory(Category category,
String userIdentifier,
String userPassword)
|
Response |
createDuplicateCard(String cuid,
String cardName,
String pinCode,
String userIdentifier,
String userPassword)
|
Response |
createICard(CardTemplate cardTemplate,
String userIdentifier,
String userPassword)
|
Response |
deleteAllCard(String userIdentifier,
String userPassword)
|
Response |
deleteCategory(Category category,
String userIdentifier,
String userPassword)
|
Response |
deleteICard(String cuid,
String userIdentifier,
String userPassword)
|
Response |
deleteUrlsCardRelation(String userId,
String password,
String cuid,
String[] urls)
|
Response |
editPinCode(String userId,
String password,
String cuid,
String oldPinCode,
String newPinCode)
|
Response |
exportICards(String userId,
String password,
String formatID,
String[] cards,
CardCredential credential)
|
Response |
getCardByCredential(Card card,
String userIdentifier,
String userPassword)
|
Response |
getCardById(String cuid,
String userIdentifier,
String userPassword)
|
Response |
getCardHistory(String userId,
String password,
String cuid,
int startFrom,
int capacity,
String orderBy,
String orderDirection)
|
Response |
getCardInformation(String cuid,
String userIdentifier,
String userPassword,
int size)
|
Response |
getCards(String userId,
String userPassword)
|
Response |
getCurrentState(String userId,
String userPassword)
|
byte[] |
getFileFromSession(javax.servlet.http.HttpSession session)
|
Response |
getICardsByFormat(String userId,
String password,
String formatID)
|
Response |
getICardTemplate(String userIdentifier,
String userPassword)
|
Response |
getOutputFormats(String userId,
String password)
|
WSClient |
getWsClient()
|
Response |
importCards(String userIdentifier,
String userPassword,
byte[] fileData)
|
Response |
modifyCategories(String userId,
String password,
Category[] categories)
|
Response |
modifyCategory(Category category,
String userIdentifier,
String userPassword)
|
Response |
modifyICard(Card card,
String userIdentifier,
String userPassword)
|
Response |
modifyUserProfile(UserProfile userProfile,
String userIdentifier,
String userPassword)
|
Response |
processLogon(String userIdentifier,
String userPassword)
|
Response |
putCredentialForRestore(String userIdentifier,
String userPassword,
byte[] fileData,
FormatDescriptor descriptor)
|
Response |
putFileToSession(byte[] file,
javax.servlet.http.HttpSession session)
|
Response |
putImageForIE(String image,
javax.servlet.http.HttpSession session)
|
Response |
resetPinCode(String cuid,
String pin,
String userIdentifier,
String userPassword)
|
Response |
setCardCredential(String userId,
String password,
String cuid,
CardCredential tokenCredential)
|
Response |
setPinCode(String cuid,
String pin,
String userIdentifier,
String userPassword)
|
Response |
setUrlsCardRelation(String userId,
String password,
String cuid,
String[] urls)
|
ManagerBean
public ManagerBean()
getCards
public Response getCards(String userId,
String userPassword)
- Parameters:
userId - userPassword -
- Returns:
- Card[]
- See Also:
WSClient.getCards(java.lang.String, java.lang.String)
getCurrentState
public Response getCurrentState(String userId,
String userPassword)
- Parameters:
userId - userPassword -
- Returns:
- CurrentState
processLogon
public Response processLogon(String userIdentifier,
String userPassword)
- Parameters:
userIdentifier - userPassword -
- Returns:
modifyUserProfile
public Response modifyUserProfile(UserProfile userProfile,
String userIdentifier,
String userPassword)
- Parameters:
userProfile - userIdentifier - userPassword -
- Returns:
modifyICard
public Response modifyICard(Card card,
String userIdentifier,
String userPassword)
- Parameters:
card - userIdentifier - userPassword -
- Returns:
getICardTemplate
public Response getICardTemplate(String userIdentifier,
String userPassword)
- Parameters:
userIdentifier - userPassword -
- Returns:
createICard
public Response createICard(CardTemplate cardTemplate,
String userIdentifier,
String userPassword)
- Parameters:
cardTemplate - userIdentifier - userPassword -
- Returns:
createCategory
public Response createCategory(Category category,
String userIdentifier,
String userPassword)
- Parameters:
category - userIdentifier - userPassword -
- Returns:
modifyCategory
public Response modifyCategory(Category category,
String userIdentifier,
String userPassword)
- Parameters:
category - userIdentifier - userPassword -
- Returns:
deleteCategory
public Response deleteCategory(Category category,
String userIdentifier,
String userPassword)
- Parameters:
category - userIdentifier - userPassword -
- Returns:
deleteICard
public Response deleteICard(String cuid,
String userIdentifier,
String userPassword)
- Parameters:
cuid - userIdentifier - userPassword -
- Returns:
getCardByCredential
public Response getCardByCredential(Card card,
String userIdentifier,
String userPassword)
- Parameters:
card - userIdentifier - userPassword -
- Returns:
setPinCode
public Response setPinCode(String cuid,
String pin,
String userIdentifier,
String userPassword)
- Parameters:
cuid - pin - userIdentifier - userPassword -
- Returns:
editPinCode
public Response editPinCode(String userId,
String password,
String cuid,
String oldPinCode,
String newPinCode)
resetPinCode
public Response resetPinCode(String cuid,
String pin,
String userIdentifier,
String userPassword)
- Parameters:
cuid - pin - userIdentifier - userPassword -
- Returns:
createDuplicateCard
public Response createDuplicateCard(String cuid,
String cardName,
String pinCode,
String userIdentifier,
String userPassword)
- Parameters:
cuid - cardName - userIdentifier - userPassword -
- Returns:
deleteAllCard
public Response deleteAllCard(String userIdentifier,
String userPassword)
- Parameters:
userIdentifier - userPassword -
- Returns:
importCards
public Response importCards(String userIdentifier,
String userPassword,
byte[] fileData)
- Parameters:
userIdentifier - userPassword - fileData -
- Returns:
getCardInformation
public Response getCardInformation(String cuid,
String userIdentifier,
String userPassword,
int size)
clearCardHistory
public Response clearCardHistory(String userId,
String password,
String cuid)
setUrlsCardRelation
public Response setUrlsCardRelation(String userId,
String password,
String cuid,
String[] urls)
deleteUrlsCardRelation
public Response deleteUrlsCardRelation(String userId,
String password,
String cuid,
String[] urls)
clearCardCredential
public Response clearCardCredential(String userId,
String password,
String cuid)
putImageForIE
public Response putImageForIE(String image,
javax.servlet.http.HttpSession session)
putFileToSession
public Response putFileToSession(byte[] file,
javax.servlet.http.HttpSession session)
getFileFromSession
public byte[] getFileFromSession(javax.servlet.http.HttpSession session)
modifyCategories
public Response modifyCategories(String userId,
String password,
Category[] categories)
setCardCredential
public Response setCardCredential(String userId,
String password,
String cuid,
CardCredential tokenCredential)
getCardById
public Response getCardById(String cuid,
String userIdentifier,
String userPassword)
checkImportStream
public Response checkImportStream(String userId,
String password,
byte[] crd)
putCredentialForRestore
public Response putCredentialForRestore(String userIdentifier,
String userPassword,
byte[] fileData,
FormatDescriptor descriptor)
getCardHistory
public Response getCardHistory(String userId,
String password,
String cuid,
int startFrom,
int capacity,
String orderBy,
String orderDirection)
getOutputFormats
public Response getOutputFormats(String userId,
String password)
getICardsByFormat
public Response getICardsByFormat(String userId,
String password,
String formatID)
exportICards
public Response exportICards(String userId,
String password,
String formatID,
String[] cards,
CardCredential credential)
getWsClient
public WSClient getWsClient()
- Returns:
- the wsClient