Ontimize Document Management 0.032EN

com.ontimize.dms
Class DocumentListImpl

java.lang.Object
  extended by com.ontimize.dms.DocumentListImpl
All Implemented Interfaces:
DocumentList, java.io.Serializable

public class DocumentListImpl
extends java.lang.Object
implements DocumentList

See Also:
Serialized Form

Field Summary
protected  java.util.Map data
           
protected  java.util.List list
           
protected  Document source
           
 
Constructor Summary
DocumentListImpl(Document source)
           
 
Method Summary
 void add(Document document)
           
 java.util.List get(java.lang.Object key)
           
 java.util.Map getData()
           
 Document getDocumentAt(int index)
           
 Document[] getDocuments()
           
 java.util.List getDocumentsList()
           
 Document getSource()
           
protected  boolean has(int type)
           
 boolean hasData()
           
 boolean hasDirectories()
           
 boolean hasFiles()
           
 boolean isEmpty()
           
 void put(java.lang.Object key, java.lang.Object value)
           
 void remove(Document document)
           
 void remove(java.util.List documents, boolean withFileName)
           
 void setNames(java.util.List nodeNames, java.util.List fileNames)
           
 int size()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

source

protected Document source

list

protected java.util.List list

data

protected java.util.Map data
Constructor Detail

DocumentListImpl

public DocumentListImpl(Document source)
Method Detail

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

Ontimize Document Management