Interface IUser

  • All Known Implementing Classes:
    UserInfo

    public interface IUser
    Repository User object
    Author:
    rmansoor
    • Method Detail

      • setLogin

        void setLogin​(String login)
        Set the login for the user
        Parameters:
        login -
      • getLogin

        String getLogin()
        Get the login for a the user
        Returns:
        user login
      • setPassword

        void setPassword​(String password)
        Set the password for the
        Parameters:
        password -
      • getPassword

        String getPassword()
        Get the password for the user
        Returns:
        user password
      • setUsername

        void setUsername​(String username)
        Set the user name for the user
        Parameters:
        username -
      • getUsername

        String getUsername()
        Get the user name for the user
        Returns:
        user name
      • setDescription

        void setDescription​(String description)
        Set the description of the user
        Parameters:
        description -
      • getDescription

        String getDescription()
        Get the user's description
        Returns:
        user description
      • setEnabled

        void setEnabled​(boolean enabled)
        Make the user enabled or disabled
        Parameters:
        enabled -
      • isEnabled

        boolean isEnabled()
        Check if the user is enabled or not
        Returns:
        the enabled
      • getObjectId

        org.pentaho.di.repository.ObjectId getObjectId()
        Get the object id
        Returns:
        Object Id
      • setObjectId

        void setObjectId​(org.pentaho.di.repository.ObjectId id)
        Set the object id of this user
        Parameters:
        object - id
      • getName

        String getName()
        The name of the user maps to the login id
        Returns:
        name
      • setName

        void setName​(String name)
        Set the name of the user.
        Parameters:
        name - The name of the user maps to the login id.
      • isAdmin

        default Boolean isAdmin()
        Check if the user is admin or not
        Returns:
        admin
      • setAdmin

        default void setAdmin​(Boolean admin)
        Make the user admin or not
        Parameters:
        admin -