Uses of Class
org.stanwood.media.store.StoreException

Packages that use StoreException
org.stanwood.media   
org.stanwood.media.cli.importer   
org.stanwood.media.search   
org.stanwood.media.store   
org.stanwood.media.store.memory   
org.stanwood.media.store.mp4   
org.stanwood.media.store.mp4.itunes   
org.stanwood.media.store.xmlstore   
 

Uses of StoreException in org.stanwood.media
 

Methods in org.stanwood.media that throw StoreException
 void MediaDirectory.fileChanged(java.io.File file)
          This is called to notify stores that a file has changed.
 IEpisode MediaDirectory.getEpisode(java.io.File rootMediaDir, java.io.File episodeFile, ISeason season, int episodeNum, boolean refresh)
          Get a episode with a given episode number.
 IFilm MediaDirectory.getFilm(java.io.File rootMediaDir, java.io.File filmFile, SearchResult searchResult, boolean refresh)
          Get a film with a given film id and source id.
 ISeason MediaDirectory.getSeason(java.io.File rootMediaDir, java.io.File episodeFile, IShow show, int seasonNum, boolean refresh)
          Get a season with a given season number.
 IShow MediaDirectory.getShow(java.io.File rootMediaDir, java.io.File episodeFile, SearchResult searchResult, boolean refresh)
          Get a show with a given show id and source id.
 IEpisode MediaDirectory.getSpecial(java.io.File rootMediaDir, java.io.File specialFile, ISeason season, int specialNum, boolean refresh)
          Get a special episode with a given special episode number.
 void MediaDirectory.renamedFile(java.io.File rootMediaDir, java.io.File oldFile, java.io.File newFile)
          This is used when a file that holds a episode or film has been renamed
 SearchResult MediaDirectory.searchForVideoId(java.io.File mediaFile, boolean useSources)
          This will search for a show id in the stores and sources.
 

Uses of StoreException in org.stanwood.media.cli.importer
 

Methods in org.stanwood.media.cli.importer that throw StoreException
protected  java.util.Map<java.io.File,java.util.List<java.io.File>> CLIImportMedia.setupStoresAndActions()
           
 

Uses of StoreException in org.stanwood.media.search
 

Methods in org.stanwood.media.search that throw StoreException
protected abstract  SearchResult AbstractMediaSearcher.doSearch(java.io.File mediaFile, java.lang.String term, java.lang.String year, java.lang.Integer part, boolean useSources)
          Used todo a search on the term and the year and return the result
 SearchResult AbstractMediaSearcher.search(java.io.File mediaFile, MediaDirectory mediaDir, boolean useSources)
          Used to search for a media id
 SearchResult IMediaSearcher.search(java.io.File mediaFile, MediaDirectory mediaDir, boolean useSources)
          Used to search for a media id
 

Uses of StoreException in org.stanwood.media.store
 

