public static final String ADD_METHOD = "artist.addTags";
public static final String REMOVE_METHOD = "artist.removeTag";
public WSResponse updateTag(ArtistUserTag artistUserTag) throws ApplicationException {
List<NameValuePair> params = getDefaultParameterList();
params.add(new BasicNameValuePair(PARAM_ARTIST, artistUserTag.getArtist().getName()));
params.add(new BasicNameValuePair(PARAM_SK, artistUserTag.getLastFmUser().getSessionKey()));
if (artistUserTag.isIncrease()) {
params.add(new BasicNameValuePair(PARAM_METHOD, ADD_METHOD));
params.add(new BasicNameValuePair(PARAM_TAGS, artistUserTag.getTagName()));
} else {
params.add(new BasicNameValuePair(PARAM_METHOD, REMOVE_METHOD));
params.add(new BasicNameValuePair(PARAM_TAG, artistUserTag.getTagName()));
}
return executeWSRequest(params);
}