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:
  • Field Summary

    Fields inherited from class wt.inf.team._ContainerTeam

    DESCRIPTION, ENABLED, EXTENDABLE, EXTERNALIZATION_VERSION_UID, NAME, REFRESH_GROUPS, SHARED, SHARED_TEAM_INVITATION_MSG

    Fields inherited from class wt.team._WTRoleHolder2

    CATEGORY

    Fields inherited from class wt.fc._WTObject

    CREATE_TIMESTAMP, MODIFY_TIMESTAMP

    Fields inherited from interface wt.access._AdHocControlled

    ENTRY_SET

    Fields inherited from interface wt.fc.adminlock._AdministrativelyLockable

    ADMINISTRATIVE_LOCK

    Fields inherited from interface wt.admin._DomainAdministered

    DOMAIN_REF, INHERITED_DOMAIN

    Fields inherited from interface wt.notify._Notifiable

    EVENT_SET

    Fields inherited from interface wt.ownership._Ownable

    OWNERSHIP

    Fields inherited from interface wt.fc._Persistable

    PERSIST_INFO

    Fields inherited from interface wt.access._SecurityLabeled

    SECURITY_LABELS

    Fields inherited from interface wt.inf.container._WTContained

    CONTAINER, CONTAINER_NAME, CONTAINER_REFERENCE

    Fields inherited from interface wt.identity.DisplayIdentification

    DISPLAY_IDENTIFIER, DISPLAY_IDENTITY, DISPLAY_TYPE

    Fields inherited from interface wt.fc.Persistable

    IDENTITY, TYPE

    Fields inherited from interface wt.access.SecurityLabeled

    SECURITY_LABELS_INTERNAL_VALUE

    Fields inherited from interface wt.inf.container.WTContained

    CONTAINER_ID
  • Method Summary

    Modifier and Type
    Method
    Description
    Answer a hashmap of WTPrincipalReference and the associated roles of all assignees in the RoleHolder.
    Answer an ArrayList of enabled WTPrincipalReference of all assignees in the ContainerTeam.
    Returns all the members of a container team.
    Answer an enumeration of roles in the rolePrincipalMap

    Supported API: true

    Methods inherited from class wt.inf.team._ContainerTeam

    getAdministrativeLock, getClassInfo, getConceptualClassname, getContainer, getContainerName, getContainerReference, getDescription, getDomainRef, getEntrySet, getEventSet, getName, getOwnership, getSecurityLabels, getSharedTeamInvitationMsg, getType, isEnabled, isExtendable, isInheritedDomain, isRefreshGroups, isShared, readExternal, readExternal, readVersion, setAdministrativeLock, setContainer, setContainerReference, setDescription, setDomainRef, setEntrySet, setEventSet, setInheritedDomain, setName, setOwnership, setRefreshGroups, setSecurityLabels, setShared, setSharedTeamInvitationMsg, super_readExternal_ContainerTeam, super_readVersion_ContainerTeam, super_writeExternal_ContainerTeam, writeExternal, writeExternal

    Methods inherited from class wt.team._WTRoleHolder2

    getCategory, readVersion, setCategory, super_readExternal_WTRoleHolder2, super_readVersion_WTRoleHolder2, super_writeExternal_WTRoleHolder2

    Methods inherited from class wt.fc._WTObject

    equals, getCreateTimestamp, getModifyTimestamp, getPersistInfo, hashCode, readVersion, setPersistInfo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface wt.fc._Persistable

    getPersistInfo, setPersistInfo

    Methods inherited from interface wt.fc.Persistable

    checkAttributes
  • 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