Class GroupRootDirWrapper


  • public final class GroupRootDirWrapper
    extends java.lang.Object
    Wraps a url for a group given a group id.
    • Constructor Detail

      • GroupRootDirWrapper

        public GroupRootDirWrapper​(Directory rootDir)
    • Method Detail

      • getGroupId

        public long getGroupId()
        The id of the group.
        Returns:
        group id
      • getRootDirId

        public long getRootDirId()
        The id of the group's root directory.
        Returns:
        root directory id
      • getRootDirUrl

        public java.lang.String getRootDirUrl()
        Gets the root directory url.
        Returns:
        the relative url of the group's root directory.
      • getRootDir

        public Directory getRootDir()
        The root directory.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object