Class PendingContributionStore
java.lang.Object
it.uniroma2.art.semanticturkey.showvoc.PendingContributionStore
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addPendingContribution
(String token, String projectName, String contributorEmail, String contributorName, String contributorLastName) getPendingContribution
(String token) Given a token returns the related pending contribution (if any)void
removePendingContribution
(String token)
-
Constructor Details
-
PendingContributionStore
- Throws:
IOException
-
-
Method Details
-
addPendingContribution
public void addPendingContribution(String token, String projectName, String contributorEmail, String contributorName, String contributorLastName) throws IOException - Throws:
IOException
-
getPendingContribution
Given a token returns the related pending contribution (if any)- Parameters:
token
-- Returns:
- the project name of the pending contribution related to the token. Null if the token has no pending contribution
-
removePendingContribution
- Throws:
IOException
-