would be another iteration ;-)
gcm/apns takes list of tokens ;)


can add one for you, of course !



On Friday, July 5, 2013, Lucas Holmquist wrote:

> In
> src/main/java/org/jboss/aerogear/connectivity/service/impl/MobileVariantInstanceServiceImpl.java:
>
> > +    }
> > +
> > +    @Override
> > +    public List<String> findAllDeviceTokenForVariantIDByCategory(String variantID, String category) {
> > +        return dao.findAllDeviceTokenForVariantIDByCategoryAndAliasAndDeviceType(variantID, category, null, null);
> > +    }
> > +
> > +    @Override
> > +    public List<String> findAllDeviceTokenForVariantIDByAliasAndDeviceType(String variantID, List<String> aliases, List<String> deviceTypes) {
> > +        return dao.findAllDeviceTokenForVariantIDByCategoryAndAliasAndDeviceType(variantID, null, aliases, deviceTypes);
> > +    }
> > +
> > +    @Override
> > +    public List<String> findAllDeviceTokenForVariantIDByCategoryAndAlias(String variantID, String category, List<String> aliases) {
> > +        return dao.findAllDeviceTokenForVariantIDByCategoryAndAliasAndDeviceType(variantID, category, aliases, null);
> > +    }
>
> Why not return the "full" mobileInstance instead of just the device token.
> then this can be reused by the admin console
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/aerogear/aerogear-unified-push-server/pull/23/files#r5044889>
> .
>


-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf