Interface IUserSubstitute


  • public interface IUserSubstitute
    A substitute defines a user which substitutes an other user for a certain role or personally
    Since:
    17.05.2006
    API:
    This is a public API.
    • Method Detail

      • getId

        long getId()
        Gets the user substitute identifier
        Returns:
        user substitute identifier
        API:
        This public API is available in IvyScript and Java. It has the visibility EXPERT.
      • getSubstituteUser

        IUser getSubstituteUser()
        Gets the substitute user
        Returns:
        substitute user
        Throws:
        PersistencyException - if persistency access fails
        API:
        This public API is available in IvyScript and Java. It has the visibility ADVANCED.
      • getSubstitutionRole

        IRole getSubstitutionRole()
        Gets the substitution role
        Returns:
        substitution role
        Throws:
        PersistencyException - if persistency access fails
        API:
        This public API is available in IvyScript and Java. It has the visibility ADVANCED.
      • isPersonallyOnly

        boolean isPersonallyOnly()
        Returns true if the substitution is personally only
        Returns:
        true if personally only, otherwise false
        Throws:
        PersistencyException - if persistency access fails
        API:
        This public API is available in IvyScript and Java. It has the visibility ADVANCED.
      • getDescription

        String getDescription()
        Gets the description of the substitute
        Returns:
        description
        Throws:
        PersistencyException - if persistency access fails
        API:
        This public API is available in IvyScript and Java. It has the visibility ADVANCED.
      • getUser

        IUser getUser()
        Gets the user the substitute belongs to
        Returns:
        user
        Throws:
        PersistencyException - if persistency access fails
        API:
        This public API is available in IvyScript and Java. It has the visibility ADVANCED.