Class ecm.widget.TeamList
Extends
dijit.layout.ContentPane, dijit._TemplatedMixin, ecm.LoggerMixin, ecm.MessagesMixin.
Provides a widget that displays a list of the users and groups that are assigned to a teamspace.
Defined in: <ecm\widget\TeamList.js>.
Constructor Summary
Constructor Attributes | Constructor Name and Description |
---|---|
Field Summary
Field Attributes | Field Name and Description |
---|---|
Handle to the ecm.model.Teamspace object containing the team list.
|
Method Summary
Method Attributes | Method Name and Description |
---|---|
getRoleNames(teamEntry)
Gets the roles associated with the given team member.
|
|
isEmailAddress(addressStr)
Tests if the string is an email address.
|
|
postCreate - default behavior
|
|
setTeam(List)
Renders the team list.
|
|
<static> |
ecm.widget.TeamList.TeamList.setLayout(layout)
This static method allows the
TeamList to display to be controlled by providing a new layout for
the list. |
Field Detail
teamspace
Handle to the ecm.model.Teamspace object containing the team list.
- Since:
- 2.0.2
Method Detail
getRoleNames(teamEntry)
Gets the roles associated with the given team member.
- Parameters:
- teamEntry
- An instance of ecm.model.User or ecm.model.UserGroup
- Returns:
- Returns a string containing all the roles assigned to this team member.
isEmailAddress(addressStr)
Tests if the string is an email address.
- Parameters:
- addressStr
- Returns:
- Returns true if the string is an email address and false if it is not.
postCreate()
postCreate - default behavior
- See:
- dijit._Widget.postCreate
setTeam(List)
Renders the team list.
- Parameters:
- {Object} List
- of ecm.model.User and/or ecm.model.UserGroup objects.
<static> ecm.widget.TeamList.TeamList.setLayout(layout)
This static method allows the
TeamList
to display to be controlled by providing a new layout for
the list.
- Parameters:
- layout
- The list layout structure.