|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object magoffin.matt.ma2.support.ExportItemsCommand
public class ExportItemsCommand
The command class.
Initially the itemIds
or albumId
will be requested. The work ticket will then be returned
to the client, which can then request the download by
supplying the ticket
value. This is to allow for an a
progress display of the download.
Constructor Summary | |
---|---|
ExportItemsCommand()
Default constructor. |
|
ExportItemsCommand(java.lang.Long albumId)
Construct with album ID. |
|
ExportItemsCommand(java.lang.Long[] itemIds)
Construct with item IDs. |
Method Summary | |
---|---|
java.lang.Long |
getAlbumId()
|
java.lang.String |
getAlbumKey()
|
java.lang.Long[] |
getItemIds()
|
java.lang.String |
getMode()
|
java.lang.String |
getQuality()
|
java.lang.String |
getSize()
|
java.lang.Long |
getTicket()
|
java.lang.String |
getUserKey()
|
boolean |
isDirect()
|
boolean |
isDownload()
|
boolean |
isOriginal()
|
void |
setAlbumId(java.lang.Long albumId)
|
void |
setAlbumKey(java.lang.String albumKey)
|
void |
setDirect(boolean direct)
|
void |
setDownload(boolean download)
|
void |
setItemIds(java.lang.Long[] itemIds)
|
void |
setMode(java.lang.String mode)
|
void |
setOriginal(boolean original)
|
void |
setQuality(java.lang.String quality)
|
void |
setSize(java.lang.String size)
|
void |
setTicket(java.lang.Long ticket)
|
void |
setUserKey(java.lang.String userKey)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExportItemsCommand()
public ExportItemsCommand(java.lang.Long albumId)
albumId
- the album IDpublic ExportItemsCommand(java.lang.Long[] itemIds)
itemIds
- the item IDsMethod Detail |
---|
public java.lang.String getAlbumKey()
public void setAlbumKey(java.lang.String albumKey)
albumKey
- the albumKey to setpublic java.lang.Long getAlbumId()
public void setAlbumId(java.lang.Long albumId)
albumId
- the albumId to setpublic java.lang.Long[] getItemIds()
public void setItemIds(java.lang.Long[] itemIds)
itemIds
- the itemIds to setpublic java.lang.Long getTicket()
public void setTicket(java.lang.Long ticket)
ticket
- the ticket to setpublic boolean isOriginal()
public void setOriginal(boolean original)
original
- the original to setpublic java.lang.String getSize()
public void setSize(java.lang.String size)
size
- the size to setpublic java.lang.String getQuality()
public void setQuality(java.lang.String quality)
quality
- the quality to setpublic boolean isDownload()
public void setDownload(boolean download)
download
- the download to setpublic boolean isDirect()
public void setDirect(boolean direct)
direct
- the direct to setpublic java.lang.String getUserKey()
public void setUserKey(java.lang.String userKey)
userKey
- the userKey to setpublic java.lang.String getMode()
public void setMode(java.lang.String mode)
mode
- the mode to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |