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_MSGFields inherited from class wt.team._WTRoleHolder2
CATEGORYFields inherited from class wt.fc._WTObject
CREATE_TIMESTAMP, MODIFY_TIMESTAMPFields inherited from interface wt.access._AdHocControlled
ENTRY_SETFields inherited from interface wt.fc.adminlock._AdministrativelyLockable
ADMINISTRATIVE_LOCKFields inherited from interface wt.admin._DomainAdministered
DOMAIN_REF, INHERITED_DOMAINFields inherited from interface wt.notify._Notifiable
EVENT_SETFields inherited from interface wt.ownership._Ownable
OWNERSHIPFields inherited from interface wt.fc._Persistable
PERSIST_INFOFields inherited from interface wt.access._SecurityLabeled
SECURITY_LABELSFields inherited from interface wt.inf.container._WTContained
CONTAINER, CONTAINER_NAME, CONTAINER_REFERENCEFields inherited from interface wt.identity.DisplayIdentification
DISPLAY_IDENTIFIER, DISPLAY_IDENTITY, DISPLAY_TYPEFields inherited from interface wt.fc.Persistable
IDENTITY, TYPEFields inherited from interface wt.access.SecurityLabeled
SECURITY_LABELS_INTERNAL_VALUEFields inherited from interface wt.inf.container.WTContained
CONTAINER_ID -
Method Summary
Modifier and TypeMethodDescriptionAnswer 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.getRoles()Answer an enumeration of roles in the rolePrincipalMap
Supported API: trueMethods 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, writeExternalMethods inherited from class wt.team.WTRoleHolder2
addPool, addPrincipals, deletePoolTarget, getPoolTarget, getReadOnlyRolePrincipalMap, getRolePrincipalMap, setRolePrincipalMapMethods inherited from class wt.team._WTRoleHolder2
getCategory, readVersion, setCategory, super_readExternal_WTRoleHolder2, super_readVersion_WTRoleHolder2, super_writeExternal_WTRoleHolder2Methods inherited from class wt.fc.WTObject
checkAttributes, duplicate, getDisplayIdentifier, getDisplayIdentity, getDisplayType, toStringMethods inherited from class wt.fc._WTObject
equals, getCreateTimestamp, getModifyTimestamp, getPersistInfo, hashCode, readVersion, setPersistInfoMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface wt.fc._Persistable
getPersistInfo, setPersistInfoMethods inherited from interface wt.fc.Persistable
checkAttributes
-
Method Details
-
getRoles
Answer an enumeration of roles in the rolePrincipalMap
Supported API: true- Specified by:
getRolesin interfaceRoleHolder2- Overrides:
getRolesin classWTRoleHolder2- Returns:
- Vector
- Throws:
WTException
-
getAllPrincipalsForTarget
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
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
Returns all the members of a container team.
Supported API: true- Overrides:
getMembersin classWTRoleHolder2- Returns:
- Vector
- Throws:
WTException
-