Class User


  • public class User
    extends Object
    • Constructor Detail

      • User

        public User​(@NotNull
                    @NotNull String id,
                    @NotNull
                    @NotNull RepoPath path,
                    @NotNull
                    @NotNull RepoPath intermediatePath)
        Parameters:
        id - - the authorizableId to use.
        path - - the original repository path of the user in the content-package.
        intermediatePath - - the intermediate path the user should have - most likely the (direct) parent of the path.
      • User

        public User​(@NotNull
                    @NotNull String id,
                    @NotNull
                    @NotNull RepoPath path,
                    @NotNull
                    @NotNull RepoPath intermediatePath,
                    @Nullable
                    @Nullable String disabledReason)
        Parameters:
        id - - the authorizableId to use.
        path - - the original repository path of the user in the content-package.
        intermediatePath - - the intermediate path the user should have - most likely the (direct) parent of the path.
        disabledReason - - the reason why this user has been disabled or null.
    • Method Detail

      • getId

        @NotNull
        public @NotNull String getId()
      • getPath

        @NotNull
        public @NotNull RepoPath getPath()
      • getIntermediatePath

        @NotNull
        public @NotNull RepoPath getIntermediatePath()
      • getDisabledReason

        @Nullable
        public @Nullable String getDisabledReason()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object