A single row in the organisations search/listing results table on the Manage Organisations admin page. Wraps a matched organisation together with the root organisation the search was scoped to, and exposes display-formatted fields (title, path, parent, org types, member count) that the results table renders. Instances are built by getPaginator as ElasticSearch hits are resolved back to Organisation entities.
Implements: Comparable
Properties
| Property | Returns | Description |
|---|---|---|
| actualId | Long | Database identifier of the matched organisation. |
| address | String | Postal address recorded against the matched organisation. |
| href | String | Link href for this organisation, relative to the current root folder's organisation. |
| id | String | Org id of the matched organisation. |
| memberCount | Long | Number of profiles that hold a membership directly within the matched organisation, computed with a database row count query and cached on first access. |
| org | Organisation | The matched organisation entity that this search result wraps. |
| orgPath | String | Admin URL path at which this organisation's own page can be reached, addressed by its org id. |
| orgPathToEdit | String | Admin URL path of this organisation's parent, built by walking up the parent chain to the folder's own organisation, for linking to where this organisation can be edited in place. |
| orgTypeDisplayNames | String | Display names of every organisation type assigned to the matched organisation, joined with a semicolon-and-space separator. |
| parent | String | Org id of this organisation's immediate parent. |
| parentPath | String | Slash-separated path of org ids from the search's root organisation down to this organisation's parent. |
| parentTitle | String | Display title of this organisation's immediate parent, falling back to its org id if it has no title. |
| phone | String | Contact phone number recorded against the matched organisation. |
| title | String | Display title of the matched organisation, falling back to its org id when no title is set. |
Methods
getParent() · getParentTitle() · getOrg() · getId() · getActualId() · getTitle() · getPhone() · getAddress() · getParentPath() · getOrgPath() · getOrgPathToEdit() · getHref() · getOrgTypeDisplayNames() · getMemberCount()
getParent()
Returns: String
Org id of this organisation's immediate parent.
getParentTitle()
Returns: String
Display title of this organisation's immediate parent, falling back to its org id if it has no title.
getOrg()
Returns: Organisation
The matched organisation entity that this search result wraps.
getId()
Returns: String
Org id of the matched organisation.
getActualId()
Returns: Long
Database identifier of the matched organisation.
getTitle()
Returns: String
Display title of the matched organisation, falling back to its org id when no title is set.
getPhone()
Returns: String
Contact phone number recorded against the matched organisation.
getAddress()
Returns: String
Postal address recorded against the matched organisation.
getParentPath()
Returns: String
Slash-separated path of org ids from the search's root organisation down to this organisation's parent.
getOrgPath()
Returns: String
Admin URL path at which this organisation's own page can be reached, addressed by its org id.
getOrgPathToEdit()
Returns: String
Admin URL path of this organisation's parent, built by walking up the parent chain to the folder's own organisation, for linking to where this organisation can be edited in place.
getHref()
Returns: String
Link href for this organisation, relative to the current root folder's organisation.
getOrgTypeDisplayNames()
Returns: String
Display names of every organisation type assigned to the matched organisation, joined with a semicolon-and-space separator.
getMemberCount()
Returns: Long
Number of profiles that hold a membership directly within the matched organisation, computed with a database row count query and cached on first access.