Hi,

We finally put the following code:

// We get a nodemanager for the desired information type
NodeManager nodeManager = cloud.getNodeManager("desired_builder");
// We get an iterator with all of the objects sorted
NodeList listaElementos = nodeManager.getList(null, "number", "DOWN");


So just now we're retrieving all of the items, the most recent first.

---

More questions:

(a) Is the NodeQuery the preferred way of making a complex query to the CMS
storage engine?

I'm thinking of retrieving at most N items of a given type that match
certain conditions (the limit is because of performance penalties, we're
using the remote cloud interface). We may also need to retrieve mixed nodes
of different types.


(b) To retrieve an object -and- all of the objects related to it:

NodeList related = element.getRelatedNodes("type_1");
NodeList related = element.getRelatedNodes("type_2");
And so on...

Is this the preferred method to do it? Any other possibilities?



Thanks again for the most complete CMS I've seen.


Reply via email to