Package com.github.hakko.musiccabinet.domain.model.library

Examples of com.github.hakko.musiccabinet.domain.model.library.WebserviceInvocation


public class TagTopArtistsClient extends AbstractWSGetClient {

  public static final String METHOD = "tag.gettopartists";
 
  public WSResponse getTopArtists(Tag tag) throws ApplicationException {
    WebserviceInvocation webserviceInvocation =
      new WebserviceInvocation(TAG_GET_TOP_ARTISTS, tag);

    List<NameValuePair> params = getDefaultParameterList();
    params.add(new BasicNameValuePair(PARAM_METHOD, METHOD));
    params.add(new BasicNameValuePair(PARAM_TAG, tag.getName()));
   
View Full Code Here


public class ArtistInfoClient extends AbstractWSGetClient {

  public static final String METHOD = "artist.getinfo";
 
  public WSResponse getArtistInfo(Artist artist, String lang) throws ApplicationException {
    WebserviceInvocation webserviceInvocation =
      new WebserviceInvocation(ARTIST_GET_INFO, artist);

    List<NameValuePair> params = getDefaultParameterList();
    params.add(new BasicNameValuePair(PARAM_METHOD, METHOD));
    params.add(new BasicNameValuePair(PARAM_ARTIST, artist.getName()));
    params.add(new BasicNameValuePair(PARAM_LANG, lang));
View Full Code Here

TOP

Related Classes of com.github.hakko.musiccabinet.domain.model.library.WebserviceInvocation

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.