Interface IRole

All Superinterfaces:
IElement, IProtocolSupport, ISearchSupport, Serializable
All Known Subinterfaces:
IOperatorRole, IProfile

@Deprecated public interface IRole extends IElement, ISearchSupport, IProtocolSupport
Deprecated.
: use IOperatorRole or IProfile
This class allows to associate either groups or users to ITask objects.
Since:
1.0, 15/04/2008
Author:
vlygeros
See Also:
  • Method Details

    • getName

      String getName()
      Deprecated.
      Gets the name of the role.
      Returns:
      a String object.
    • getLabel

      String getLabel()
      Deprecated.
      Gets the label of the role.
      Returns:
      a String object.
    • getLabel

      String getLabel(String language)
      Deprecated.
      Gets the label of the role.
      Returns:
      a String object.
    • getDescription

      String getDescription()
      Deprecated.
      Returns:
      The description of the role
    • getCatalog

      ICatalog getCatalog()
      Deprecated.
      The catalog of the role.
    • getGroups

      Collection<? extends IGroup> getGroups()
      Deprecated.
      Gets the groups of the role.
      Returns:
      A collection of IGroup objects.
    • getMembers

      Collection<? extends IUser> getMembers()
      Deprecated.
      Gets the members of the role.
      Returns:
      A collection of IUser objects.
    • getAllMembers

      Collection<? extends IUser> getAllMembers()
      Deprecated.
      Gets all the members of the roles recursively.
      Returns:
      A collection of IUser objects.
    • addMember

      void addMember(IUser user)
      Deprecated.
      Sets a user as member of a group.
      Parameters:
      user - The user to add to the group.
    • addChild

      @Deprecated void addChild(IGroup group)
      Deprecated.
      use addGroup
      Adds a child IGroup.
      Parameters:
      group - The child group to add.
    • addGroup

      void addGroup(IGroup group)
      Deprecated.
      Adds a group IGroup.
      Parameters:
      group - The child group to add.
    • addMembers

      void addMembers(Collection<? extends IUser> members)
      Deprecated.
      Adds members as a collection of IUser objects.
      Parameters:
      members - The users to add.
    • addChildren

      @Deprecated void addChildren(Collection<? extends IGroup> children)
      Deprecated.
      use addGroups
      Adds children as a collection of IGroup objects.
      Parameters:
      children - The children to add.
    • addGroups

      void addGroups(Collection<? extends IGroup> groups)
      Deprecated.
      Adds groups as a collection of IGroup objects.
      Parameters:
      groups - The groups to add.