Methods in org.stanwood.media.store that throw StoreException
 void IStore.cacheEpisode(java.io.File rootMediaDir, java.io.File episodeFile, IEpisode episode)
          This is used to write a episode or special too the store
 void SapphireStore.cacheEpisode(java.io.File rootMediaDir, java.io.File episodeFile, IEpisode episode)
          This will store the episode and show details in a XML file next too the media file.
 void IStore.cacheFilm(java.io.File rootMediaDir, java.io.File filmFile, IFilm film, java.lang.Integer part)
          This is used to write a film to the store.
 void SapphireStore.cacheFilm(java.io.File rootMediaDir, java.io.File filmFile, IFilm film, java.lang.Integer part)
          This is used to write a film to the store.
 void IStore.cacheSeason(java.io.File rootMediaDir, java.io.File episodeFile, ISeason season)
          This is used to write a season too the store.
 void IStore.cacheShow(java.io.File rootMediaDir, java.io.File episodeFile, IShow show)
          This is used to write a show too the store.
 void IStore.fileDeleted(MediaDirectory dir, java.io.File file)
          This is called when a file is deleted from a media directory
 void SapphireStore.fileDeleted(MediaDirectory dir, java.io.File file)
          This is called when a file is deleted from a media directory
 void IStore.fileUpdated(MediaDirectory mediaDirectory, java.io.File file)
          This is called when a file is updated within a media directory.
 void SapphireStore.fileUpdated(MediaDirectory mediaDirectory, java.io.File file)
          This is called when a file is updated within a media directory.
 IEpisode IStore.getEpisode(java.io.File rootMediaDir, java.io.File episodeFile, ISeason season, int episodeNum)
          This gets a episode from the store.
 IEpisode IStore.getEpisode(MediaDirectory dir, java.io.File file)
          This is used to get a episode from a store via it's file name.
 IEpisode SapphireStore.getEpisode(MediaDirectory dir, java.io.File file)
          This is used to get a episode from a store via it's file name.
 IFilm IStore.getFilm(java.io.File rootMediaDir, java.io.File filmFile, java.lang.String filmId)
          This will get a film from the store.
 IFilm SapphireStore.getFilm(java.io.File rootMediaDir, java.io.File filmFile, java.lang.String filmId)
          Always returns null as it is not implemented for this store.
 IFilm IStore.getFilm(MediaDirectory dir, java.io.File file)
          This is used to get a film from a store via it's file name.
 IFilm SapphireStore.getFilm(MediaDirectory dir, java.io.File file)
          This is used to get a film from a store via it's file name.
 java.lang.String IStore.getParameter(java.lang.String key)
          Used to get the value of a source parameter.
 ISeason IStore.getSeason(java.io.File rootMediaDir, java.io.File episodeFile, IShow show, int seasonNum)
          This will get a season from the store.
 IShow IStore.getShow(java.io.File rootMediaDir, java.io.File episodeFile, java.lang.String showId)
          This will get a show from the store.
 IEpisode IStore.getSpecial(java.io.File rootMediaDir, java.io.File episodeFile, ISeason season, int specialNumber)
          This gets a special episode from the store.
 void IStore.init(Controller controller, java.io.File nativeDir)
          Called to initialise the stores and check all their resources can be found.
 void SapphireStore.init(Controller controller, java.io.File nativeDir)
          Called to initialise the stores and check all their resources can be found.
 java.util.Collection<IEpisode> IStore.listEpisodes(MediaDirConfig dirConfig, IProgressMonitor monitor)
          This is used to list all the episodes within the store if the store supports the operation.
 java.util.Collection<IFilm> IStore.listFilms(MediaDirConfig dirConfig, IProgressMonitor monitor)
          This is used to list all the films within the store if the store supports the operation.
 void IStore.performedActions(MediaDirectory dir)
          This is called after all the actions on all the media files have been performed so that the store can clean up any stale data.
 void IStore.renamedFile(java.io.File rootMediaDir, java.io.File oldFile, java.io.File newFile)
          This is used when a file that holds a episode or film has been renamed
 SearchResult IStore.searchMedia(java.lang.String name, Mode mode, java.lang.Integer part, MediaDirConfig dirConfig, java.io.File mediaFile)
          Used to search for store for media
 SearchResult SapphireStore.searchMedia(java.lang.String name, Mode mode, java.lang.Integer part, MediaDirConfig dirConfig, java.io.File mediaFile)
          Used to search for store for media
 void IStore.setParameter(java.lang.String key, java.lang.String value)
          Used to set source parameters.
 void IStore.upgrade(MediaDirectory mediaDirectory)
          This is called to check if a upgrade is needed and perform the upgrade if required
 

Uses of StoreException in org.stanwood.media.store.memory
 

