To get full access to the Kademi Hub existing customers can login here, or new customers can register here.
Just a list of MembershipBean objects, with a variety of filtering and manipulation methods
Extends: KillableList
Properties
| Name | Returns | Notes |
|---|---|---|
| first | MembershipBean | |
| groupByOrg | Map<OrgData,MembershipList> | |
| instanceCreatedDate | Date | |
| last | MembershipBean |
Methods
| Signature | Returns | Notes |
|---|---|---|
get(String groupName) | MembershipBean | get a membership by the group name |
active() | MembershipList | Return all memberships which are active for the current date/time. This includes all those with no expiry date, and those which have not expired at that date |
active(Date now) | MembershipList | Return all memberships which are active for the given date. This includes all those with no expiry date, and those which have not expired at that date |
hasGroup(String groupName) | boolean | |
filterByProfile(Profile p) | MembershipList | Filter this membership list for only memberships for the given profile |
filterByProfile(ProfileBean p) | MembershipList | |
filterByOrg(String orgId) | MembershipList | Return a new list which is this list filtered so it only contains memberships to the organisation with the given orgid |
filterByOrgType(String orgType) | MembershipList | Return a new list which is this list filtered so it only contains memberships to the organisation with the given orgTYpe |
filterByOrgTypes(List<String> orgTypes) | MembershipList | |
filterByGroup(String groupName) | MembershipList | Return a new list which is this list filtered so it only contains memberships to the given group |
filterByGroupFolder(String groupFolderName) | MembershipList | |
filterByGroupType(String groupType) | MembershipList | |
filterByRole(String roleName) | MembershipList | |
filterSubOrgs() | MembershipList | Return a list which only includes memberships to sub-organisations |
filterForPrimary() | MembershipList | |
filterForWebsite(Website website) | MembershipList | |
filterForNotPrimary() | MembershipList | |
filterForNotExpired() | MembershipList | |
filterForNotRoot() | MembershipList | Filter for memberships which are NOT connected to the root account |
forOrgs(String group) | MembershipList | Returns a list of memberships for orgs referenced from this list and which have the given group |
toOrgsList() | OrgDataList | Get a list of all orgs in the current membership list |
toOrgsList(boolean nonRoot) | OrgDataList | |
toGroupsList() | List<Group> | Get a list of all groups in the current membership list |
findById(Long id) | MembershipBean | |
findOrgs() | List<Organisation> | |
orgIdsCsv() | String | Return a csv formatted list of org ids in this list |
orgTitlesCsv() | String | Return a csv formatted list of org titles in this list |
emailsCsv() | String | Returns all referenced emails as a comma seperated value |
userIdCsv() | String | Returns all referenced user names as a comma seperated value |
orgTypeNamesCsv() | Object |