com.ontimize.dms
Interface DocumentList
- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- DocumentListImpl
public interface DocumentList
- extends java.io.Serializable
Wrappers a Document list with a attached data.
- Since:
- 30/04/2009, 02/07/2009 Document list check directories., 10/11/2009 Allows document source (Sometimes base directory)., 17/02/2010 Return internal model., 18/02/2010 Allows to delete elements from the internal list.
getSource
Document getSource()
get
java.util.List get(java.lang.Object key)
getData
java.util.Map getData()
getDocumentAt
Document getDocumentAt(int index)
getDocuments
Document[] getDocuments()
getDocumentsList
java.util.List getDocumentsList()
isEmpty
boolean isEmpty()
size
int size()
hasData
boolean hasData()
hasFiles
boolean hasFiles()
hasDirectories
boolean hasDirectories()
add
void add(Document document)
setNames
void setNames(java.util.List nodeNames,
java.util.List fileNames)
throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
remove
void remove(Document document)
remove
void remove(java.util.List documents,
boolean withFileName)
put
void put(java.lang.Object key,
java.lang.Object value)