Methods in org.stanwood.media.store.memory that throw StoreException
 void MemoryStore.cacheFilm(java.io.File rootMediaDir, java.io.File filmFile, IFilm film, java.lang.Integer part)
          This is used to write a film to the store.
 void MemoryStore.cacheSeason(java.io.File rootMediaDir, java.io.File episodeFile, ISeason season)
          This is used to write a season too the store.
 void MemoryStore.cacheShow(java.io.File rootMediaDir, java.io.File episodeFile, IShow show)
          This is used to write a show too the store.
 void MemoryStore.fileUpdated(MediaDirectory mediaDirectory, java.io.File file)
          This is called when a file is updated within a media directory.
 IEpisode MemoryStore.getEpisode(java.io.File rootMediaDir, java.io.File episodeFile, ISeason season, int episodeNum)
          This gets a episode from the store.
 IEpisode MemoryStore.getEpisode(MediaDirectory dir, java.io.File file)
          This is used to get a episode from a store via it's file name.
 IFilm MemoryStore.getFilm(java.io.File rootMediaDir, java.io.File filmFile, java.lang.String filmId)
          Used to read a film from the store.
 IFilm MemoryStore.getFilm(MediaDirectory dir, java.io.File file)
          This is used to get a film from a store via it's file name.
 ISeason MemoryStore.getSeason(java.io.File rootMediaDir, java.io.File episodeFile, IShow show, int seasonNum)
          This will get the season from the store
 Show MemoryStore.getShow(java.io.File rootMediaDir, java.io.File episodeFile, java.lang.String showId)
          This will get a show from the store.
 IEpisode MemoryStore.getSpecial(java.io.File rootMediaDir, java.io.File episodeFile, ISeason season, int specialNumber)
          This gets a special episode from the store.
 void MemoryStore.init(Controller controller, java.io.File nativeDir)
          Called to initialise the stores and check all their resources can be found.
 SearchResult MemoryStore.searchMedia(java.lang.String name, Mode mode, java.lang.Integer part, MediaDirConfig dirConfig, java.io.File mediaFile)
          Used to search for store for media
 

Uses of StoreException in org.stanwood.media.store.mp4
 

Methods in org.stanwood.media.store.mp4 that throw StoreException
 void MP4ITunesStore.cacheEpisode(java.io.File rootMediaDir, java.io.File episodeFile, IEpisode episode)
          This is used to store episode information of a TVShow MP4 file into the file as meta data so that iTunes can read it.
 void MP4ITunesStore.cacheFilm(java.io.File rootMediaDir, java.io.File filmFile, IFilm film, java.lang.Integer part)
          This is used to write a film to the store.
 void MP4ITunesStore.cacheSeason(java.io.File rootMediaDir, java.io.File episodeFile, ISeason season)
          This does nothing as the season information can't be stored by this store
 void MP4ITunesStore.cacheShow(java.io.File rootMediaDir, java.io.File episodeFile, IShow show)
          This does nothing as the show information can't be stored by this store
 void MP4ITunesStore.fileUpdated(MediaDirectory mediaDirectory, java.io.File file)
          This is called when a file is updated within a media directory.
 IEpisode MP4ITunesStore.getEpisode(java.io.File rootMediaDir, java.io.File episodeFile, ISeason season, int episodeNum)
          This will always return null as this is a write only store
 IEpisode MP4ITunesStore.getEpisode(MediaDirectory dir, java.io.File file)
          This is used to get a episode from a store via it's file name.
 IFilm MP4ITunesStore.getFilm(java.io.File rootMediaDir, java.io.File filmFile, java.lang.String filmId)
          Always returns null as it is not implemented for this store.
 IFilm MP4ITunesStore.getFilm(MediaDirectory dir, java.io.File file)
          This is used to get a film from a store via it's file name.
 java.lang.String MP4ITunesStore.getParameter(java.lang.String key)
          Used to get the value of a source parameter.
 ISeason MP4ITunesStore.getSeason(java.io.File rootMediaDir, java.io.File episodeFile, IShow show, int seasonNum)
          This will always return null as this is a write only store
 IShow MP4ITunesStore.getShow(java.io.File rootMediaDir, java.io.File episodeFile, java.lang.String showId)
          This will always return null as this is a write only store
 IEpisode MP4ITunesStore.getSpecial(java.io.File rootMediaDir, java.io.File episodeFile, ISeason season, int specialNumber)
          This will always return null as this is a write only store
 void MP4ITunesStore.init(Controller controller, java.io.File nativeDir)
          Called to initialise the stores and check all their resources can be found.
protected  java.util.Properties MP4ITunesStore.readStoreConfig(MediaDirectory mediaDirectory, java.io.File configFile)
           
protected  void MP4ITunesStore.saveStoreVersion(MediaDirectory mediaDirectory)
           
 SearchResult MP4ITunesStore.searchMedia(java.lang.String name, Mode mode, java.lang.Integer part, MediaDirConfig dirConfig, java.io.File mediaFile)
          Used to search for store for media
 void MP4ITunesStore.setParameter(java.lang.String key, java.lang.String value)
          Used to set source parameters.
 void MP4ITunesStore.upgrade(MediaDirectory mediaDirectory)
          This is called to check if a upgrade is needed and perform the upgrade if required
 

