org.eclipse.higgins.icard.userprofile
Interface IUserProfileService
- All Superinterfaces:
- org.eclipse.higgins.registry.IServiceProvider
- public interface IUserProfileService
- extends org.eclipse.higgins.registry.IServiceProvider
- Author:
- Yuriy Pilipenko
| Methods inherited from interface org.eclipse.higgins.registry.IServiceProvider |
getConfiguration, getID, setID |
getUserProfile
public UserProfile getUserProfile(CallbackHandler handler)
throws UserProfileException
- Returns:
-
- Throws:
CardException
UserProfileException
addUserProfile
public UserProfile addUserProfile(CallbackHandler handler,
UserProfile userProfile)
throws UserProfileException
- Parameters:
userProfile -
- Returns:
-
- Throws:
CardException
UserProfileException
modifyUserProfile
public UserProfile modifyUserProfile(CallbackHandler handler,
UserProfile userProfile)
throws UserProfileException
- Parameters:
userProfile -
- Returns:
-
- Throws:
UserProfileException
deleteUserProfile
public void deleteUserProfile(CallbackHandler handler)
throws UserProfileException
- Returns:
-
- Throws:
UserProfileException
resetPassword
public String resetPassword(CallbackHandler handler)
throws UserProfileException
- Returns:
-
- Throws:
UserProfileException
userIdentifierExists
public boolean userIdentifierExists(String userIdentifier)
throws UserProfileException
- Parameters:
userIdentifier -
- Returns:
- true if the specified user profile already exists
- Throws:
UserProfileException
resolveUserIdentifier
public String resolveUserIdentifier(String privateSelectorINumber)
throws UserProfileException
- Resolves user private Selector I-Number to user Identifier
- Parameters:
privateSelectorINumber -
- Returns:
-
- Throws:
UserProfileException
getCategories
public List getCategories(CallbackHandler handler)
throws UserProfileException
- Parameters:
handler - - authentication handler
- Returns:
- List object with all user categories.
- Throws:
UserProfileException
addCategory
public Category addCategory(CallbackHandler handler,
Category category)
throws UserProfileException
- Parameters:
handler - - authentication handlercategory -
- Returns:
- new created category instance.
- Throws:
UserProfileException
modifyCategory
public Category modifyCategory(CallbackHandler handler,
Category category)
throws UserProfileException
- Parameters:
handler - - authentication handlercategory -
- Returns:
- updated category instance .
- Throws:
UserProfileException
deleteCategory
public void deleteCategory(CallbackHandler handler,
String categoryId)
throws UserProfileException
- Parameters:
categoryId -
- Returns:
- .
- Throws:
UserProfileException
setCardCredential
public CardInformation setCardCredential(CallbackHandler handler,
CUID cuid,
CardCredential cardCredential)
throws UserProfileException
- Sets credential information for the given card.
- Parameters:
handler - cuid - cardCredential -
- Returns:
- CardInformation object with all related card information, or null if card info not found
- Throws:
UserProfileException
clearCardCredential
public CardInformation clearCardCredential(CallbackHandler handler,
CUID cuid)
throws UserProfileException
- Clears credential information for the given card.
- Parameters:
handler -
- Returns:
- CardInformation object with all related card information, or null if card info not found
- Throws:
UserProfileException
getCardInformation
public CardInformation getCardInformation(CallbackHandler handler,
CUID cuid)
throws UserProfileException
- Returns the whole information about the given card
- Parameters:
handler - cuid -
- Returns:
-
- Throws:
UserProfileException
getCardUsageManager
public ICardUsageManager getCardUsageManager(CallbackHandler handler)
throws UserProfileException
- Returns class that manages all Card usage and URI relations information
- Parameters:
handler -
- Returns:
- instance of ICardUsageRelationManager
- Throws:
UserProfileException