|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
The IClaimContainer represents an interface of container
object for IClaim objects. Defines methods to create and update some
individual IClaim objects as well as to retrieve them.
| Method Summary | |
|---|---|
IClaim |
createClaim(String type)
Creates a new IClaim object for this container of claims and adds
it to the container. |
IClaim |
getClaim(String type)
Returns the specified claim of this object. |
Iterator |
getClaims()
Return all claims of this container object. |
IClaim |
setClaim(IClaim copyFrom)
Creates a new IClaim object for this container of claims with the
type specified by copyFrom.getType() if corresponding
IClaim object doesn't exist yet in this container. |
| Methods inherited from interface org.eclipse.higgins.icard.IClaimTypeContainer |
|---|
getSupportedClaimTypes |
| Method Detail |
public Iterator getClaims()
throws AuthenticationRequiredException,
CardException
IClaims.
AuthenticationRequiredException - when authentication is required to perform this request
CardException
public IClaim getClaim(String type)
throws AuthenticationRequiredException,
InvalidTypeException,
CardException
type - the identifier of the claim to be returned.
IClaim or if none exits.
AuthenticationRequiredException - when authentication is required to perform this request
InvalidTypeException - if this object can't contains a claim with the specified
type.
CardException - in case of some unexpected error.
public IClaim setClaim(IClaim copyFrom)
throws InvalidClaimException,
InvalidTypeException,
ReadOnlyObjectException,
CardException
IClaim object for this container of claims with the
type specified by copyFrom.getType() if corresponding
IClaim object doesn't exist yet in this container. Performs deep
copy of the data from the provided object to the contained one.
copyFrom - an IClaim object from which data is copied to the
contained IClaim object.
IClaim object.
InvalidClaimException - if provided claim object is invalid for this container.
InvalidTypeException - if this object can't contains a claim with the specified
type.
ReadOnlyObjectException - if implicit subject doesn't support modifications of its
claims.
CardException - in case of some unexpected error.
public IClaim createClaim(String type)
throws InvalidTypeException,
ReadOnlyObjectException,
CardException
IClaim object for this container of claims and adds
it to the container. This call is typically followed by one or more calls
to on the returned IClaim object to set its value(s).
type - the String specifying the type of the IClaim being created.
InvalidTypeException - if this object can't contains a claim with the specified
type.
ReadOnlyObjectException - if implicit subject doesn't support modifications of its
claims.
CardException - in case of some unexpected error.
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||