|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.ecm.core.api.operation.ModificationSet
public class ModificationSet
A set of modification descriptors.
This class is not thread safe.
Constructor Summary | |
---|---|
ModificationSet()
|
Method Summary | |
---|---|
boolean |
add(DocumentRef ref,
int modifType)
|
boolean |
add(Modification modif)
|
boolean |
contains(DocumentRef ref)
|
Modification |
get(int index)
|
Modification |
getModifcation(DocumentRef ref)
Deprecated. |
Modification |
getModification(DocumentRef ref)
Deprecated. returns a merged modification, unsafe to use this where order of notifications is important |
int |
indexOf(DocumentRef ref)
|
Iterator<Modification> |
iterator()
|
Modification |
remove(int index)
|
Modification |
removeModification(DocumentRef ref)
Deprecated. returns a merged modification, unsafe to use this where order of notifications is important |
int |
size()
|
Modification[] |
toArray()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ModificationSet()
Method Detail |
---|
public int size()
public boolean add(DocumentRef ref, int modifType)
public boolean add(Modification modif)
public boolean contains(DocumentRef ref)
public final Modification get(int index)
@Deprecated public Modification getModification(DocumentRef ref)
ref
- The document ref
@Deprecated public Modification getModifcation(DocumentRef ref)
public int indexOf(DocumentRef ref)
public Modification remove(int index)
@Deprecated public Modification removeModification(DocumentRef ref)
ref
- The document ref
public Modification[] toArray()
public Iterator<Modification> iterator()
iterator
in interface Iterable<Modification>
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |