Package com.jitcaforwin.basic.api.exceptions

Examples of com.jitcaforwin.basic.api.exceptions.PlaylistDeletedException


  public String getArtist() throws PlaylistDeletedException {
    try {
      return this.iTunesCom.getPropertyAsString("Artist");
    } catch (ITUNES_E_OBJECTDELETED e) {
      throw new PlaylistDeletedException(this);
    }
  }
View Full Code Here


  public boolean isCompilation() throws PlaylistDeletedException {
    try {
      return this.iTunesCom.getPropertyAsBoolean("Compilation");
    } catch (ITUNES_E_OBJECTDELETED e) {
      throw new PlaylistDeletedException(this);
    }
  }
View Full Code Here

  public String getComposer() throws PlaylistDeletedException {
    try {
      return this.iTunesCom.getPropertyAsString("Composer");
    } catch (ITUNES_E_OBJECTDELETED e) {
      throw new PlaylistDeletedException(this);
    }
  }
View Full Code Here

  public long getDiscCount() throws PlaylistDeletedException {
    try {
      return this.iTunesCom.getPropertyAsLong("DiscCount");
    } catch (ITUNES_E_OBJECTDELETED e) {
      throw new PlaylistDeletedException(this);
    }
  }
View Full Code Here

  public long getDiscNumber() throws PlaylistDeletedException {
    try {
      return this.iTunesCom.getPropertyAsLong("DiscNumber");
    } catch (ITUNES_E_OBJECTDELETED e) {
      throw new PlaylistDeletedException(this);
    }
  }
View Full Code Here

  public String getGenre() throws PlaylistDeletedException {
    try {
      return this.iTunesCom.getPropertyAsString("Genre");
    } catch (ITUNES_E_OBJECTDELETED e) {
      throw new PlaylistDeletedException(this);
    }
  }
View Full Code Here

  public long getYear() throws PlaylistDeletedException {
    try {
      return this.iTunesCom.getPropertyAsLong("Year");
    } catch (ITUNES_E_OBJECTDELETED e) {
      throw new PlaylistDeletedException(this);
    }
  }
View Full Code Here

  public void delete() throws PlaylistDeletedException {
    try {
      this.iTunesCom.callProcedure("Delete");
    } catch (ITUNES_E_OBJECTDELETED e) {
      throw new PlaylistDeletedException(this);
    }
  }
View Full Code Here

  // TESTTODO
  public void playFirstTrack() throws PlaylistDeletedException {
    try {
      this.iTunesCom.callProcedure("PlayFirstTrack");
    } catch (ITUNES_E_OBJECTDELETED e) {
      throw new PlaylistDeletedException(this);
    }
  }
View Full Code Here

      params[0] = showPrintDialog;
      params[1] = printKind.getValue();
      params[3] = theme;
      this.iTunesCom.callProcedure("Print", params);
    } catch (ITUNES_E_OBJECTDELETED e) {
      throw new PlaylistDeletedException(this);
    } catch (ITUNES_E_USERCANCEL e) {
      throw new UserCancelException();
    }
  }
View Full Code Here

TOP

Related Classes of com.jitcaforwin.basic.api.exceptions.PlaylistDeletedException

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.