java.lang.Object
org.apache.sling.feature.cpconverter.accesscontrol.User

public class User extends Object
  • Constructor Details

    • 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 Details

    • 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
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object