Quote Originally Posted by rmusco
...and send it to clients only the subscribed itens. (that can be all itens as in the LS's exemple)
Is that correct?
Yes

Quote Originally Posted by rmusco
if i "tell" who is the client or the iten. Otherwise, if nothing is informed, he will subscribe all content sent by Data Adapter.
When you "tell" who is the client and the item.

In fact the getItems method is always called. There is not a default return value, but there are 2 default implementations of this method, one in the LiteralBasedProvider class and the other in the FileBasedProvider (you can find them under LS_HOME/DOCS-SDKs/sdk_adapter_java/examples/Reusable_MetadataAdapters).
The one used with the StockListDemo is the LiteralBasedProvider which getItems implementation splits the received string on spaces and subscribes to the DataAdapter each obtained string as an item.

GetItens method is the one who returns the itens that must be subscribed.
Is that correct?
Yes.


PS: note that there is a similar behaviour for the field names: getSchema