com.ontimize.dms
Class DocumentListImpl
java.lang.Object
com.ontimize.dms.DocumentListImpl
- All Implemented Interfaces:
- DocumentList, java.io.Serializable
public class DocumentListImpl
- extends java.lang.Object
- implements DocumentList
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
source
protected Document source
list
protected java.util.List list
data
protected java.util.Map data
DocumentListImpl
public DocumentListImpl(Document source)
getSource
public Document getSource()
- Specified by:
getSource in interface DocumentList
get
public java.util.List get(java.lang.Object key)
- Specified by:
get in interface DocumentList
getData
public java.util.Map getData()
- Specified by:
getData in interface DocumentList
getDocumentAt
public Document getDocumentAt(int index)
- Specified by:
getDocumentAt in interface DocumentList
getDocuments
public Document[] getDocuments()
- Specified by:
getDocuments in interface DocumentList
getDocumentsList
public java.util.List getDocumentsList()
- Specified by:
getDocumentsList in interface DocumentList
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty in interface DocumentList
size
public int size()
- Specified by:
size in interface DocumentList
hasData
public boolean hasData()
- Specified by:
hasData in interface DocumentList
hasFiles
public boolean hasFiles()
- Specified by:
hasFiles in interface DocumentList
hasDirectories
public boolean hasDirectories()
- Specified by:
hasDirectories in interface DocumentList
has
protected boolean has(int type)
add
public void add(Document document)
- Specified by:
add in interface DocumentList
setNames
public void setNames(java.util.List nodeNames,
java.util.List fileNames)
throws java.lang.IllegalArgumentException
- Specified by:
setNames in interface DocumentList
- Throws:
java.lang.IllegalArgumentException
remove
public void remove(Document document)
- Specified by:
remove in interface DocumentList
remove
public void remove(java.util.List documents,
boolean withFileName)
- Specified by:
remove in interface DocumentList
put
public void put(java.lang.Object key,
java.lang.Object value)
- Specified by:
put in interface DocumentList
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object