org.semanticdesktop.aperture.websites.flickr
Class FlickrDataSource

java.lang.Object
  extended by org.semanticdesktop.aperture.datasource.base.DataSourceBase
      extended by org.semanticdesktop.aperture.websites.flickr.FlickrDataSource
All Implemented Interfaces:
DataSource

public class FlickrDataSource
extends DataSourceBase

Data source class file. Created by org.semanticdesktop.aperture.datasource.mojo.DataSourceClassGenerator on Thu Jul 01 14:28:16 CEST 2010 input file: D:\intella\aperture-trunk\target\checkout\core\src\main\resources\org\semanticdesktop\aperture\websites\flickr\flickrDataSource.ttl class uri: http://aperture.semanticdesktop.org/ontology/2007/08/11/flickrds#FlickrDataSource


Nested Class Summary
static class FlickrDataSource.CrawlType
          Enum of possible values of the crawlType property
 
Constructor Summary
FlickrDataSource()
           
 
Method Summary
 String getAccountToCrawl()
          Returns the The Flickr account that should be crawled
 String getApikey()
          Returns the The Flickr API key
 FlickrDataSource.CrawlType getCrawlType()
          Returns the Type of crawl
 String getSharedSecret()
          Returns the The shared secret associated with your Flicckr API key
 String getTargetFolder()
          Returns the Path to the folder where local copies of your photos will be stored
 URI getType()
          Returns a URI that indicates the DataSource type in a platform- and programming language-independent way.
 void setAccountToCrawl(String accountToCrawl)
          Sets the The Flickr account that should be crawled
 void setApikey(String apikey)
          Sets the The Flickr API key
 void setCrawlType(FlickrDataSource.CrawlType crawlType)
          Sets the Type of crawl
 void setSharedSecret(String sharedSecret)
          Sets the The shared secret associated with your Flicckr API key
 void setTargetFolder(String targetFolder)
          Sets the Path to the folder where local copies of your photos will be stored
 
Methods inherited from class org.semanticdesktop.aperture.datasource.base.DataSourceBase
dispose, getComment, getConfiguration, getID, getName, getTimeout, setComment, setConfiguration, setName, setTimeout
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlickrDataSource

public FlickrDataSource()
Method Detail

getType

public URI getType()
Description copied from interface: DataSource
Returns a URI that indicates the DataSource type in a platform- and programming language-independent way.

Returns:
A URI indicating the DataSource type
See Also:
DataSource.getType()

getAccountToCrawl

public String getAccountToCrawl()
Returns the The Flickr account that should be crawled

Returns:
the The Flickr account that should be crawled or null if no value has been set
Throws:
NullPointerException - if no configuration has been set, use DataSourceBase.setConfiguration(RDFContainer) before calling this method

setAccountToCrawl

public void setAccountToCrawl(String accountToCrawl)
Sets the The Flickr account that should be crawled

Parameters:
accountToCrawl - The Flickr account that should be crawled, can be null in which case any previous setting will be removed
Throws:
NullPointerException - if no configuration has been set, use DataSourceBase.setConfiguration(RDFContainer) before calling this method

getApikey

public String getApikey()
Returns the The Flickr API key

Returns:
the The Flickr API key or null if no value has been set
Throws:
NullPointerException - if no configuration has been set, use DataSourceBase.setConfiguration(RDFContainer) before calling this method

setApikey

public void setApikey(String apikey)
Sets the The Flickr API key

Parameters:
apikey - The Flickr API key, can be null in which case any previous setting will be removed
Throws:
NullPointerException - if no configuration has been set, use DataSourceBase.setConfiguration(RDFContainer) before calling this method

getSharedSecret

public String getSharedSecret()
Returns the The shared secret associated with your Flicckr API key

Returns:
the The shared secret associated with your Flicckr API key or null if no value has been set
Throws:
NullPointerException - if no configuration has been set, use DataSourceBase.setConfiguration(RDFContainer) before calling this method

setSharedSecret

public void setSharedSecret(String sharedSecret)
Sets the The shared secret associated with your Flicckr API key

Parameters:
sharedSecret - The shared secret associated with your Flicckr API key, can be null in which case any previous setting will be removed
Throws:
NullPointerException - if no configuration has been set, use DataSourceBase.setConfiguration(RDFContainer) before calling this method

getTargetFolder

public String getTargetFolder()
Returns the Path to the folder where local copies of your photos will be stored

Returns:
the Path to the folder where local copies of your photos will be stored or null if no value has been set
Throws:
NullPointerException - if no configuration has been set, use DataSourceBase.setConfiguration(RDFContainer) before calling this method

setTargetFolder

public void setTargetFolder(String targetFolder)
Sets the Path to the folder where local copies of your photos will be stored

Parameters:
targetFolder - Path to the folder where local copies of your photos will be stored, can be null in which case any previous setting will be removed
Throws:
NullPointerException - if no configuration has been set, use DataSourceBase.setConfiguration(RDFContainer) before calling this method

getCrawlType

public FlickrDataSource.CrawlType getCrawlType()
Returns the Type of crawl

Returns:
the Type of crawl or null if no value has been set
Throws:
NullPointerException - if no configuration has been set, use DataSourceBase.setConfiguration(RDFContainer) before calling this method

setCrawlType

public void setCrawlType(FlickrDataSource.CrawlType crawlType)
Sets the Type of crawl

Parameters:
crawlType - Type of crawl, can be null in which case any previous setting will be removed
Throws:
NullPointerException - if no configuration has been set, use DataSourceBase.setConfiguration(RDFContainer) before calling this method


Copyright © 2010 Aperture Development Team. All Rights Reserved.