Package wt.inf.team

Class ContainerTeam

java.lang.Object
wt.fc._WTObject
wt.fc.WTObject
wt.team._WTRoleHolder2
wt.team.WTRoleHolder2
wt.inf.team._ContainerTeam
wt.inf.team.ContainerTeam
All Implemented Interfaces:
Externalizable, Serializable, wt.access._AccessControlled, wt.access._AccessControlList, wt.access._AdHocControlled, wt.access._PolicyAccessControlled, wt.access._SecurityLabeled, AccessControlled, wt.access.AccessControlList, AdHocControlled, wt.access.PolicyAccessControlled, SecurityLabeled, wt.admin._DomainAdministered, DomainAdministered, wt.fc._Identified, wt.fc._NetFactor, wt.fc._ObjectMappable, wt.fc._Persistable, wt.fc.adminlock._AdministrativelyLockable, AdministrativelyLockable, Identified, NetFactor, ObjectMappable, Persistable, DisplayIdentification, wt.inf.container._WTContained, wt.inf.container._WTContainedIdentified, WTContained, WTContainedIdentified, wt.notify._Notifiable, Notifiable, wt.ownership._Ownable, wt.ownership.Ownable, wt.recent.RecentlyVisited, RoleHolder2

@GenAsPersistable(superClass=WTRoleHolder2.class,interfaces={Notifiable.class,AdHocControlled.class,wt.ownership.Ownable.class,DomainAdministered.class,WTContainedIdentified.class,wt.access.PolicyAccessControlled.class,SecurityLabeled.class},versions={5288566619551614243L,-7196138111638914278L},properties={@GeneratedProperty(name="name",type=java.lang.String.class,constraints=@PropertyConstraints(upperLimit=300)),@GeneratedProperty(name="description",type=java.lang.String.class),@GeneratedProperty(name="enabled",type=boolean.class),@GeneratedProperty(name="refreshGroups",type=boolean.class),@GeneratedProperty(name="shared",type=boolean.class),@GeneratedProperty(name="extendable",type=boolean.class,javaDoc="The extendable attribute indicates whether or not the shared team can be extended locally (only available for shared teams)."),@GeneratedProperty(name="sharedTeamInvitationMsg",type=java.lang.String.class,javaDoc="The invitation message sent to members of a shared team when the team is first created. (Only allowed to be set on shared teams).",constraints=@PropertyConstraints(upperLimit=4000))},tableProperties=@TableProperties(compositeUnique1="containerReference.key.id+name+ thePersistInfo.markForDelete"),iconProperties=@IconProperties(standardIcon="netmarkets/images/shared_team.gif")) public class ContainerTeam extends wt.inf.team._ContainerTeam

Use the newContainerTeam static factory method(s), not the ContainerTeam constructor, to construct instances of this class. Instances must be constructed using the static factory(s), in order to ensure proper initialization of the instance.



Supported API: true

Extendable: false

See Also:
  • Method Details

    • getRoles

      public Vector getRoles() throws WTException
      Answer an enumeration of roles in the rolePrincipalMap

      Supported API: true
      Specified by:
      getRoles in interface RoleHolder2
      Overrides:
      getRoles in class WTRoleHolder2
      Returns:
      Vector
      Throws:
      WTException
    • getAllPrincipalsForTarget

      public ArrayList getAllPrincipalsForTarget(Role role) throws WTException
      Answer an ArrayList of enabled WTPrincipalReference of all assignees in the ContainerTeam. This method returns disabled users.

      Supported API: true
      Parameters:
      role - The role to find associated participants.
      Returns:
      ArrayList
      Throws:
      WTException
    • getAllMembers

      public HashMap getAllMembers() throws WTException
      Answer a hashmap of WTPrincipalReference and the associated roles of all assignees in the RoleHolder. The hashmap keys are the principal references for the team members. The roles the member participates in is stored as an array list as the value for the key.

      Supported API: true
      Returns:
      HashMap
      Throws:
      WTException
    • getMembers

      public Vector getMembers() throws WTException
      Returns all the members of a container team.

      Supported API: true
      Overrides:
      getMembers in class WTRoleHolder2
      Returns:
      Vector
      Throws:
      WTException