[ 
https://issues.apache.org/jira/browse/SYNCOPE-1243?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16282173#comment-16282173
 ] 

Colm O hEigeartaigh commented on SYNCOPE-1243:
----------------------------------------------

The alternative is just to return an int for the two Any Object count methods. 
That means everything can be implemented with a simple "count" and we could 
include the results by default...although of course we'd be losing the 
information about the individual count for each AnyType. 

> Add information to GroupTO about user and AnyObject membership counts
> ---------------------------------------------------------------------
>
>                 Key: SYNCOPE-1243
>                 URL: https://issues.apache.org/jira/browse/SYNCOPE-1243
>             Project: Syncope
>          Issue Type: Improvement
>            Reporter: Colm O hEigeartaigh
>            Assignee: Colm O hEigeartaigh
>            Priority: Minor
>             Fix For: 2.0.7, 2.1.0
>
>         Attachments: SYNCOPE-1243.patch, SYNCOPE-1243.patch.2, 
> SYNCOPE-1243.patch.3, SYNCOPE-1243.patch.4
>
>
> If we want to find out how many users or AnyObjects are members of a given 
> group, it's not possible to figure out via the group itself. Instead we need 
> to run a fiql on the users or Any Objects.
> This task is to add the following fields to GroupTO so that we can get this 
> information more easily:
>   - int staticUserMembershipCount
>   - int dynamicUserMembershipCount
>   - Map<String, Integer> staticAnyObjectMembershipCount
>   - Map<String, Integer> dynamicAnyObjectMembershipCount



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to