Examples of ITObjectDeletedError


Examples of com.jitcaforwin.extended.exceptions.ITObjectDeletedError

   */
  public boolean isRepeatOne() {
    try {
      return this.itPlaylist.getSongRepeat().is(ITPlaylistRepeatMode.One());
    } catch (PlaylistDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

Examples of com.jitcaforwin.extended.exceptions.ITObjectDeletedError

   */
  public boolean isRepeatAll() {
    try {
      return this.itPlaylist.getSongRepeat().is(ITPlaylistRepeatMode.All());
    } catch (PlaylistDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

Examples of com.jitcaforwin.extended.exceptions.ITObjectDeletedError

   */
  public void repeatSongOnce() throws PlaylistException {
    try {
      this.itPlaylist.setSongRepeat(ITPlaylistRepeatMode.One());
    } catch (PlaylistDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

Examples of com.jitcaforwin.extended.exceptions.ITObjectDeletedError

        this.itPlaylist.setSongRepeat(ITPlaylistRepeatMode.All());
      } else {
        this.itPlaylist.setSongRepeat(ITPlaylistRepeatMode.Off());
      }
    } catch (PlaylistDeletedException e) {
      throw new ITObjectDeletedError(this);
    }

  }
View Full Code Here

Examples of com.jitcaforwin.extended.exceptions.ITObjectDeletedError

   */
  public Duration getDuration() throws PlaylistException {
    try {
      return new Duration(this.itPlaylist.getDuration());
    } catch (PlaylistDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

Examples of com.jitcaforwin.extended.exceptions.ITObjectDeletedError

   */
  public double getSizeInBytes() throws PlaylistException {
    try {
      return this.itPlaylist.getSize();
    } catch (PlaylistDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

Examples of com.jitcaforwin.extended.exceptions.ITObjectDeletedError

      return UserPlaylistImpl.createUserPlaylist(lazy, (UserLibrary) source, (IITUserPlaylist) itPlaylist);
    } else {
      return new PlaylistImpl(lazy, source, itPlaylist);
    }
    } catch (PlaylistDeletedException e){
      throw new ITObjectDeletedError(source);
    }
  }
View Full Code Here

Examples of com.jitcaforwin.extended.exceptions.ITObjectDeletedError

   */
  public String getName() {
    try {
      return this.itEQPreset.getName();
    } catch (EQPresetDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

Examples of com.jitcaforwin.extended.exceptions.ITObjectDeletedError

        tracksCleaned.add(track);
      }
    }
    return tracksCleaned;
  } catch (PlaylistDeletedException e) {
    throw new ITObjectDeletedError(this.source);
  }
  }
View Full Code Here

Examples of com.jitcaforwin.extended.exceptions.ITObjectDeletedError

  private IITTrackCollection loadTracksOfArtist(String artist) {
    try {
      JLogger.debug(SearchService.class, "loadTracksOfArtist() for \"" + artist + "\"");
      return this.itPlaylist.search(artist, ITPlaylistSearchField.Artists());
    } catch (PlaylistDeletedException e) {
      throw new ITObjectDeletedError(this.source);
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.