Package org.hippoecm.frontend.model.map
Class JcrList
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<IHippoMap>
-
- org.hippoecm.frontend.model.map.JcrList
-
- All Implemented Interfaces:
Serializable
,Iterable<IHippoMap>
,Collection<IHippoMap>
,List<IHippoMap>
,org.apache.wicket.model.IDetachable
,org.apache.wicket.util.io.IClusterable
public class JcrList extends AbstractList<IHippoMap> implements org.apache.wicket.model.IDetachable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.AbstractList
modCount
-
-
Constructor Summary
Constructors Constructor Description JcrList(JcrNodeModel nodeModel, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(int index, IHippoMap element)
void
detach()
IHippoMap
get(int index)
protected Node
getNode()
IHippoMap
remove(int index)
IHippoMap
set(int index, IHippoMap element)
int
size()
-
Methods inherited from class java.util.AbstractList
add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subList
-
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.List
addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
-
-
-
-
Constructor Detail
-
JcrList
public JcrList(JcrNodeModel nodeModel, String name)
-
-
Method Detail
-
getNode
protected Node getNode() throws PathNotFoundException, RepositoryException
-
get
public IHippoMap get(int index)
-
size
public int size()
- Specified by:
size
in interfaceCollection<IHippoMap>
- Specified by:
size
in interfaceList<IHippoMap>
- Specified by:
size
in classAbstractCollection<IHippoMap>
-
add
public void add(int index, IHippoMap element)
-
remove
public IHippoMap remove(int index)
-
detach
public void detach()
- Specified by:
detach
in interfaceorg.apache.wicket.model.IDetachable
-
-