Device API, DeviceResource: Question about Get function

Mouhannad allouf 6 years ago

hi

    public Collection<Device> get(
            @QueryParam("all") boolean all, @QueryParam("userId") long userId,
            @QueryParam("uniqueId") List<String> uniqueIds,
            @QueryParam("id") List<Long> deviceIds) throws SQLException{}

this is the prototype of get devices api.
my question in any situation the params are passed to the function? as example i didnt find any situation while i debug the project in which the all param set to true.
i wish i have explained the question in good way.
thanks in advance.

Mouhannad allouf 6 years ago

the question in another way, when the AllDevices Store is used and requested?

Mouhannad allouf 6 years ago

Done.
I got it.
in users administration, when we want to match between user and devices.