Uses of StoreException in org.stanwood.media.store.mp4.itunes
 

Methods in org.stanwood.media.store.mp4.itunes that throw StoreException
 void RemoteMacOSXItunesStore.cacheEpisode(java.io.File rootMediaDir, java.io.File episodeFile, IEpisode episode)
          This is used to write a episode or special too the store
 void RemoteMacOSXItunesStore.cacheFilm(java.io.File rootMediaDir, java.io.File filmFile, IFilm film, java.lang.Integer part)
          This is used to write a film to the store.
 void RemoteMacOSXItunesStore.cacheSeason(java.io.File rootMediaDir, java.io.File episodeFile, ISeason season)
          This is used to write a season too the store.
 void RemoteMacOSXItunesStore.cacheShow(java.io.File rootMediaDir, java.io.File episodeFile, IShow show)
          This is used to write a show too the store.
 void ITunesRemoteClient.connect(java.net.InetAddress hostname, int port)
          Used to connect to the server
 void RemoteMacOSXItunesStore.fileDeleted(MediaDirectory dir, java.io.File file)
          This is called when a file is deleted from a media directory
 void RemoteMacOSXItunesStore.fileUpdated(MediaDirectory mediaDirectory, java.io.File file)
          This is called when a file is updated within a media directory.
 IEpisode RemoteMacOSXItunesStore.getEpisode(java.io.File rootMediaDir, java.io.File episodeFile, ISeason season, int episodeNum)
          This gets a episode from the store.
 IEpisode RemoteMacOSXItunesStore.getEpisode(MediaDirectory dir, java.io.File file)
          This is used to get a episode from a store via it's file name.
 IFilm RemoteMacOSXItunesStore.getFilm(java.io.File rootMediaDir, java.io.File filmFile, java.lang.String filmId)
          This will get a film from the store.
 IFilm RemoteMacOSXItunesStore.getFilm(MediaDirectory dir, java.io.File file)
          This is used to get a film from a store via it's file name.
 java.lang.String RemoteMacOSXItunesStore.getParameter(java.lang.String key)
          Used to get the value of a source parameter.
 ISeason RemoteMacOSXItunesStore.getSeason(java.io.File rootMediaDir, java.io.File episodeFile, IShow show, int seasonNum)
          This will get a season from the store.
 IShow RemoteMacOSXItunesStore.getShow(java.io.File rootMediaDir, java.io.File episodeFile, java.lang.String showId)
          This will get a show from the store.
 IEpisode RemoteMacOSXItunesStore.getSpecial(java.io.File rootMediaDir, java.io.File episodeFile, ISeason season, int specialNumber)
          This gets a special episode from the store.
protected  void RemoteMacOSXItunesStore.init()
           
 void RemoteMacOSXItunesStore.init(Controller controller, java.io.File nativeDir)
          Called to initialise the stores and check all their resources can be found.
 java.util.Collection<IEpisode> RemoteMacOSXItunesStore.listEpisodes(MediaDirConfig dirConfig, IProgressMonitor monitor)
          This is used to list all the episodes within the store if the store supports the operation.
 java.util.Collection<IFilm> RemoteMacOSXItunesStore.listFilms(MediaDirConfig dirConfig, IProgressMonitor monitor)
          This is used to list all the films within the store if the store supports the operation.
 void ITunesRemoteClient.login(java.lang.String username, java.lang.String password)
          Used to login to the server
 void RemoteMacOSXItunesStore.performedActions(MediaDirectory dir)
          This is called after all the actions on all the media files have been performed so that the store can clean up any stale data.
 void RemoteMacOSXItunesStore.renamedFile(java.io.File rootMediaDir, java.io.File oldFile, java.io.File newFile)
          This is used when a file that holds a episode or film has been renamed
 SearchResult RemoteMacOSXItunesStore.searchMedia(java.lang.String name, Mode mode, java.lang.Integer part, MediaDirConfig dirConfig, java.io.File mediaFile)
          Used to search for store for media
 void ITunesRemoteClient.sendCommand(java.lang.String cmd, int expectedCode, long timeout)
          Used to send a command to the server
 void RemoteMacOSXItunesStore.setParameter(java.lang.String key, java.lang.String value)
          Used to set source parameters.
