Interface Role

  • All Superinterfaces:
    BonitaObject, Serializable
    All Known Implementing Classes:
    RoleImpl

    public interface Role
    extends BonitaObject
    Represents a role inside the organization.
    Since:
    6.0.0
    Author:
    Yanyan Liu, Matthieu Chaffotte
    See Also:
    "org.bonitasoft.engine.api.RoleAPI"
    • Method Detail

      • getId

        long getId()
        Returns:
        the role id
      • getName

        String getName()
        Returns:
        the role's name
      • getDisplayName

        String getDisplayName()
        Returns:
        the role's name to display
      • getDescription

        String getDescription()
        Returns:
        the role's description
      • getIconId

        Long getIconId()
        Returns:
        the icon id of the role or null if there is no icon
      • getCreatedBy

        long getCreatedBy()
        Returns:
        the id of the user that created the role
      • getCreationDate

        Date getCreationDate()
        Returns:
        the role's creation's date
      • getLastUpdate

        Date getLastUpdate()
        Returns:
        the role's last update date