Package wt.team

Class WTActorRoleHolder2

java.lang.Object
wt.fc._WTObject
wt.fc.WTObject
wt.team._WTRoleHolder2
wt.team.WTRoleHolder2
wt.team._WTActorRoleHolder2
wt.team.WTActorRoleHolder2
All Implemented Interfaces:
Externalizable, Serializable, wt.fc._NetFactor, wt.fc._ObjectMappable, wt.fc._Persistable, NetFactor, ObjectMappable, Persistable, DisplayIdentification, wt.team.ActorRoleHolder2, RoleHolder2
Direct Known Subclasses:
wt.team._TeamTemplate, wt.team._WTIndirectRoleHolder2

@GenAsPersistable(superClass=WTRoleHolder2.class, interfaces=wt.team.ActorRoleHolder2.class, versions=284354647396368686L) public abstract class WTActorRoleHolder2 extends wt.team._WTActorRoleHolder2


Supported API: true

Extendable: false
See Also:
  • Method Details

    • getActorRoleTarget

      public Enumeration getActorRoleTarget(Role leftRole) throws WTException
      Answer an enumeration of the actor roles associated with a given role.

      Supported API: true
      Parameters:
      leftRole - the role object which is the key used to retrieve all the associated actor roles
      Returns:
      Enumeration
      Throws:
      WTException
    • getRoles

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

      Supported API: true
      Specified by:
      getRoles in interface wt.team.ActorRoleHolder2
      Specified by:
      getRoles in interface RoleHolder2
      Overrides:
      getRoles in class WTRoleHolder2
      Returns:
      Vector
      Throws:
      WTException
    • deleteRole

      public void deleteRole(Role role) throws WTException
      Remove the role and all associated principals and actor roles from the rolePrincipalMap and the roleActorRoleMap

      Supported API: true
      Specified by:
      deleteRole in interface wt.team.ActorRoleHolder2
      Specified by:
      deleteRole in interface RoleHolder2
      Overrides:
      deleteRole in class WTRoleHolder2
      Parameters:
      role -
      Throws:
      WTException