
Public Member Functions | |
| FlickrResource () | |
| Creates a new FlickrResource with the default values. | |
| FlickrResource (ResourceInstance resourceInstance) | |
| Creates a new FlickrResource based on a generic ResourceInstance. | |
| FlickrResource (String localId, InstanceName instanceName, List< Property > propertiesList) | |
| Creates a new FlickrResource based on the parameters. | |
| Job | deploy (String localId) |
| Creates a new Job which once executed, uploads a photo to Flickr. | |
| Job | list () |
| Creates a new Job which once executed, returns a list of the photos hosted at Flickr. | |
| Job | remove (String session) |
| Creates a new Job which once executed, removes a photo from Flickr. | |
| Job | retrieve (String session) |
| Creates a new Job which once executed, retrieves ("download") a photo from Flickr. | |
| void | setFlickrKey (String key) |
| Sets a new Flick user. | |
| void | setFlickrSecret (String secret) |
| Sets a new Flickr password. | |
Static Public Member Functions | |
| static FlickrResource | cast (ResourceInstance resourceInstance) |
| Converts a generic ResourceInstance into a new one of type FlickrResource. | |
Public Attributes | |
| String | key |
| Authentication id. | |
| String | secret |
| Authentication session token. | |
Static Public Attributes | |
| static final String | ID = "Flickr" |
| String containing the identifier for this resource. | |
| com.abiquo.api.resources.FlickrResource.FlickrResource | ( | ResourceInstance | resourceInstance | ) |
Creates a new FlickrResource based on a generic ResourceInstance.
| resourceInstance | The generic ResourceInstance |
| com.abiquo.api.resources.FlickrResource.FlickrResource | ( | String | localId, | |
| InstanceName | instanceName, | |||
| List< Property > | propertiesList | |||
| ) |
Creates a new FlickrResource based on the parameters.
| name | The name of the resource | |
| instanceName | An InstanceName | |
| propertiesList | Properties list |
| static FlickrResource com.abiquo.api.resources.FlickrResource.cast | ( | ResourceInstance | resourceInstance | ) | [static] |
Converts a generic ResourceInstance into a new one of type FlickrResource.
| resourceInstance | The generic ResourceInstance |
Reimplemented from com.abiquo.api.resources.FileSystemResource.
| Job com.abiquo.api.resources.FlickrResource.deploy | ( | String | localId | ) |
Creates a new Job which once executed, uploads a photo to Flickr.
| localId | The name of the photo to upload |
| Job com.abiquo.api.resources.FlickrResource.list | ( | ) |
Creates a new Job which once executed, returns a list of the photos hosted at Flickr.
<Functionality Name="list" ReturnType="">. *
Reimplemented from com.abiquo.api.resources.FileSystemResource.
| Job com.abiquo.api.resources.FlickrResource.remove | ( | String | session | ) |
Creates a new Job which once executed, removes a photo from Flickr.
<Functionality Name="remove" ReturnType=""> <Attribute Name="Session" Type="string" />. *
| session | The file session identifier |
Reimplemented from com.abiquo.api.resources.FileSystemResource.
| Job com.abiquo.api.resources.FlickrResource.retrieve | ( | String | session | ) |
Creates a new Job which once executed, retrieves ("download") a photo from Flickr.
<Functionality Name="retrieve" ReturnType=""> <Attribute Name="Session" Type="string" />. *
| session | The file session identifier |
Reimplemented from com.abiquo.api.resources.FileSystemResource.
| void com.abiquo.api.resources.FlickrResource.setFlickrKey | ( | String | key | ) |
Sets a new Flick user.
| key | The new Flickr user |
| void com.abiquo.api.resources.FlickrResource.setFlickrSecret | ( | String | secret | ) |
Sets a new Flickr password.
| secret | The new Flickr password |
final String com.abiquo.api.resources.FlickrResource.ID = "Flickr" [static] |
String containing the identifier for this resource.
Reimplemented from com.abiquo.api.resources.FileSystemResource.
1.5.5