org.eclipse.higgins.userprofile.idas
Class CardUsageManager
java.lang.Object
org.eclipse.higgins.userprofile.idas.CardUsageManager
- All Implemented Interfaces:
- org.eclipse.higgins.userprofile.ICardUsageManager
- public class CardUsageManager
- extends Object
- implements org.eclipse.higgins.userprofile.ICardUsageManager
- Author:
- PilipenkoYN
|
Method Summary |
org.eclipse.higgins.userprofile.entity.CardUsage |
addCardHistory(org.eclipse.higgins.icard.CUID cuid,
URI url)
|
org.eclipse.higgins.userprofile.entity.CardUsage |
addCardHistory(org.eclipse.higgins.icard.CUID cuid,
org.eclipse.higgins.userprofile.entity.WebForm form)
|
void |
clearCardHistory(org.eclipse.higgins.icard.CUID cuid)
|
void |
clearCardHistory(org.eclipse.higgins.icard.CUID cuid,
URI site)
|
void |
clearCardHistory(org.eclipse.higgins.icard.CUID cuid,
org.eclipse.higgins.userprofile.entity.WebForm form)
|
void |
clearUsedAlwaysURLs(org.eclipse.higgins.icard.CUID cuid)
|
void |
close()
|
org.eclipse.higgins.userprofile.entity.CardUsage |
deleteUsedAlways(org.eclipse.higgins.icard.CUID cuid,
URI url)
|
org.eclipse.higgins.userprofile.entity.CardUsage |
deleteUsedAlways(org.eclipse.higgins.icard.CUID cuid,
org.eclipse.higgins.userprofile.entity.WebForm form)
|
List |
getCardHistory(org.eclipse.higgins.icard.CUID cuid)
|
List |
getCardHistory(org.eclipse.higgins.icard.CUID cuid,
int startFrom,
int size,
String orderBy,
boolean desc)
|
List |
getCardUsageSummary(org.eclipse.higgins.icard.CUID cuid)
|
List |
getCardUsageSummary(org.eclipse.higgins.icard.CUID cuid,
int startFrom,
int size,
String orderBy,
boolean desc)
|
Map |
getClaimValuesMRU()
|
Set |
getClaimValuesMRU(String claimType)
|
int |
getHistoryTotalSize(org.eclipse.higgins.icard.CUID cuid)
|
Set |
getOptionalClaims(org.eclipse.higgins.icard.CUID cuid,
URI site)
|
Set |
getOptionalClaims(org.eclipse.higgins.icard.CUID cuid,
org.eclipse.higgins.userprofile.entity.WebForm form)
|
int |
getSummaryTotalSize(org.eclipse.higgins.icard.CUID cuid)
|
org.eclipse.higgins.icard.CUID |
getUsedAlwaysCard(URI url)
|
org.eclipse.higgins.icard.CUID |
getUsedAlwaysCard(org.eclipse.higgins.userprofile.entity.WebForm form)
|
List |
getUsedAlwaysURLs(org.eclipse.higgins.icard.CUID cuid)
|
List |
getUsedCards(URI url)
|
List |
getUsedCards(org.eclipse.higgins.userprofile.entity.WebForm form)
|
void |
setClaimValuesMRU(String claimType,
Set claimValues)
|
void |
setOptionalClaims(org.eclipse.higgins.icard.CUID cuid,
URI site,
Set optionalClaims)
|
void |
setOptionalClaims(org.eclipse.higgins.icard.CUID cuid,
org.eclipse.higgins.userprofile.entity.WebForm form,
Set optionalClaims)
|
org.eclipse.higgins.userprofile.entity.CardUsage |
setUsedAlways(org.eclipse.higgins.icard.CUID cuid,
URI url)
|
org.eclipse.higgins.userprofile.entity.CardUsage |
setUsedAlways(org.eclipse.higgins.icard.CUID cuid,
org.eclipse.higgins.userprofile.entity.WebForm form)
|
CardUsageManager
public CardUsageManager()
CardUsageManager
public CardUsageManager(org.eclipse.higgins.idas.api.IEntity dsUserProfile)
throws Exception
addCardHistory
public org.eclipse.higgins.userprofile.entity.CardUsage addCardHistory(org.eclipse.higgins.icard.CUID cuid,
URI url)
throws org.eclipse.higgins.userprofile.UserProfileException
- Specified by:
addCardHistory in interface org.eclipse.higgins.userprofile.ICardUsageManager
- Throws:
org.eclipse.higgins.userprofile.UserProfileException
addCardHistory
public org.eclipse.higgins.userprofile.entity.CardUsage addCardHistory(org.eclipse.higgins.icard.CUID cuid,
org.eclipse.higgins.userprofile.entity.WebForm form)
throws org.eclipse.higgins.userprofile.UserProfileException
- Specified by:
addCardHistory in interface org.eclipse.higgins.userprofile.ICardUsageManager
- Throws:
org.eclipse.higgins.userprofile.UserProfileException
clearCardHistory
public void clearCardHistory(org.eclipse.higgins.icard.CUID cuid)
throws org.eclipse.higgins.userprofile.UserProfileException
- Specified by:
clearCardHistory in interface org.eclipse.higgins.userprofile.ICardUsageManager
- Throws:
org.eclipse.higgins.userprofile.UserProfileException
clearCardHistory
public void clearCardHistory(org.eclipse.higgins.icard.CUID cuid,
URI site)
throws org.eclipse.higgins.userprofile.UserProfileException
- Specified by:
clearCardHistory in interface org.eclipse.higgins.userprofile.ICardUsageManager
- Throws:
org.eclipse.higgins.userprofile.UserProfileException
clearCardHistory
public void clearCardHistory(org.eclipse.higgins.icard.CUID cuid,
org.eclipse.higgins.userprofile.entity.WebForm form)
throws org.eclipse.higgins.userprofile.UserProfileException
- Specified by:
clearCardHistory in interface org.eclipse.higgins.userprofile.ICardUsageManager
- Throws:
org.eclipse.higgins.userprofile.UserProfileException
close
public void close()
throws org.eclipse.higgins.userprofile.UserProfileException
- Specified by:
close in interface org.eclipse.higgins.userprofile.ICardUsageManager
- Throws:
org.eclipse.higgins.userprofile.UserProfileException
setUsedAlways
public org.eclipse.higgins.userprofile.entity.CardUsage setUsedAlways(org.eclipse.higgins.icard.CUID cuid,
URI url)
throws org.eclipse.higgins.userprofile.UserProfileException
- Specified by:
setUsedAlways in interface org.eclipse.higgins.userprofile.ICardUsageManager
- Throws:
org.eclipse.higgins.userprofile.UserProfileException
setUsedAlways
public org.eclipse.higgins.userprofile.entity.CardUsage setUsedAlways(org.eclipse.higgins.icard.CUID cuid,
org.eclipse.higgins.userprofile.entity.WebForm form)
throws org.eclipse.higgins.userprofile.UserProfileException
- Specified by:
setUsedAlways in interface org.eclipse.higgins.userprofile.ICardUsageManager
- Throws:
org.eclipse.higgins.userprofile.UserProfileException
deleteUsedAlways
public org.eclipse.higgins.userprofile.entity.CardUsage deleteUsedAlways(org.eclipse.higgins.icard.CUID cuid,
URI url)
throws org.eclipse.higgins.userprofile.UserProfileException
- Specified by:
deleteUsedAlways in interface org.eclipse.higgins.userprofile.ICardUsageManager
- Throws:
org.eclipse.higgins.userprofile.UserProfileException
deleteUsedAlways
public org.eclipse.higgins.userprofile.entity.CardUsage deleteUsedAlways(org.eclipse.higgins.icard.CUID cuid,
org.eclipse.higgins.userprofile.entity.WebForm form)
throws org.eclipse.higgins.userprofile.UserProfileException
- Specified by:
deleteUsedAlways in interface org.eclipse.higgins.userprofile.ICardUsageManager
- Throws:
org.eclipse.higgins.userprofile.UserProfileException
setOptionalClaims
public void setOptionalClaims(org.eclipse.higgins.icard.CUID cuid,
URI site,
Set optionalClaims)
throws org.eclipse.higgins.userprofile.UserProfileException
- Specified by:
setOptionalClaims in interface org.eclipse.higgins.userprofile.ICardUsageManager
- Throws:
org.eclipse.higgins.userprofile.UserProfileException
setOptionalClaims
public void setOptionalClaims(org.eclipse.higgins.icard.CUID cuid,
org.eclipse.higgins.userprofile.entity.WebForm form,
Set optionalClaims)
throws org.eclipse.higgins.userprofile.UserProfileException
- Specified by:
setOptionalClaims in interface org.eclipse.higgins.userprofile.ICardUsageManager
- Throws:
org.eclipse.higgins.userprofile.UserProfileException
getOptionalClaims
public Set getOptionalClaims(org.eclipse.higgins.icard.CUID cuid,
URI site)
throws org.eclipse.higgins.userprofile.UserProfileException
- Specified by:
getOptionalClaims in interface org.eclipse.higgins.userprofile.ICardUsageManager
- Throws:
org.eclipse.higgins.userprofile.UserProfileException
getOptionalClaims
public Set getOptionalClaims(org.eclipse.higgins.icard.CUID cuid,
org.eclipse.higgins.userprofile.entity.WebForm form)
throws org.eclipse.higgins.userprofile.UserProfileException
- Specified by:
getOptionalClaims in interface org.eclipse.higgins.userprofile.ICardUsageManager
- Throws:
org.eclipse.higgins.userprofile.UserProfileException
clearUsedAlwaysURLs
public void clearUsedAlwaysURLs(org.eclipse.higgins.icard.CUID cuid)
throws org.eclipse.higgins.userprofile.UserProfileException
- Specified by:
clearUsedAlwaysURLs in interface org.eclipse.higgins.userprofile.ICardUsageManager
- Throws:
org.eclipse.higgins.userprofile.UserProfileException
getCardHistory
public List getCardHistory(org.eclipse.higgins.icard.CUID cuid)
throws org.eclipse.higgins.userprofile.UserProfileException
- Specified by:
getCardHistory in interface org.eclipse.higgins.userprofile.ICardUsageManager
- Throws:
org.eclipse.higgins.userprofile.UserProfileException
getCardHistory
public List getCardHistory(org.eclipse.higgins.icard.CUID cuid,
int startFrom,
int size,
String orderBy,
boolean desc)
throws org.eclipse.higgins.userprofile.UserProfileException
- Specified by:
getCardHistory in interface org.eclipse.higgins.userprofile.ICardUsageManager
- Throws:
org.eclipse.higgins.userprofile.UserProfileException
getCardUsageSummary
public List getCardUsageSummary(org.eclipse.higgins.icard.CUID cuid)
throws org.eclipse.higgins.userprofile.UserProfileException
- Specified by:
getCardUsageSummary in interface org.eclipse.higgins.userprofile.ICardUsageManager
- Throws:
org.eclipse.higgins.userprofile.UserProfileException
getCardUsageSummary
public List getCardUsageSummary(org.eclipse.higgins.icard.CUID cuid,
int startFrom,
int size,
String orderBy,
boolean desc)
throws org.eclipse.higgins.userprofile.UserProfileException
- Specified by:
getCardUsageSummary in interface org.eclipse.higgins.userprofile.ICardUsageManager
- Throws:
org.eclipse.higgins.userprofile.UserProfileException
getHistoryTotalSize
public int getHistoryTotalSize(org.eclipse.higgins.icard.CUID cuid)
throws org.eclipse.higgins.userprofile.UserProfileException
- Specified by:
getHistoryTotalSize in interface org.eclipse.higgins.userprofile.ICardUsageManager
- Throws:
org.eclipse.higgins.userprofile.UserProfileException
getSummaryTotalSize
public int getSummaryTotalSize(org.eclipse.higgins.icard.CUID cuid)
throws org.eclipse.higgins.userprofile.UserProfileException
- Specified by:
getSummaryTotalSize in interface org.eclipse.higgins.userprofile.ICardUsageManager
- Throws:
org.eclipse.higgins.userprofile.UserProfileException
getUsedAlwaysCard
public org.eclipse.higgins.icard.CUID getUsedAlwaysCard(URI url)
throws org.eclipse.higgins.userprofile.UserProfileException
- Specified by:
getUsedAlwaysCard in interface org.eclipse.higgins.userprofile.ICardUsageManager
- Throws:
org.eclipse.higgins.userprofile.UserProfileException
getUsedAlwaysCard
public org.eclipse.higgins.icard.CUID getUsedAlwaysCard(org.eclipse.higgins.userprofile.entity.WebForm form)
throws org.eclipse.higgins.userprofile.UserProfileException
- Specified by:
getUsedAlwaysCard in interface org.eclipse.higgins.userprofile.ICardUsageManager
- Throws:
org.eclipse.higgins.userprofile.UserProfileException
getUsedAlwaysURLs
public List getUsedAlwaysURLs(org.eclipse.higgins.icard.CUID cuid)
throws org.eclipse.higgins.userprofile.UserProfileException
- Specified by:
getUsedAlwaysURLs in interface org.eclipse.higgins.userprofile.ICardUsageManager
- Throws:
org.eclipse.higgins.userprofile.UserProfileException
getUsedCards
public List getUsedCards(URI url)
throws org.eclipse.higgins.userprofile.UserProfileException
- Specified by:
getUsedCards in interface org.eclipse.higgins.userprofile.ICardUsageManager
- Throws:
org.eclipse.higgins.userprofile.UserProfileException
getUsedCards
public List getUsedCards(org.eclipse.higgins.userprofile.entity.WebForm form)
throws org.eclipse.higgins.userprofile.UserProfileException
- Specified by:
getUsedCards in interface org.eclipse.higgins.userprofile.ICardUsageManager
- Throws:
org.eclipse.higgins.userprofile.UserProfileException
getClaimValuesMRU
public Map getClaimValuesMRU()
throws org.eclipse.higgins.userprofile.UserProfileException
- Specified by:
getClaimValuesMRU in interface org.eclipse.higgins.userprofile.ICardUsageManager
- Throws:
org.eclipse.higgins.userprofile.UserProfileException
getClaimValuesMRU
public Set getClaimValuesMRU(String claimType)
throws org.eclipse.higgins.userprofile.UserProfileException
- Specified by:
getClaimValuesMRU in interface org.eclipse.higgins.userprofile.ICardUsageManager
- Throws:
org.eclipse.higgins.userprofile.UserProfileException
setClaimValuesMRU
public void setClaimValuesMRU(String claimType,
Set claimValues)
throws org.eclipse.higgins.userprofile.UserProfileException
- Specified by:
setClaimValuesMRU in interface org.eclipse.higgins.userprofile.ICardUsageManager
- Throws:
org.eclipse.higgins.userprofile.UserProfileException