|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.higgins.userprofile.inmem.MemCardUsageManager
Constructor Summary | |
---|---|
MemCardUsageManager()
|
Method Summary | |
---|---|
CardUsage |
addCardHistory(org.eclipse.higgins.icard.CUID cuid,
URI uri)
Adds info about card usage event |
CardUsage |
addCardHistory(org.eclipse.higgins.icard.CUID cuid,
WebForm form)
Adds info about card usage event |
void |
clearCardHistory(org.eclipse.higgins.icard.CUID cuid)
Deletes all the usage events of the given card on all URIs unless it is checked as "Use Always". |
void |
clearCardHistory(org.eclipse.higgins.icard.CUID cuid,
URI uri)
Deletes one usage event of the given card on the given site unless it is checked as "Use Always". |
void |
clearCardHistory(org.eclipse.higgins.icard.CUID cuid,
WebForm form)
Deletes one usage event of the given card on the given site unless it is checked as "Use Always". |
void |
clearUsedAlwaysURLs(org.eclipse.higgins.icard.CUID cuid)
Deletes state "Use Always" on all web forms for the given card |
void |
close()
Finishes all the work done, releases contexts, resourses etc. |
CardUsage |
deleteUsedAlways(org.eclipse.higgins.icard.CUID cuid,
URI uri)
Deletes the "Use Always" relation between this card and this site |
CardUsage |
deleteUsedAlways(org.eclipse.higgins.icard.CUID cuid,
WebForm form)
Deletes the "Use Always" relation between this card and this site and form |
List |
getCardHistory(org.eclipse.higgins.icard.CUID cuid)
Returns the card usage history |
List |
getCardHistory(org.eclipse.higgins.icard.CUID cuid,
int startFrom,
int size,
String orderBy,
boolean desc)
Returns the card usage history in a paging manner |
List |
getCardUsageSummary(org.eclipse.higgins.icard.CUID cuid)
Returns card relations to web site forms with last used dates and state remembered it on this site and form or not |
List |
getCardUsageSummary(org.eclipse.higgins.icard.CUID cuid,
int startFrom,
int size,
String orderBy,
boolean desc)
Returns card relations to URI with last used dates and state remembered it on this site or not |
Map |
getClaimValuesMRU()
Return all the remembered claim values by types in a map where key is claim type and value is Set of claim values |
Set |
getClaimValuesMRU(String claimType)
Return remembered claim values for the specified claim type |
int |
getHistoryTotalSize(org.eclipse.higgins.icard.CUID cuid)
Returns the total size of history for paging output |
Set |
getOptionalClaims(org.eclipse.higgins.icard.CUID cuid,
URI uri)
Returns list of the remembered optional claim types of the given card which will be used on the given site when zero-click login occurs |
Set |
getOptionalClaims(org.eclipse.higgins.icard.CUID cuid,
WebForm form)
Returns list of the remembered optional claim types of the given card which will be used on the given site when zero-click login occurs |
int |
getSummaryTotalSize(org.eclipse.higgins.icard.CUID cuid)
|
org.eclipse.higgins.icard.CUID |
getUsedAlwaysCard(URI uri)
Returns the card remembered for the given site |
org.eclipse.higgins.icard.CUID |
getUsedAlwaysCard(WebForm form)
Returns the card remembered for the given web form on the site |
List |
getUsedAlwaysURLs(org.eclipse.higgins.icard.CUID cuid)
Returns the List of CardUsage objects with web form info for which the given card is remembered |
List |
getUsedCards(URI uri)
Returns the List of CardUsage objects of all the cards, which ever been logged in to this site |
List |
getUsedCards(WebForm form)
Returns the List of CardUsage objects of all the cards, which ever been logged into site with the given form |
void |
setClaimValuesMRU(String claimType,
Set claimValues)
Set the values for the specified claim type |
void |
setOptionalClaims(org.eclipse.higgins.icard.CUID cuid,
URI site,
Set optionalClaims)
Remembers the list of optional claim types of the card that are need to be used during subsequent zero-click logins to the given site |
void |
setOptionalClaims(org.eclipse.higgins.icard.CUID cuid,
WebForm from,
Set optionalClaims)
Remembers the list of optional claim types of the card that are need to be used during subsequent zero-click logins with the given form on the site |
CardUsage |
setUsedAlways(org.eclipse.higgins.icard.CUID cuid,
URI uri)
Remembers this card for this site for subsequent zero-click logins |
CardUsage |
setUsedAlways(org.eclipse.higgins.icard.CUID cuid,
URI uri,
Set optionalClaims)
|
CardUsage |
setUsedAlways(org.eclipse.higgins.icard.CUID cuid,
WebForm form)
Remembers this card for this site and form for subsequent zero-click logins |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MemCardUsageManager()
Method Detail |
public CardUsage addCardHistory(org.eclipse.higgins.icard.CUID cuid, URI uri) throws UserProfileException
ICardUsageManager
addCardHistory
in interface ICardUsageManager
UserProfileException
public void clearCardHistory(org.eclipse.higgins.icard.CUID cuid) throws UserProfileException
ICardUsageManager
clearCardHistory
in interface ICardUsageManager
cuid
-
UserProfileException
public void clearUsedAlwaysURLs(org.eclipse.higgins.icard.CUID cuid) throws UserProfileException
ICardUsageManager
clearUsedAlwaysURLs
in interface ICardUsageManager
cuid
-
UserProfileException
public void close() throws UserProfileException
ICardUsageManager
close
in interface ICardUsageManager
UserProfileException
public CardUsage deleteUsedAlways(org.eclipse.higgins.icard.CUID cuid, URI uri) throws UserProfileException
ICardUsageManager
deleteUsedAlways
in interface ICardUsageManager
cuid
-
UserProfileException
public List getCardHistory(org.eclipse.higgins.icard.CUID cuid) throws UserProfileException
ICardUsageManager
getCardHistory
in interface ICardUsageManager
cuid
-
UserProfileException
public List getCardHistory(org.eclipse.higgins.icard.CUID cuid, int startFrom, int size, String orderBy, boolean desc) throws UserProfileException
ICardUsageManager
getCardHistory
in interface ICardUsageManager
cuid
- startFrom
- size
- orderBy
- - string constants from CardUsage class, by what field to order outputdesc
-
UserProfileException
public List getCardUsageSummary(org.eclipse.higgins.icard.CUID cuid) throws UserProfileException
ICardUsageManager
getCardUsageSummary
in interface ICardUsageManager
cuid
-
UserProfileException
public List getCardUsageSummary(org.eclipse.higgins.icard.CUID cuid, int startFrom, int size, String orderBy, boolean desc) throws UserProfileException
ICardUsageManager
getCardUsageSummary
in interface ICardUsageManager
cuid
- startFrom
- size
- orderBy
- - string constants from CardUsage class, by what field to order outputdesc
-
UserProfileException
public int getHistoryTotalSize(org.eclipse.higgins.icard.CUID cuid) throws UserProfileException
ICardUsageManager
getHistoryTotalSize
in interface ICardUsageManager
UserProfileException
public int getSummaryTotalSize(org.eclipse.higgins.icard.CUID cuid) throws UserProfileException
getSummaryTotalSize
in interface ICardUsageManager
cuid
-
UserProfileException
public org.eclipse.higgins.icard.CUID getUsedAlwaysCard(URI uri) throws UserProfileException
ICardUsageManager
getUsedAlwaysCard
in interface ICardUsageManager
UserProfileException
public List getUsedAlwaysURLs(org.eclipse.higgins.icard.CUID cuid) throws UserProfileException
ICardUsageManager
getUsedAlwaysURLs
in interface ICardUsageManager
cuid
-
UserProfileException
public List getUsedCards(URI uri) throws UserProfileException
ICardUsageManager
getUsedCards
in interface ICardUsageManager
UserProfileException
public CardUsage setUsedAlways(org.eclipse.higgins.icard.CUID cuid, URI uri, Set optionalClaims) throws UserProfileException
UserProfileException
public Set getOptionalClaims(org.eclipse.higgins.icard.CUID cuid, URI uri) throws UserProfileException
ICardUsageManager
getOptionalClaims
in interface ICardUsageManager
cuid
-
UserProfileException
public Map getClaimValuesMRU() throws UserProfileException
ICardUsageManager
getClaimValuesMRU
in interface ICardUsageManager
UserProfileException
public Set getClaimValuesMRU(String claimType) throws UserProfileException
ICardUsageManager
getClaimValuesMRU
in interface ICardUsageManager
claimType
-
UserProfileException
public void setClaimValuesMRU(String claimType, Set claimValues) throws UserProfileException
ICardUsageManager
setClaimValuesMRU
in interface ICardUsageManager
claimType
- claimType for which to remember MRU claim values.claimValues
- - remembered MRU values for the claim type. If null or empty
clears all the MRU claim values for the claim type.
UserProfileException
public void setOptionalClaims(org.eclipse.higgins.icard.CUID cuid, URI site, Set optionalClaims) throws UserProfileException
ICardUsageManager
setOptionalClaims
in interface ICardUsageManager
cuid
- optionalClaims
- Set of String claim types, when null - clears all claim types
UserProfileException
public CardUsage setUsedAlways(org.eclipse.higgins.icard.CUID cuid, URI uri) throws UserProfileException
ICardUsageManager
setUsedAlways
in interface ICardUsageManager
cuid
-
UserProfileException
public void clearCardHistory(org.eclipse.higgins.icard.CUID cuid, URI uri) throws UserProfileException
ICardUsageManager
clearCardHistory
in interface ICardUsageManager
cuid
-
UserProfileException
public CardUsage deleteUsedAlways(org.eclipse.higgins.icard.CUID cuid, WebForm form) throws UserProfileException
ICardUsageManager
deleteUsedAlways
in interface ICardUsageManager
cuid
- form
-
UserProfileException
public Set getOptionalClaims(org.eclipse.higgins.icard.CUID cuid, WebForm form) throws UserProfileException
ICardUsageManager
getOptionalClaims
in interface ICardUsageManager
cuid
- form
-
UserProfileException
public org.eclipse.higgins.icard.CUID getUsedAlwaysCard(WebForm form) throws UserProfileException
ICardUsageManager
getUsedAlwaysCard
in interface ICardUsageManager
UserProfileException
public List getUsedCards(WebForm form) throws UserProfileException
ICardUsageManager
getUsedCards
in interface ICardUsageManager
form
- - web form on the site
UserProfileException
public void setOptionalClaims(org.eclipse.higgins.icard.CUID cuid, WebForm from, Set optionalClaims) throws UserProfileException
ICardUsageManager
setOptionalClaims
in interface ICardUsageManager
cuid
- optionalClaims
- Set of String claim types, when null - clears all claim types
UserProfileException
public CardUsage setUsedAlways(org.eclipse.higgins.icard.CUID cuid, WebForm form) throws UserProfileException
ICardUsageManager
setUsedAlways
in interface ICardUsageManager
cuid
- form
-
UserProfileException
public CardUsage addCardHistory(org.eclipse.higgins.icard.CUID cuid, WebForm form) throws UserProfileException
ICardUsageManager
addCardHistory
in interface ICardUsageManager
UserProfileException
public void clearCardHistory(org.eclipse.higgins.icard.CUID cuid, WebForm form) throws UserProfileException
ICardUsageManager
clearCardHistory
in interface ICardUsageManager
cuid
- form
-
UserProfileException
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |