|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.util.AbstractCollection
java.util.AbstractList
java.util.ArrayList
de.fh_mannheim.mm.dms.framework.UploadList
This class gives a representation of the uploadlist.
| Constructor Summary | |
UploadList()
Constructor. |
|
UploadList(java.util.ArrayList aList)
Constructor. |
|
UploadList(int nSize)
Constructor. |
|
| Method Summary | |
void |
addUpload(Upload upload)
Add a upload to list. |
void |
addUploadList(java.util.ArrayList aList)
Add a upload to list. |
boolean |
containsUpload(int nUploadID)
Searches a given upload in list. |
void |
deleteUpload(int nUploadID)
Delete a upload from list. |
void |
deleteUpload(java.lang.String strFilename)
Delete a upload from list. |
Upload |
getUpload(int nIndex)
Get upload from list. |
org.w3c.dom.Element |
toElement(org.w3c.dom.Document doc)
Write information of upload in a xml element. |
org.w3c.dom.Element |
toElement(org.w3c.dom.Element element,
org.w3c.dom.Document doc)
Write information of upload in a xml element. |
java.lang.String |
toString()
Write information of upload in a string. |
| Methods inherited from class java.util.ArrayList |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, set, size, toArray, toArray, trimToSize |
| Methods inherited from class java.util.AbstractList |
equals, hashCode, iterator, listIterator, listIterator, subList |
| Methods inherited from class java.util.AbstractCollection |
containsAll, remove, removeAll, retainAll |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
containsAll, equals, hashCode, iterator, listIterator, listIterator, remove, removeAll, retainAll, subList |
| Constructor Detail |
public UploadList()
public UploadList(int nSize)
nSize - Size of arraypublic UploadList(java.util.ArrayList aList)
aList - Pre-selected list| Method Detail |
public void addUpload(Upload upload)
upload - Uploadpublic void addUploadList(java.util.ArrayList aList)
aList - List with uploadspublic boolean containsUpload(int nUploadID)
nUploadID - Upload
public Upload getUpload(int nIndex)
nIndex - Index of list
public void deleteUpload(int nUploadID)
nUploadID - Uploadpublic void deleteUpload(java.lang.String strFilename)
strFilename - Uploadpublic org.w3c.dom.Element toElement(org.w3c.dom.Document doc)
toElement in interface IElementdoc - XML Document
public org.w3c.dom.Element toElement(org.w3c.dom.Element element,
org.w3c.dom.Document doc)
toElement in interface IElementelement - Root elementdoc - XML Document
public java.lang.String toString()
toString in interface IElement
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||