Interface User

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

    public interface User
    extends BonitaObject
    Represents a user inside the organization.
    Since:
    6.0.0
    Author:
    Yanyan Liu, Matthieu Chaffotte, Celine Souchet
    See Also:
    "org.bonitasoft.engine.api.UserAPI"
    • Method Detail

      • getId

        long getId()
        Returns:
        The identifier of the user
      • getFirstName

        String getFirstName()
        Returns:
        The user's firstname
      • getLastName

        String getLastName()
        Returns:
        The user's lastname
      • getUserName

        String getUserName()
        Returns:
        The user's username
      • getTitle

        String getTitle()
        Returns:
        The user's title
      • getJobTitle

        String getJobTitle()
        Returns:
        The user's job title
      • getCreationDate

        Date getCreationDate()
        Returns:
        The user's creation date
      • getCreatedBy

        long getCreatedBy()
        Returns:
        The user's id that created the user
      • getLastUpdate

        Date getLastUpdate()
        Returns:
        The user's last update date
      • getLastConnection

        Date getLastConnection()
        Returns:
        The user's last connection date
      • getManagerUserId

        long getManagerUserId()
        Returns:
        The user's manager id
      • isEnabled

        boolean isEnabled()
        Returns:
        true if the user is enabled
      • getIconId

        Long getIconId()
        Returns:
        the id of the icon used as avatar