Uses of Class
org.qtunes.core.ControlMethod

Packages that use ControlMethod
org.qtunes.auth.spi An implementation of the "auth" package API 
org.qtunes.core The "core" package defines a Service and it's Context. 
org.qtunes.db The "db" package defines the API for the database, which stores the tracks and playlists 
org.qtunes.main The "main" package contains the main classes for QTunes run as an application 
org.qtunes.player The "player" package defines the API for the music player 
org.qtunes.scanner The "scanner" package searches the disk for new tracks parseable with the "ff" packages, and inserts them into the database 
 

Uses of ControlMethod in org.qtunes.auth.spi
 

Methods in org.qtunes.auth.spi with annotations of type ControlMethod
 Session AuthImpl.login(java.util.Map properties)
           
 

Uses of ControlMethod in org.qtunes.core
 

Methods in org.qtunes.core with annotations of type ControlMethod
 java.lang.String ServiceContext.getServerName()
          Return the logical name of the Server
<E extends Service>
E
ServiceContext.getService(java.lang.Class<E> type)
          Get the first Service object of the specified type
<E extends Service>
E
ServiceContext.getService(java.lang.Class<E> type, java.lang.String criteria)
          Get the first Service object of the specified type
<E extends Service>
E[]
ServiceContext.getServices(java.lang.Class<E> type, java.lang.String criteria)
          Get a list of all Service objects of the specified type
 java.lang.String ServiceContext.getSoftwareName()
          Return the name and version of the Software
 

Uses of ControlMethod in org.qtunes.db
 

Methods in org.qtunes.db with annotations of type ControlMethod
 void ManualPlaylist.add(Track track)
          Add the specified Track to the Playlist.
 void ManualPlaylist.add(Track track, int index)
          Add the specified Track to the Playlist.
 void ManualPlaylist.addAll(Playlist playlist)
          Add the tracks from the specified Playlist
 void ManualPlaylist.addAll(Playlist playlist, int index)
          Add the specified tracks to this Playlist at the specified point
 void ManualPlaylist.clear()
          Clear the Playlist
 void Database.commit()
          Commit any pending database changes (new or modified tracks) to the database.
<T> T
Track.get(AbstractField<T> field)
          Get the value of the specified Field.
 Playlist Database.getPlaylist(java.lang.String name)
          Get the Playlist with the specified name.
 java.util.Collection<java.lang.String> Database.getPlaylists()
          Get the list of Playlist names
 int Database.getRevision()
          Return the revision number of the Database
 java.util.Collection<Track> Database.getTracks()
          Return a read-only Collection with all the Tracks in the Database in arbirary order.
 java.util.List<Track> Playlist.getTracks()
          Get the list of tracks in this Playlist
 void ManualPlaylist.mergeAll(Playlist playlist)
          Add the specified tracks to this Playlist, but only if they're not duplicates.
 void ManualPlaylist.mergeAll(Playlist playlist, int index)
          Add the specified tracks to this Playlist at the specified point, but only if they're not duplicates
 void Database.putPlaylist(java.lang.String name, Playlist playlist)
          Store (possibly overwriting) the playlist with the specified name.\ If the value is null the playlist will be removed.
 Track ManualPlaylist.remove(int index)
          Remove the Track at the specified position in the Playlist
 void ManualPlaylist.removeAll(java.util.BitSet indices)
          Remove tracks at the specified indices from this Playlist
 void ManualPlaylist.removeAll(Playlist playlist)
          Remove all tracks from the specified Playlist from this Playlist
 boolean ManualPlaylist.removeTrack(Track track)
          Remove all occurances of the specified Track from the Playlist
 int Database.size()
          Return the number of tracks in this Database
 int Playlist.size()
          Get the number of tracks in this Paylist
 Playlist Playlist.sort(java.lang.String sort, java.lang.String filter)
          Get a new Playlist based on the current one, but sorted and filtered as specified.
 void Track.update(FieldMap changes)
          Update the fields on this Track.
 void Database.updateTrack(int tracknumber, FieldMap changes)
          Update the fields on the specified Track.
 

Uses of ControlMethod in org.qtunes.main
 

Methods in org.qtunes.main with annotations of type ControlMethod
 java.lang.String QTunes.getServerName()
          Return the name of the Server, as specified in the configuration
 void ServiceContextImpl.quit()
           
 

Uses of ControlMethod in org.qtunes.player
 

Methods in org.qtunes.player with annotations of type ControlMethod
 java.util.Collection<Speaker> Player.getAvailableSpeakers()
          Get the collection of speakers that could be used by this Player and that aren't currently in use elsewhere.
 int Player.getCurrentTrackIndex()
          Return the index in the list of tracks returned from Player.getPlaylist() that is currently playing.
 ManualPlaylist Player.getPlaylist()
          Return the Playlist in use by this Player
 long Player.getRemaining()
          Return the number of milliseconds remaining in the playlist.
 int Player.getRepeat()
          Get the repeat mode, as set by Player.setRepeat(int)
 boolean Player.getShuffle()
          Get the shuffle mode, as set by Player.setShuffle(boolean)
 java.util.Collection<Speaker> Player.getSpeakers()
          Return the list of Speaker objects current in use by this Player
 int Player.getTrackPosition()
          Return the number of milliseconds into the currently playing track.
 int Player.getVolume()
          Return the current volume
 boolean Player.isPaused()
          Return true if the player is paused, false if it's playing or stopped.
 void Player.playNext()
          Skip to the next track in the playlist.
 void Player.playPrevious()
          Skip to the previous track in the playlist.
 void Player.seek(int ms)
          Seek to the specified millisecond value in the current track If the value is outsize the valid range this method does nothing
 void Player.setCurrentTrackIndex(int ix)
          Set the currently playing track
 void Player.setPaused(boolean paused)
          Set the player to be paused (true) or playing (false).
 void Player.setRepeat(int repeat)
          Set the style of repeat - none (0), track only (1) or playlist (2)
 void Player.setShuffle(boolean shuffle)
          Set whether to shuffle the playlist
 void Player.setVolume(int volume)
          Set the current volume
 

Uses of ControlMethod in org.qtunes.scanner
 

Methods in org.qtunes.scanner with annotations of type ControlMethod
 long Scanner.getLastScan()
          Return the timestamp of the last scan in milliseconds
 void Scanner.rescan()
          Rescan for any tracks changed since the last scan
 void Scanner.rescan(long lastscan)
          Rescan for any tracks changed since the specified timestamp