protected  void RemoteMacOSXItunesStore.updateItunes()
           
 void RemoteMacOSXItunesStore.upgrade(MediaDirectory mediaDirectory)
          This is called to check if a upgrade is needed and perform the upgrade if required
protected  void ITunesRemoteClient.waitForCode(java.lang.String cmd, int expectedCode, long timeout)
           
 

Uses of StoreException in org.stanwood.media.store.xmlstore
 

Methods in org.stanwood.media.store.xmlstore that throw StoreException
 void XMLStore2.cacheEpisode(java.io.File rootMediaDir, java.io.File episodeFile, IEpisode episode)
          This is used to write a episode or special too the store
 void XMLStore2.cacheFilm(java.io.File rootMediaDir, java.io.File filmFile, IFilm film, java.lang.Integer part)
          This is used to write a film to the store.
 void XMLStore2.cacheSeason(java.io.File rootMediaDir, java.io.File episodeFile, ISeason season)
          This is used to write a season too the store.
 void XMLStore2.cacheShow(java.io.File rootMediaDir, java.io.File episodeFile, IShow show)
          This is used to write a show too the store.
 void XMLStore2.fileDeleted(MediaDirectory dir, java.io.File file)
          This is called when a file is deleted from a media directory
 void XMLStore2.fileUpdated(MediaDirectory mediaDirectory, java.io.File file)
          This is called when a file is updated within a media directory.
 IEpisode XMLStore2.getEpisode(java.io.File rootMediaDir, java.io.File episodeFile, ISeason season, int episodeNum)
          This gets a episode from the store.
 IEpisode XMLStore2.getEpisode(MediaDirectory dir, java.io.File file)
          This is used to get a episode from a store via it's file name.
 IFilm XMLStore2.getFilm(java.io.File rootMediaDir, java.io.File filmFile, java.lang.String filmId)
          This will get a film from the store.
 IFilm XMLStore2.getFilm(MediaDirectory dir, java.io.File file)
          This is used to get a film from a store via it's file name.
 ISeason XMLStore2.getSeason(java.io.File rootMediaDir, java.io.File episodeFile, IShow show, int seasonNum)
          This will get a season from the store.
 IShow XMLStore2.getShow(java.io.File rootMediaDir, java.io.File episodeFile, java.lang.String showId)
          This will get a show from the store.
 IEpisode XMLStore2.getSpecial(java.io.File rootMediaDir, java.io.File episodeFile, ISeason season, int specialNumber)
          This gets a special episode from the store.
 void XMLStore2.init(Controller controller, java.io.File nativeDir)
          Called to initialise the stores and check all their resources can be found.
 java.util.Collection<IEpisode> XMLStore2.listEpisodes(MediaDirConfig dirConfig, IProgressMonitor monitor)
          This is used to list all the episodes within the store if the store supports the operation.
 java.util.Collection<IFilm> XMLStore2.listFilms(MediaDirConfig dirConfig, IProgressMonitor monitor)
          This is used to list all the films within the store if the store supports the operation.
protected  IEpisode XMLStore2.parseEpisodeNode(java.io.File file, java.io.File rootMediaDir, org.w3c.dom.Element episodeNode)
           
 void XMLStore2.performedActions(MediaDirectory dir)
          This is called after all the actions on all the media files have been performed so that the store can clean up any stale data.
 void XMLStore2.renamedFile(java.io.File rootMediaDir, java.io.File oldFile, java.io.File newFile)
          This is used when a file that holds a episode or film has been renamed
 SearchResult XMLStore2.searchMedia(java.lang.String name, Mode mode, java.lang.Integer part, MediaDirConfig dirConfig, java.io.File mediaFile)
          Used to search for store for media
 void XMLStore2.upgrade(MediaDirectory mediaDirectory)
          This is called to check if a upgrade is needed and perform the upgrade if required
protected  void BaseXMLStore.writeCache(java.io.File file, org.w3c.dom.Document doc)
          Used to write the case document to a file
protected  void XMLStore2.writeFilenames(org.w3c.dom.Document doc, org.w3c.dom.Node parent, IVideo video, java.io.File rootMediaDir)
          Used to append a set of filenames to the document under the given parent node