|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for all NegotiationHandler-objects. There is the possibility to create different negotiation-strategies in different NegotiationHandler-objects.
Method Summary | |
void |
addListener(idman.neg.NegotiationListener listener)
|
java.util.Map |
getReceivedData()
Returns the received data. |
java.lang.String[] |
getReceivedPurpose(java.lang.String key,
java.lang.String retention)
Returns the received purposes for given data and corresponding retention. |
java.lang.String[] |
getReceivedRecipient(java.lang.String key,
java.lang.String retention)
Returns the received recipients for given data and corresponding retention. |
java.lang.String[] |
getReceivedRetention(java.lang.String key)
Returns the storage durations for given data. |
java.util.Map |
getSentData()
Returns the sent data. |
java.lang.String[] |
getSentPurpose(java.lang.String key,
java.lang.String retention)
Returns the sent purposes for given data and corresponding retention. |
java.lang.String[] |
getSentRecipient(java.lang.String key,
java.lang.String retention)
Returns the sent recipients for given data and corresponding retention. |
java.lang.String[] |
getSentRetention(java.lang.String key)
Returns the storage durations for given data. |
void |
init(idman.neg.PersonalData data,
org.w3c.dom.Document ruleset)
Sets the data (PersonalData) and data-handling (ruleset). |
idman.neg.NegotiationResult |
negotiate(org.w3c.dom.Document request)
Executes the Negotiation-process. |
void |
removeListener(idman.neg.NegotiationListener listener)
|
void |
setInitialRequiredData(org.w3c.dom.Document request)
Sets the initial required data by the start of negotiation. |
Method Detail |
public void init(idman.neg.PersonalData data, org.w3c.dom.Document ruleset) throws java.lang.Exception
data
- Data to discloseruleset
- Rules for disclosure
java.lang.Exception
public idman.neg.NegotiationResult negotiate(org.w3c.dom.Document request)
request
- Document to respond to
public void setInitialRequiredData(org.w3c.dom.Document request) throws java.lang.Exception
request
- Data requested in 1st request
java.lang.Exception
public java.util.Map getReceivedData()
public java.util.Map getSentData()
public java.lang.String[] getReceivedPurpose(java.lang.String key, java.lang.String retention)
key
- name of dataretention
- storage duration
public java.lang.String[] getReceivedRecipient(java.lang.String key, java.lang.String retention)
key
- name of dataretention
- storage duration
public java.lang.String[] getReceivedRetention(java.lang.String key)
key
- name of data
public java.lang.String[] getSentPurpose(java.lang.String key, java.lang.String retention)
key
- name of dataretention
- storage duration
public java.lang.String[] getSentRecipient(java.lang.String key, java.lang.String retention)
key
- name of dataretention
- storage duration
public java.lang.String[] getSentRetention(java.lang.String key)
key
- name of data
public void addListener(idman.neg.NegotiationListener listener)
public void removeListener(idman.neg.NegotiationListener listener)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |