Just a list of MembershipBean objects, with a variety of filtering and manipulation methods

Extends: KillableList


Properties

NameReturnsNotes
firstMembershipBean
groupByOrgMap<OrgData,MembershipList>
instanceCreatedDateDate
lastMembershipBean

Methods

SignatureReturnsNotes
get(String groupName)MembershipBeanget a membership by the group name
active()MembershipListReturn 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)MembershipListReturn 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)MembershipListFilter this membership list for only memberships for the given profile
filterByProfile(ProfileBean p)MembershipList
filterByOrg(String orgId)MembershipListReturn a new list which is this list filtered so it only contains memberships to the organisation with the given orgid
filterByOrgType(String orgType)MembershipListReturn 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)MembershipListReturn 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()MembershipListReturn a list which only includes memberships to sub-organisations
filterForPrimary()MembershipList
filterForWebsite(Website website)MembershipList
filterForNotPrimary()MembershipList
filterForNotExpired()MembershipList
filterForNotRoot()MembershipListFilter for memberships which are NOT connected to the root account
forOrgs(String group)MembershipListReturns a list of memberships for orgs referenced from this list and which have the given group
toOrgsList()OrgDataListGet 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()StringReturn a csv formatted list of org ids in this list
orgTitlesCsv()StringReturn a csv formatted list of org titles in this list
emailsCsv()StringReturns all referenced emails as a comma seperated value
userIdCsv()StringReturns all referenced user names as a comma seperated value
orgTypeNamesCsv()Object
To get full access to the Kademi Hub existing customers can login here, or new customers can register here.