Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.theme.relations
Class RelationStorage

java.lang.Object
  extended by org.nuxeo.theme.relations.RelationStorage
All Implemented Interfaces:
Registrable

public final class RelationStorage
extends Object
implements Registrable


Constructor Summary
RelationStorage()
           
 
Method Summary
 void add(Relation relation)
           
 void clear()
          This method is called when the object is unregistered.
 Collection<Relation> list()
           
 void remove(Relation relation)
           
 Collection<Relation> search(Predicate predicate, List<Relate> relates)
           
 Collection<Relation> search(Predicate predicate, Relate first)
           
 Collection<Relation> search(Predicate predicate, Relate first, Relate second)
           
 Collection<Relation> search(Predicate predicate, Relate first, Relate second, Relate third)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RelationStorage

public RelationStorage()
Method Detail

add

public void add(Relation relation)

remove

public void remove(Relation relation)

search

public Collection<Relation> search(Predicate predicate,
                                   List<Relate> relates)

search

public Collection<Relation> search(Predicate predicate,
                                   Relate first)

search

public Collection<Relation> search(Predicate predicate,
                                   Relate first,
                                   Relate second)

search

public Collection<Relation> search(Predicate predicate,
                                   Relate first,
                                   Relate second,
                                   Relate third)

list

public Collection<Relation> list()

clear

public void clear()
Description copied from interface: Registrable
This method is called when the object is unregistered. Clean up local variables here.

Specified by:
clear in interface Registrable

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.