com.aetrion.flickr.photos.upload
Class Ticket
java.lang.Object
com.aetrion.flickr.photos.upload.Ticket
public class Ticket
- extends java.lang.Object
Photo upload ticket.
The ticketId attribute contains the ticket id.
If the ticket wasn't found, the invalid attribute is set.
The status of the ticket is passed in the status attribute;
0 means not completed,
1 means completed and
2 means the ticket failed (indicating there was a problem converting the file).
When the status is 1, the photo id is passed in the photoid attribute.
The photo id can then be used as with the synchronous upload API.
- Version:
- $Id: Ticket.java,v 1.2 2007/11/02 21:46:52 x-mago Exp $
- Author:
- till (Till Krech) extranoise:flickr
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UNCOMPLETED
public static final int UNCOMPLETED
- See Also:
- Constant Field Values
COMPLETED
public static final int COMPLETED
- See Also:
- Constant Field Values
FAILED
public static final int FAILED
- See Also:
- Constant Field Values
Ticket
public Ticket()
isInvalid
public boolean isInvalid()
setInvalid
public void setInvalid(boolean invalid)
getPhotoId
public java.lang.String getPhotoId()
setPhotoId
public void setPhotoId(java.lang.String photoId)
getTicketId
public java.lang.String getTicketId()
setTicketId
public void setTicketId(java.lang.String ticketId)
getStatus
public int getStatus()
setStatus
public void setStatus(int complete)
hasCompleted
public boolean hasCompleted()
hasFailed
public boolean hasFailed()
isBusy
public boolean isBusy()
Copyright (C) 2005-2007 Aetrion LLC. All Rights Reserved.